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


In This Topic
    Get_Shunt_Value Method
    In This Topic
    Get_Shunt_Value is a Function that returns a value representing the Absolute Shunt Value of the USB Device.
    Syntax
    'Declaration
     
    
    Public Function Get_Shunt_Value( _
       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_Shunt_Value(DeviceHandle, ChannelNumber)
    public string Get_Shunt_Value( 
       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_Shunt_Value

    Requirements

    Target Platforms: Windows 10, Windows 11

    Target Framework: .NET Framework 4.8 or later

    See Also