'Declaration
Public Function Set_Digital_Components( _ ByVal DeviceHandle As IntPtr, _ ByVal SwitchNumber As Byte, _ ByVal HighByte As Byte, _ ByVal LowByte As Byte, _ Optional ByVal ChannelNumber As Byte _ ) As String
'Usage
Dim instance As USB_DLL Dim DeviceHandle As IntPtr Dim SwitchNumber As Byte Dim HighByte As Byte Dim LowByte As Byte Dim ChannelNumber As Byte Dim value As String value = instance.Set_Digital_Components(DeviceHandle, SwitchNumber, HighByte, LowByte, ChannelNumber)
public string Set_Digital_Components( IntPtr DeviceHandle, byte SwitchNumber, byte HighByte, byte LowByte, byte ChannelNumber )
Parameters
- DeviceHandle
- Type: System.IntPtr
The handle associated with the USB device. - SwitchNumber
- Type: System.Byte
The switch number associated with the USB device. - HighByte
- Type: System.Byte
The high byte of data to assign the digital component. - LowByte
- Type: System.Byte
The low byte of data to assign the digital component. - ChannelNumber
- Type: System.Byte
The channel number associated with the USB device.
Return Value
Type: System.String
A value equal to 0; otherwise Error
A value equal to 0; otherwise Error