Functions

TMSi Data Acquisition SDK

 
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:


  1. LibraryInit() to initialize the SDK library for the chosen communication interface
  2. GetDeviceList() to get a list of connected frontends
  3. Open() to open the communication path with the chosen frontend
  4. FreeDeviceList()  to free the device list given by GetDeviceList
  5. SetRtcTime() (optional): if the frontend has an internal clock and you want to set this clock
  6. GetSignalFormat() to get channel information
  7. SetSignalBuffer() to get the maximum sample rate and the recommended buffer size for the maximum sample rate
  8. SetSignalBuffer() to set the desired sample rate and the desired buffer size for that sample rate
  9. Start() to start sampling
  10. GetSamples() to get the samples. Call GetSamples repeatedly until Stop is called.
  11. Stop() to stop sampling. Optional you can start again at 9) or 8)
  12. Close() to stop the communication path with the chosen frontend. Optional you can start again at 3) or 2)
  13. LibraryExit() to exit the library.




Impedance is not available on all frontends, so check the manual of the frontend.