gccDppConsole Test C++ SDK
20170920
DPP C++ Console Demonstration
|
Go to the source code of this file.
Defines | |
#define | Sleep(x) usleep((x)*1000) |
#define | _getch getchar |
#define | CLEAR_TERM "clear" |
Functions | |
void | ConnectToDefaultDPP () |
void | GetDppStatus () |
void | ReadDppConfigurationFromHardware (bool bDisplayCfg) |
void | DisplayPresets () |
void | SendPresetAcquisitionTime (string strPRET) |
void | AcquireSpectrum () |
void | ReadConfigFile () |
bool | SendCommandString (string strCMD) |
std::string | ShortenCfgCmds (std::string strCfgIn) |
bool | SendConfigFileToDpp (string strFilename) |
void | CloseConnection () |
void | SaveSpectrumConfig () |
void | SaveSpectrumFile () |
int | main (int argc, char *argv[]) |
Variables | |
CConsoleHelper | chdpp |
bool | bRunSpectrumTest = false |
bool | bRunConfigurationTest = false |
bool | bHaveStatusResponse = false |
bool | bHaveConfigFromHW = false |
#define _getch getchar |
Definition at line 16 of file gccDppConsole.cpp.
#define CLEAR_TERM "clear" |
Definition at line 17 of file gccDppConsole.cpp.
#define Sleep | ( | x | ) | usleep((x)*1000) |
Definition at line 15 of file gccDppConsole.cpp.
void AcquireSpectrum | ( | ) |
Definition at line 150 of file gccDppConsole.cpp.
void CloseConnection | ( | ) |
Definition at line 286 of file gccDppConsole.cpp.
void ConnectToDefaultDPP | ( | ) |
Definition at line 28 of file gccDppConsole.cpp.
void DisplayPresets | ( | ) |
void GetDppStatus | ( | ) |
Definition at line 48 of file gccDppConsole.cpp.
int main | ( | int | argc, |
char * | argv[] | ||
) |
void ReadConfigFile | ( | ) |
Definition at line 192 of file gccDppConsole.cpp.
void ReadDppConfigurationFromHardware | ( | bool | bDisplayCfg | ) |
Definition at line 79 of file gccDppConsole.cpp.
void SaveSpectrumConfig | ( | ) |
Definition at line 297 of file gccDppConsole.cpp.
void SaveSpectrumFile | ( | ) |
Definition at line 306 of file gccDppConsole.cpp.
bool SendCommandString | ( | string | strCMD | ) |
Definition at line 207 of file gccDppConsole.cpp.
bool SendConfigFileToDpp | ( | string | strFilename | ) |
void SendPresetAcquisitionTime | ( | string | strPRET | ) |
Definition at line 127 of file gccDppConsole.cpp.
std::string ShortenCfgCmds | ( | std::string | strCfgIn | ) |
Definition at line 221 of file gccDppConsole.cpp.
bool bHaveConfigFromHW = false |
Definition at line 24 of file gccDppConsole.cpp.
bool bHaveStatusResponse = false |
Definition at line 23 of file gccDppConsole.cpp.
bool bRunConfigurationTest = false |
Definition at line 22 of file gccDppConsole.cpp.
bool bRunSpectrumTest = false |
Definition at line 21 of file gccDppConsole.cpp.
Definition at line 20 of file gccDppConsole.cpp.