 |
THM1176InstrumentDriver
1.0
C++ API for Metrolab THM1176
|
Go to the documentation of this file.
12 #if (INSTRUMENT_TYPE_IS_VISA)
13 #define IEEE4888_TEST_RESOURCE_MANAGER_CLASS CVISAResourceManager
14 #define IEEE4888_TEST_INSTRUMENT_CLASS CVISAInstrument
15 #define IEEE4888_TEST_RESOURCE_FILTER "USB[0-9]*::0x1BFA::0x0498::[0-9]+::INSTR"
17 #elif (INSTRUMENT_TYPE_IS_USBTMC)
18 #define IEEE4888_TEST_RESOURCE_MANAGER_CLASS CUSBTMCResourceManager
19 #define IEEE4888_TEST_INSTRUMENT_CLASS CUSBTMCInstrument
20 #define IEEE4888_TEST_RESOURCE_FILTER "7162:1176"
23 #error "One of TEST_INSTRUMENT_TYPE_IS_VISA or ..._USBTMC must be defined"
40 bool ConnectToIEEE488Instrument (IEEE4888_TEST_RESOURCE_MANAGER_CLASS * & rpResourceManager, IEEE4888_TEST_INSTRUMENT_CLASS * & rpIEEE488Instrument);
bool CheckIDNResponse(const CSCPIBuffer &rBuffer)
Sanity-check of the response to an *IDN? query.
bool FetchIEEE4888Resource(IEEE4888_TEST_RESOURCE_MANAGER_CLASS &rResourceManager, tResourceName &rInstrumentName)
Open a connection to the Resource Manager and find an IEEE488Instrument.
Abstract IEEE488 instrument class: interface definition.
bool ConnectToIEEE488Instrument(IEEE4888_TEST_RESOURCE_MANAGER_CLASS *&rpResourceManager, IEEE4888_TEST_INSTRUMENT_CLASS *&rpIEEE488Instrument)
Connect to an IEEE488Instrument.
USBTMC driver based on libusb: interface definition.
std::string tResourceName
IEEE488 resource name.
C++ wrapper for NI-VISA: interface definition.