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


In This Topic
    Read_Channel_Register Method
    In This Topic
    Reads from the microcontroller's channel register.
    Syntax
    'Declaration
     
    
    Public Function Read_Channel_Register( _
       ByVal DeviceHandle As IntPtr, _
       ByVal ChannelNumber As Byte, _
       ByVal Address As Byte _
    ) As String
    'Usage
     
    
    Dim instance As USB_DLL
    Dim DeviceHandle As IntPtr
    Dim ChannelNumber As Byte
    Dim Address As Byte
    Dim value As String
     
    value = instance.Read_Channel_Register(DeviceHandle, ChannelNumber, Address)
    public string Read_Channel_Register( 
       IntPtr DeviceHandle,
       byte ChannelNumber,
       byte Address
    )

    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.

    Return Value

    Type: System.String
    A value between to 0 and 255; otherwise Error
    Remarks
    Requirements

    Target Platforms: Windows 10, Windows 11

    Target Framework: .NET Framework 4.8 or later

    See Also