![]() |
THM1176InstrumentDriver
1.0
C++ API for Metrolab THM1176
|
Test IEEE488 Instrument: Open, Close, IsOpen methods. More...
Go to the source code of this file.
Classes | |
class | IEEE488InstrumentOpenCloseLockTest |
Functions | |
static void | l_OpenLoopQueryClose (IEEE4888_TEST_RESOURCE_MANAGER_CLASS *pResourceManager, std::string InstrumentName, U32 NSeconds, std::promise< bool > &rSucceeded, std::promise< U32 > &rNLoopsPerformed) |
Utility function to be run in a separate thread: open an instrument, do an *IDN?, wait a while and then close. More... | |
static void | l_OpenLockWaitClose (IEEE4888_TEST_RESOURCE_MANAGER_CLASS *pResourceManager, std::string InstrumentName, U32 NSeconds, std::promise< bool > &rSucceeded) |
Utility function to be run in a separate thread: keep an instrument locked for a while. More... | |
TEST_F (IEEE488InstrumentOpenCloseLockTest, OpenClose) | |
Test Instrument object creation/destruction, Open, Close, Status, StatusDescription. More... | |
TEST_F (IEEE488InstrumentOpenCloseLockTest, OpenCloseTwice) | |
Test Instrument object creation/destruction, Open, Close, Status, StatusDescription. More... | |
TEST_F (IEEE488InstrumentOpenCloseLockTest, ShareInstrument) | |
Test two threads sharing an instrument. More... | |
TEST_F (IEEE488InstrumentOpenCloseLockTest, LockWhenAlreadyLocked) | |
TEST_F (IEEE488InstrumentOpenCloseLockTest, LockAfterWait) | |
Variables | |
static const U32 | IEEE488_TEST_DURATION = 5 |
Test IEEE488 Instrument: Open, Close, IsOpen methods.
Definition in file IEEE488InstrumentOpenCloseTest.h.
|
static |
Utility function to be run in a separate thread: keep an instrument locked for a while.
Definition at line 96 of file IEEE488InstrumentOpenCloseTest.h.
|
static |
Utility function to be run in a separate thread: open an instrument, do an *IDN?, wait a while and then close.
Definition at line 42 of file IEEE488InstrumentOpenCloseTest.h.
TEST_F | ( | IEEE488InstrumentOpenCloseLockTest | , |
LockAfterWait | |||
) |
Definition at line 319 of file IEEE488InstrumentOpenCloseTest.h.
TEST_F | ( | IEEE488InstrumentOpenCloseLockTest | , |
LockWhenAlreadyLocked | |||
) |
Definition at line 283 of file IEEE488InstrumentOpenCloseTest.h.
TEST_F | ( | IEEE488InstrumentOpenCloseLockTest | , |
OpenClose | |||
) |
Test Instrument object creation/destruction, Open, Close, Status, StatusDescription.
Definition at line 136 of file IEEE488InstrumentOpenCloseTest.h.
TEST_F | ( | IEEE488InstrumentOpenCloseLockTest | , |
OpenCloseTwice | |||
) |
Test Instrument object creation/destruction, Open, Close, Status, StatusDescription.
Definition at line 171 of file IEEE488InstrumentOpenCloseTest.h.
TEST_F | ( | IEEE488InstrumentOpenCloseLockTest | , |
ShareInstrument | |||
) |
Test two threads sharing an instrument.
Definition at line 228 of file IEEE488InstrumentOpenCloseTest.h.
|
static |
Definition at line 37 of file IEEE488InstrumentOpenCloseTest.h.