FUTEK .NET API Documentation
FUTEK_USB_DLL Assembly / FUTEK_USB_DLL Namespace / USB_DLL Class / Set_TEDS_Error_Detection Method
Type: System.IntPtr
The handle associated with the USB device.
Type: System.Byte
The TEDS error detection associated with the USB device.
The value must be between 0 and 1.
Type: System.Byte
The channel number associated with the USB device.


In This Topic
    Set_TEDS_Error_Detection Method
    In This Topic
    Warning: The use of this function can affect the factory calibration of the USB device.
    Sets the TEDS error detection stored in the EEPROM of the microcontroller.
    Syntax
    'Declaration
     
    
    Public Function Set_TEDS_Error_Detection( _
       ByVal DeviceHandle As IntPtr, _
       ByVal TEDSErrorDetection As Byte, _
       Optional ByVal channelNumber As Byte _
    ) As String
    'Usage
     
    
    Dim instance As USB_DLL
    Dim DeviceHandle As IntPtr
    Dim TEDSErrorDetection As Byte
    Dim channelNumber As Byte
    Dim value As String
     
    value = instance.Set_TEDS_Error_Detection(DeviceHandle, TEDSErrorDetection, channelNumber)
    public string Set_TEDS_Error_Detection( 
       IntPtr DeviceHandle,
       byte TEDSErrorDetection,
       byte channelNumber
    )

    Parameters

    DeviceHandle
    Type: System.IntPtr
    The handle associated with the USB device.
    TEDSErrorDetection
    Type: System.Byte
    The TEDS error detection associated with the USB device.
    The value must be between 0 and 1.
    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 TEDSErrorDetection is a value indicating...
    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