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


In This Topic
    Get_Type_of_Board Method
    In This Topic
    Get_Type_of_Board is a Function that returns a value representing the Type of Board (FUTEK Model Number) of the USB Device.
    Syntax
    'Declaration
     
    
    Public Function Get_Type_of_Board( _
       ByVal DeviceHandle As IntPtr _
    ) As String
    'Usage
     
    
    Dim instance As USB_DLL
    Dim DeviceHandle As IntPtr
    Dim value As String
     
    value = instance.Get_Type_of_Board(DeviceHandle)
    public string Get_Type_of_Board( 
       IntPtr DeviceHandle
    )

    Parameters

    DeviceHandle

    Return Value

    If successful, The Return Value will be:

    Return Value = (00H); The Type of Board is "USB100"

    Return Value = (01H); The Type of Board is "USB110"

    Return Value = (02H); The Type of Board is "USB210"

    Return Value = (03H); The Type of Board is "USB220"

    Return Value = (04H); The Type of Board is "USB230"

    Return Value = (05H to FFH); The Type of Board is an "Unknown Type of Board"

    If Unsuccessful, the Return Value will be:

    Return Value = "Error"; An Error occured when attempting to Get_Type_of_Board

    Requirements

    Target Platforms: Windows 10, Windows 11

    Target Framework: .NET Framework 4.8 or later

    See Also