'Declaration
Public Function Write_Channel_Register( _ ByVal DeviceHandle As IntPtr, _ ByVal ChannelNumber As Byte, _ ByVal Address As Byte, _ ByVal Data As Byte _ ) As String
'Usage
Dim instance As USB_DLL Dim DeviceHandle As IntPtr Dim ChannelNumber As Byte Dim Address As Byte Dim Data As Byte Dim value As String value = instance.Write_Channel_Register(DeviceHandle, ChannelNumber, Address, Data)
public string Write_Channel_Register( IntPtr DeviceHandle, byte ChannelNumber, byte Address, byte Data )
Parameters
- DeviceHandle
- Type: System.IntPtr
The handle associated with the USB device. - ChannelNumber
- Type: System.Byte
The channel number associated with the USB device. - Address
- Type: System.Byte
The address associated with the channel register. - Data
- Type: System.Byte
The data associated with the channel register.
Return Value
Type: System.String
A value equal to 0; otherwise Error
A value equal to 0; otherwise Error