







![]() ![]() |
Beta Innovations USB SDK Wrapper Library for .NET/COM v2.0.0.0 reference library |
BIUSB..::.WriteDotMatrix Method |
BIUSB Class See Also Send Feedback |
Writes contents of iDataBuffer to 4 OSRAM type dot matrix displays on the port specified by inPort.
Namespace:
BIUSBWrapper
Assembly:
BIUSBWrapper (in BIUSBWrapper.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function WriteDotMatrix ( _ ByRef iDeviceList As DeviceParam, _ inPort As Byte, _ iDataBuffer As Byte(), _ inLevel As Byte _ ) As Integer |
C# |
---|
public static int WriteDotMatrix( 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
>[]()[]
16-byte character array. Maximum number of display characters is 4 per display (4 displays max per port). Supported display characters are limited to ASCII values (0-255). Refer to manufacturer's ASCII table for symbol defines.
- inLevel
- Type: System..::.Byte
Output level range from 0 to 10. This value sets the pulse width of the dot matrix display controlling intensity.
Return Value
0: If failure writing to device.>0: if success, returns number of bytes written to device.