Instrument Control Lib
Framework to control Oscilloscopes, SMUs, Function Generators and DC Powersupplies via Ethernet.
|
#include <string>
Go to the source code of this file.
Classes | |
struct | CLICommandStruct |
Macros | |
#define | STARTUP_TEXT "Instrument control lib command line..." << std::endl << "Type 'help' to get a list of available commands" << std::endl; |
#define | PROMPT_SYMBOL "$ " |
#define | RESPONSE_INVALID_COMMAND " Command not found. Type 'help' to get list of available commands." << std::endl; |
#define | MESSAGE_EXIT_CLI "Exit command line interface"; |
#define | HELP_MESSAGE_INDENTATION 10 |
#define | TIMEOUT_IN_MS 2000 |
Enumerations | |
enum | CLI_Commands { CLI_HELP , CLI_CONNECT , CLI_DISCONNECT , CLI_SUPPORTED_DEVICES , CLI_ACTIVE_DEVICES , CLI_SELECT_DEVICE , CLI_SEND_CUSTOM_COMMAND , CLI_GET_DEVICE_IDENTITY , CLI_QUIT , CLI_COMMAND_NOT_FOUND , CUSTOM_COMMAND1 } |
#define HELP_MESSAGE_INDENTATION 10 |
Defines the indentation for the help message
#define MESSAGE_EXIT_CLI "Exit command line interface"; |
Message when exiting the CLI. E.g. when pressing CTRL + C.
#define PROMPT_SYMBOL "$ " |
Prompt symbol which should be displayed.
#define RESPONSE_INVALID_COMMAND " Command not found. Type 'help' to get list of available commands." << std::endl; |
Response message when invalid command was passed.
#define STARTUP_TEXT "Instrument control lib command line..." << std::endl << "Type 'help' to get a list of available commands" << std::endl; |
Text shown when starting the command line interface.
#define TIMEOUT_IN_MS 2000 |
enum CLI_Commands |