![]() |
THM1176InstrumentManager 1.2
Qt Object abstraction for Metrolab THM1176
|
Utilities to aid in sending SCPI commands and parsing of SCPI reponses. More...
#include <cstdlib>#include <string>#include <vector>#include <regex>#include <stdexcept>

Go to the source code of this file.
Namespaces | |
| namespace | MTL |
| namespace | MTL::SCPI |
Macros | |
| #define | SCPIParsing_UNUSED_VAR(x) |
Typedefs | |
| typedef std::vector< unsigned char > | MTL::SCPI::tChannel |
| SCPI channel | |
| typedef std::vector< tChannel > | MTL::SCPI::tChannelList |
| SCPI channel list | |
Functions | |
| template<class iterator_type> | |
| bool | MTL::SCPI::IsArbitraryBlock (const iterator_type first, const iterator_type last, size_t &rStartOffset, size_t &rLength) |
| Find arbitrary-block data within a buffer. | |
| void | MTL::SCPI::ToArbitraryBlock (const std::string &rStr, std::string &rArbitraryBlock, bool InfiniteFormat=false) |
| Package data as an arbitrary block. | |
| template<class iterator_type> | |
| void | MTL::SCPI::FromStringChannelList (iterator_type first, iterator_type last, tChannelList &rChannelList) |
| Decode channel list string. | |
| void | MTL::SCPI::ToStringChannelList (const tChannelList &rChannelList, std::string &rStr) |
| Encode channel list string. | |
| void | MTL::SCPI::FromBinaryChannelList (const char *pBinaryChanList, size_t Len, tChannelList &rChannelList) |
| Decode binary channel list. | |
| void | MTL::SCPI::ToBinaryChannelList (const tChannelList &rChannelList, std::vector< char > &rBinaryChanList) |
| Encode binary channel list. | |
| void | MTL::SCPI::SplitString (const std::string &rStr, std::vector< std::string > &rStrings, char Sep) |
| Split a string into substrings separated by a given character. | |
Utilities to aid in sending SCPI commands and parsing of SCPI reponses.
Definition in file SCPIParsing.h.
| #define SCPIParsing_UNUSED_VAR | ( | x | ) |
Definition at line 23 of file SCPIParsing.h.