gccDppConsole Test C++ SDK  1.0.0.0
DPP C++ Console Demonstration
Defines | Functions | Variables
gccDppConsole.cpp File Reference
#include <iostream>
#include "ConsoleHelper.h"
#include "stringex.h"
#include <unistd.h>
Include dependency graph for gccDppConsole.cpp:

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 ()
void CloseConnection ()
int main (int argc, char *argv[])

Variables

CConsoleHelper chdpp
bool bRunSpectrumTest = false
bool bRunConfigurationTest = false
bool bHaveStatusResponse = false
bool bHaveConfigFromHW = false

Define Documentation

#define _getch   getchar

Definition at line 18 of file gccDppConsole.cpp.

#define CLEAR_TERM   "clear"

Definition at line 19 of file gccDppConsole.cpp.

#define Sleep (   x)    usleep((x)*1000)

Definition at line 17 of file gccDppConsole.cpp.


Function Documentation

void AcquireSpectrum ( )

Definition at line 152 of file gccDppConsole.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void CloseConnection ( )

Definition at line 207 of file gccDppConsole.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 30 of file gccDppConsole.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void DisplayPresets ( )

Definition at line 116 of file gccDppConsole.cpp.

Here is the caller graph for this function:

void GetDppStatus ( )

Definition at line 50 of file gccDppConsole.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

int main ( int  argc,
char *  argv[] 
)

Definition at line 217 of file gccDppConsole.cpp.

Here is the call graph for this function:

void ReadConfigFile ( )

Definition at line 194 of file gccDppConsole.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ReadDppConfigurationFromHardware ( bool  bDisplayCfg)

Definition at line 81 of file gccDppConsole.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void SendPresetAcquisitionTime ( string  strPRET)

Definition at line 129 of file gccDppConsole.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

bool bHaveConfigFromHW = false

Definition at line 26 of file gccDppConsole.cpp.

bool bHaveStatusResponse = false

Definition at line 25 of file gccDppConsole.cpp.

bool bRunConfigurationTest = false

Definition at line 24 of file gccDppConsole.cpp.

bool bRunSpectrumTest = false

Definition at line 23 of file gccDppConsole.cpp.

Definition at line 22 of file gccDppConsole.cpp.