FUTEK .NET API Documentation
FUTEK_USB_DLL Assembly / FUTEK_USB_DLL Namespace / USB_DLL Class / Get_Enabled_Channels Method
Type: System.IntPtr
The handle associated with the USB device.
Type: System.Byte
The channel number associated with the USB device.


In This Topic
    Get_Enabled_Channels Method
    In This Topic
    Gets the enabled channels stored in the EEPROM of the microcontroller.
    Syntax
    'Declaration
     
    
    Public Function Get_Enabled_Channels( _
       ByVal deviceHandle As IntPtr, _
       Optional ByVal channelNumber As Byte _
    ) As String
    'Usage
     
    
    Dim instance As USB_DLL
    Dim deviceHandle As IntPtr
    Dim channelNumber As Byte
    Dim value As String
     
    value = instance.Get_Enabled_Channels(deviceHandle, channelNumber)
    public string Get_Enabled_Channels( 
       IntPtr deviceHandle,
       byte channelNumber
    )

    Parameters

    deviceHandle
    Type: System.IntPtr
    The handle associated with the USB device.
    channelNumber
    Type: System.Byte
    The channel number associated with the USB device.

    Return Value

    Type: System.String
    A value between 0 and 15; otherwise Error
    Remarks
    Frameworks
    Product Versions
    .NET net8.0
    .NET Framework net48
    See Also