BIUSB Methods

Beta Innovations USB SDK .NET/COM

The BIUSB type exposes the following members.

Methods

  NameDescription
ClearLCD
Sends a command to clear contents of the LCD screen. This function can be used on modules supporting character based LCDs.
CloseDevices
Releases all detected modules, cancels all pending threads and frees all used memory blocks. This call should be made on program exit and prior to any calls to the DetectHID function in order to refresh the device list.
CmdGLCD
Sends specified command iCmd to a graphic LCD on the port specified by inPort. This function can be used on modules supporting graphic based LCDs.
DetectDevice
DetectHID
Detects all compatible vendor specific USB HID devices. Should be the first function called prior to all other calls or to refresh the device list.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
ReadInputData
A non-blocking call which returns input data. The first call to this function initiates a request for input data from the specified module as indicated by the DeviceParam structure and immediately returns form the function. This prevents the main calling application from locking while the module is being polled. The return flag indicate the current status of the request.
RetrieveStatus
Returns the configuration status of all IO ports found on the module. Can be used to verify if ports are active before reading or writing to them. This function is typically called after DetectHID.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Write7Segment
Writes contents of iData to a single 7-segment display on the device specified by iDeviceList. This function can be used on modules supporting a 7-segment display and a single indicator output typically used for a shift light.
WriteCRTRWR
Writes contents of iRWRBuffer to the port specified by inPort configured for CRTRWR mode.
WriteDAC
Writes contents of iDataBuffer to the 8-bit DACs on the port specified by inPort. This function can be used on modules supporting 8-bit DACs.
WriteDirectOutput
Writes contents of iDataBuffer to the output pins on the port specified by inPort. This function can be used on modules supporting direct outputs.
WriteDisplayOutput
Writes contents of iDataBuffer to the 7-segment display on the port specified by inPort. This function can be used on modules supporting 7 x 7- segment displays.
WriteDotMatrix
Writes contents of iDataBuffer to 4 OSRAM type dot matrix displays on the port specified by inPort.
WriteGLCD
Writes contents of iDataBuffer to the graphic LCD located on the port specified by inPort at the line number indicated by inLine. This function can be used on modules supporting graphical based LCDs.
WriteLatchedOutput
Writes contents of iDataBuffer to the port specified by inPort configured for latched output mode.
WriteLCD
Writes contents of iDataBuffer to the LCD specified by inLCD at the line number indicated by inLine. This function can be used on modules supporting character based LCDs.
WriteMuxOutput
Writes contents of iDataBuffer to the multiplexed output pins on the port specified by inPort. This function can be used on modules supporting multiplexed outputs.
WriteSPIDAC
Writes contents of iDataBuffer to SPI compatible peripherals or DACs on the port specified by inPort. This function can be used on modules supporting either DACs or SPI ports.

See Also