![]() |
THM1176InstrumentDriver
1.0
C++ API for Metrolab THM1176
|
This C++ Application Programming Interface (API) controls a Metrolab magnetometer in the Three-axis Hall Magnetometer THM1176 family (including the Three-axis Fluxgate Magnetometer TFM1186), either via a USBTMC driver accessed by the VISA library (CVISAInstrument) or via a libusb-based USBTMC instrument driver (CUSBTMCInstrument). It provides access to the entire functionality of the THM1176 SCPI command set, as documented in "Three-Axis Magnetometers: THM1176 and TFM1186 User's Manual".
Any of the test cases will serve as an example. The simplest functional test case is CTHM1176ConnectTest, which simply connects and disconnects from the instrument. When reading the test code, note that the first steps of Using the API are handled by the test setup method.