TMS International BV |
Functions
The following functions are exported by TMSiSDK.DLL.
To get channel information and sample data from the frontend, it is
necessary to call several functions in a specific order:
- LibraryInit() to initialize the SDK library for the chosen
communication interface
- GetDeviceList() to get a list of connected frontends
- Open() to open the communication path with the chosen frontend
- FreeDeviceList() to free the device list given by
GetDeviceList
- SetRtcTime() (optional): if the frontend has an internal clock
and you
want to set this clock
- GetSignalFormat() to get channel information
- SetSignalBuffer() to get the maximum sample rate and the recommended buffer size for the maximum sample rate
- SetSignalBuffer() to set the desired sample rate and the desired
buffer size for that sample rate
- Start() to start sampling
- GetSamples() to get the samples. Call GetSamples repeatedly until
Stop is called.
- Stop() to stop sampling. Optional you can start again at 9) or 8)
- Close() to stop the communication path with the chosen frontend. Optional you can start again at 3) or 2)
- LibraryExit() to exit the library.
Impedance is not available on all frontends, so check the manual of the frontend.