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


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

    Requirements

    Target Platforms: Windows 10, Windows 11

    Target Framework: .NET Framework 4.8 or later

    See Also