







![]() ![]() |
Beta Innovations USB SDK Wrapper Library for .NET/COM v2.0.0.0 reference library |
BIUSB..::.WriteDisplayOutput Method |
BIUSB Class See Also Send Feedback |
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.
Namespace:
BIUSBWrapper
Assembly:
BIUSBWrapper (in BIUSBWrapper.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function WriteDisplayOutput ( _ ByRef iDeviceList As DeviceParam, _ inPort As Byte, _ iDataBuffer As Byte(), _ inLevel As Byte _ ) As Integer |
C# |
---|
public static int WriteDisplayOutput( ref DeviceParam iDeviceList, byte inPort, byte[] iDataBuffer, byte inLevel ) |
Parameters
- iDeviceList
- Type:
BIUSBWrapper..::.DeviceParam
%
A DeviceParam structure. Must contain valid device information returned from call to DetectHID.
- inPort
- Type: System..::.Byte
Zero based index of output Port to write to.
- iDataBuffer
- Type: array<
System..::.Byte
>[]()[]
Character array. Maximum number of display characters is 7, however, decimals do not count as character spaces. Supported display characters are limited to ASCII characters "0" to "9" , "." , "-" and blank space (nullNothingnullptra null reference (Nothing in Visual Basic)).
- inLevel
- Type: System..::.Byte
Output level range from 0 to 10. This value sets the pulse width of the multiplexed display output controlling intensity.
Return Value
0: If failure writing to device.>0: if success, returns number of bytes written to device.