FUTEK .NET API Documentation
FUTEK_USB_DLL Assembly / FUTEK_USB_DLL Namespace / USB_DLL Class / Set_Bridge_Resistance Method
Type: System.IntPtr
The handle associated with the USB device.
The nominal bridge resistance associated with the USB device.
The value must be between 0 and 3.
Type: System.Byte
The channel number associated with the USB device.


In This Topic
    Set_Bridge_Resistance Method
    In This Topic
    Warning: The use of this function can affect the factory calibration of the USB device.
    Sets the nominal bridge resistance value stored in the EEPROM of the microcontroller.
    Syntax
    'Declaration
     
    
    Public Function Set_Bridge_Resistance( _
       ByVal DeviceHandle As IntPtr, _
       ByVal BridgeResistance As Integer, _
       Optional ByVal ChannelNumber As Byte _
    ) As String
    'Usage
     
    
    Dim instance As USB_DLL
    Dim DeviceHandle As IntPtr
    Dim BridgeResistance As Integer
    Dim ChannelNumber As Byte
    Dim value As String
     
    value = instance.Set_Bridge_Resistance(DeviceHandle, BridgeResistance, ChannelNumber)
    public string Set_Bridge_Resistance( 
       IntPtr DeviceHandle,
       int BridgeResistance,
       byte ChannelNumber
    )

    Parameters

    DeviceHandle
    Type: System.IntPtr
    The handle associated with the USB device.
    BridgeResistance
    The nominal bridge resistance associated with the USB device.
    The value must be between 0 and 3.
    ChannelNumber
    Type: System.Byte
    The channel number associated with the USB device.

    Return Value

    Type: System.String
    A value equal to 0; otherwise Error
    Remarks
    The BridgeResistance is a nominal value that represents the sensor's bridge resistance expressed in ohms (Ω).
    It is for reference only and does not affect the calibration of the USB device.
    Requirements

    Target Platforms: Windows 10, Windows 11

    Target Framework: .NET Framework 4.8 or later

    See Also