![]() |
THM1176InstrumentDriver
1.0
C++ API for Metrolab THM1176
|
Utility functions used to test IEEE488Instrument API. More...
#include "IEEE488Instrument.h"
Go to the source code of this file.
Functions | |
bool | FetchIEEE4888Resource (IEEE4888_TEST_RESOURCE_MANAGER_CLASS &rResourceManager, tResourceName &rInstrumentName) |
Open a connection to the Resource Manager and find an IEEE488Instrument. More... | |
bool | ConnectToIEEE488Instrument (IEEE4888_TEST_RESOURCE_MANAGER_CLASS *&rpResourceManager, IEEE4888_TEST_INSTRUMENT_CLASS *&rpIEEE488Instrument) |
Connect to an IEEE488Instrument. More... | |
bool | CheckIDNResponse (const CSCPIBuffer &rBuffer) |
Sanity-check of the response to an *IDN? query. More... | |
Utility functions used to test IEEE488Instrument API.
Definition in file IEEE488InstrumentTest.h.
bool CheckIDNResponse | ( | const CSCPIBuffer & | rBuffer | ) |
Sanity-check of the response to an *IDN? query.
[in] | rBuffer | Response to *IDN? query. |
Definition at line 70 of file IEEE488InstrumentTest.cpp.
bool ConnectToIEEE488Instrument | ( | IEEE4888_TEST_RESOURCE_MANAGER_CLASS *& | rpResourceManager, |
IEEE4888_TEST_INSTRUMENT_CLASS *& | rpIEEE488Instrument | ||
) |
Connect to an IEEE488Instrument.
Start Resource Manager, call FetchIEEE4888Resource, create IEEE488Instrument object, and connect to IEEE488Instrument.
[out] | rpResourceManager | Pointer to Resource Manager object. |
[out] | rpIEEE488Instrument | Pointer to IEEE488Instrument object. |
Definition at line 40 of file IEEE488InstrumentTest.cpp.
bool FetchIEEE4888Resource | ( | IEEE4888_TEST_RESOURCE_MANAGER_CLASS & | rResourceManager, |
tResourceName & | rInstrumentName | ||
) |
Open a connection to the Resource Manager and find an IEEE488Instrument.
[in] | rResourceManager | Resource Manager |
[out] | rInstrumentName | Resource Name of first IEEE488Instrument found |
Definition at line 14 of file IEEE488InstrumentTest.cpp.