FUTEK .NET API Documentation
FUTEK_USB_DLL Assembly / FUTEK_USB_DLL Namespace / USB_DLL Class / Set_Loading_Point Method
Type: System.IntPtr
The handle associated with the USB device.
Type: System.Int32
The calibration loading point associated with the USB device.
The value must be between 0 and 19 (certain models may have fewer loading points).
Type: System.Byte
The channel number associated with the USB device.


In This Topic
    Set_Loading_Point Method
    In This Topic
    Warning: The use of this function can affect the factory calibration of the USB device.
    Sets the analog-to-digital converter (ADC) value associated with the calibration loading point stored in the EEPROM of the microcontroller.
    Syntax
    'Declaration
     
    
    Public Function Set_Loading_Point( _
       ByVal DeviceHandle As IntPtr, _
       ByVal LoadingPoint As Integer, _
       Optional ByVal ChannelNumber As Byte _
    ) As String
    'Usage
     
    
    Dim instance As USB_DLL
    Dim DeviceHandle As IntPtr
    Dim LoadingPoint As Integer
    Dim ChannelNumber As Byte
    Dim value As String
     
    value = instance.Set_Loading_Point(DeviceHandle, LoadingPoint, ChannelNumber)
    public string Set_Loading_Point( 
       IntPtr DeviceHandle,
       int LoadingPoint,
       byte ChannelNumber
    )

    Parameters

    DeviceHandle
    Type: System.IntPtr
    The handle associated with the USB device.
    LoadingPoint
    Type: System.Int32
    The calibration loading point associated with the USB device.
    The value must be between 0 and 19 (certain models may have fewer loading points).
    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
    This function should be used when applying a physical load to the sensor for the purpose of performing a live system calibration of the sensor and the USB device.
    Requirements

    Target Platforms: Windows 10, Windows 11

    Target Framework: .NET Framework 4.8 or later

    See Also

    Reference

    USB_DLL Class
    USB_DLL Members

    Related

    CalibrationOverview
    LoadingPointCodes
    Get_Loading_Point Method