THM1176InstrumentManager  1.0
Qt Object abstraction for Metrolab THM1176
TestVISAInstrument.h
Go to the documentation of this file.
1 // Copyright (c) 2020 Metrolab Technology S.A., Geneva, Switzerland (www.metrolab.com)
2 // See the included file LICENSE.txt for the licensing conditions.
3 
7 
8 #pragma once
9 
10 // Qt includes
11 #include <QtTest/QtTest>
12 
13 // Personal includes
14 #include "VISAInstrument"
15 
16 using namespace MTL::Instrument;
17 
19 class TestVISAInstrument : public QObject
20 {
21  Q_OBJECT
22 
23 private:
25 
26 private slots:
27  // Mandatory
28  void initTestCase();
29  void cleanupTestCase();
30 
31  // Resource manager tests
32  void FindResources();
33  void FindResourcesWithFilter();
34  void ResourceInfo();
35 
36  // VISA instrument basic communication
37  void QueryIDN();
38 };
TestVISAInstrument
Test the VISAInstrument class.
Definition: TestVISAInstrument.h:20
MTL::Instrument
Definition: THM1176.h:75
MTL::Instrument::CVISAResourceManager
VISA Resource Manager class.
Definition: VISAInstrument.h:40