Function GetDeviceList

TMSi Data Acquisition SDK

 
TMS International BV

GetDeviceList

const char** APIENTRY GetDeviceList( 
HANDLE Handle,
int *NrOfFrontEnds)

Parameters

Handle
   
Handle of the library
NrOfFrontEnds
   
Number of found frontends

    

Return Value

If successful this function returns an array of NrOfFrontEnds strings that contain connection identifiers. If the function return NULL, no frontends are found, and use GetErrorCode to get the error code.

Comments

The array must be freed using FreeDeviceList.

For Bluetooth devices to show up in the list, they must be paired before this function is called.

For WLAN devices to show up in the list, they must be a point-to-point connection configured before this function is called. 

For USB devices to show up in the list, they must be connected before this function is called. For any connected USB device, the sampling is stopped.

Also see

Start, SetSignalBuffer