FUTEK .NET API Documentation
FUTEK_USB_DLL Assembly / FUTEK_USB_DLL Namespace / USB_DLL Class / Get_Active_Sound Method
Type: System.IntPtr
The handle associated with the USB device.
Type: System.Byte
The channel number associated with the USB device.


In This Topic
    Get_Active_Sound Method
    In This Topic
    Gets the active sound stored in the EEPROM of the microcontroller.
    Syntax
    'Declaration
     
    
    Public Function Get_Active_Sound( _
       ByVal deviceHandle As IntPtr, _
       Optional ByVal channelNumber As Byte _
    ) As String
    'Usage
     
    
    Dim instance As USB_DLL
    Dim deviceHandle As IntPtr
    Dim channelNumber As Byte
    Dim value As String
     
    value = instance.Get_Active_Sound(deviceHandle, channelNumber)
    public string Get_Active_Sound( 
       IntPtr deviceHandle,
       byte channelNumber
    )

    Parameters

    deviceHandle
    Type: System.IntPtr
    The handle associated with the USB device.
    channelNumber
    Type: System.Byte
    The channel number associated with the USB device.

    Return Value

    Type: System.String
    A value between 0 and 1; otherwise Error
    Remarks
    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