FUTEK .NET API Documentation
FUTEK_USB_DLL Assembly / FUTEK_USB_DLL Namespace / USB_DLL Class / Get_Polarity Method


In This Topic
    Get_Polarity Method
    In This Topic
    Get_Polarity is a Function that returns a value representing the Polarity of the Device.
    Syntax
    'Declaration
     
    
    Public Function Get_Polarity( _
       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_Polarity(DeviceHandle, ChannelNumber)
    public string Get_Polarity( 
       IntPtr DeviceHandle,
       byte ChannelNumber
    )

    Parameters

    DeviceHandle
    ChannelNumber

    Return Value

    If successful, The Return Value will be:

    Return Value = Number between 0 and 255;

    If Unsuccessful, the Return Value will be:

    Return Value = "Error"; An Error occured when attempting to Get_Polarity

    Requirements

    Target Platforms: Windows 10, Windows 11

    Target Framework: .NET Framework 4.8 or later

    See Also