FUTEK .NET API Documentation
FUTEK_USB_DLL Assembly / FUTEK_USB_DLL Namespace / USB_DLL Class / Open_Device_Connection Method
Type: System.String
The serial number associated with the USB device.


In This Topic
    Open_Device_Connection Method
    In This Topic
    Opens a connection with the USB device using the serial number assigned in the EEPROM of the USB FIFO IC and assigns a value to the DeviceHandle and DeviceStatus.
    The DeviceHandle will be required for subsequent use with many of the other commands.
    Syntax
    'Declaration
     
    
    Public Sub Open_Device_Connection( _
       ByVal SerialNumber As String _
    ) 
    'Usage
     
    
    Dim instance As USB_DLL
    Dim SerialNumber As String
     
    instance.Open_Device_Connection(SerialNumber)
    public void Open_Device_Connection( 
       string SerialNumber
    )

    Parameters

    SerialNumber
    Type: System.String
    The serial number associated with the USB device.
    Remarks
    The SerialNumber of the USB device will most likely be one of two values:
    1. The serial number that is engraved on the USB device
    2. The serial number that is engraved on the sensor mated with the USB device during a system calibration
    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

    HowToFindSerialNumber
    DeviceStatusCodes
    Close_Device_Connection Method