'Declaration
Public Function Set_Enabled_Channels( _ ByVal DeviceHandle As IntPtr, _ ByVal enabledChannels As Byte, _ Optional ByVal channelNumber As Byte _ ) As String
'Usage
Dim instance As USB_DLL Dim DeviceHandle As IntPtr Dim enabledChannels As Byte Dim channelNumber As Byte Dim value As String value = instance.Set_Enabled_Channels(DeviceHandle, enabledChannels, channelNumber)
public string Set_Enabled_Channels( IntPtr DeviceHandle, byte enabledChannels, byte channelNumber )
Parameters
- DeviceHandle
- Type: System.IntPtr
The handle associated with the USB device. - enabledChannels
- Type: System.Byte
The enabled channels associated with the USB device.
The value must be between 0 and 1. - 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