







![]() ![]() |
Beta Innovations USB SDK Wrapper Library for .NET/COM v2.0.0.0 reference library |
BIUSB..::.WriteCRTRWR Method |
BIUSB Class See Also Send Feedback |
Writes contents of iRWRBuffer to the port specified by inPort configured for CRTRWR mode.
Namespace:
BIUSBWrapper
Assembly:
BIUSBWrapper (in BIUSBWrapper.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function WriteCRTRWR ( _ ByRef iDeviceList As DeviceParam, _ inPort As Byte, _ inContacts As Byte, _ inSymbolCnt As Byte, _ inContactIndex As Byte, _ iRWRBuffer As CRTRWR_OUTPUT() _ ) As Integer |
C# |
---|
public static int WriteCRTRWR( ref DeviceParam iDeviceList, byte inPort, byte inContacts, byte inSymbolCnt, byte inContactIndex, CRTRWR_OUTPUT[] iRWRBuffer ) |
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.
- inContacts
- Type: System..::.Byte
Total number of contacts to display on screen. This value is typically same as inSymbolCnt.
- inSymbolCnt
- Type: System..::.Byte
Number of symbols stored in iRWRBuffer.
- inContactIndex
- Type: System..::.Byte
index within iRWRBuffer of the first symbol.
- iRWRBuffer
- Type: array<
BIUSBWrapper..::.CRTRWR_OUTPUT
>[]()[]
Array of CRTRWR_OUTPUT structures.
Return Value
0: If failure writing to device.> 0: if success, returns number of bytes written to device.