GET library
GETSystemUtils.cpp File Reference
#include "GETSystemUtils.hh"

Functions

int GETReadSamples (GETSystem &get, const string &filename, u_short info)
 
int GETReadSamples (GETSystem &get, FILE *fptr, u_short info)
 
int GETWriteSamples (GETSystem &get, const string &filename, u_short info)
 
int GETWriteSamples (GETSystem &get, FILE *fptr, u_short info)
 

Detailed Description

Source file for functions related to the GETSystem.

Function Documentation

int GETReadSamples ( GETSystem get,
const string &  filename,
u_short  info 
)

Read the samples of all channels from a file. The function returns 0 if no error occured.

Parameters
getGET system object
filenamename of the file
infosamples to be saved: GET::signalOut (default) GET::signalTst or GET::signalRec

References GETReadSamples().

Referenced by GETReadSamples().

int GETReadSamples ( GETSystem get,
FILE *  fptr,
u_short  info 
)

Read the samples of all channels from a file. The function returns 0 if no error occured.

Parameters
getGET system object
fptrfile pointer
infosamples to be saved: GET::signalOut (default) GET::signalTst or GET::signalRec

References GET::signalRec, and GET::signalTst.

int GETWriteSamples ( GETSystem get,
const string &  filename,
u_short  info 
)

Write the samples of all channels in a file. The function returns 0 if no error occured.

Parameters
getGET system object
filenamename of the file
infosamples to be saved: GET::signalOut (default) GET::signalTst or GET::signalRec

References GETWriteSamples().

Referenced by GETWriteSamples().

int GETWriteSamples ( GETSystem get,
FILE *  fptr,
u_short  info 
)

Write the samples of all channels in a file. The function returns 0 if no error occured.

Parameters
getGET system object
fptrfile pointer
infosamples to be saved: GET::signalOut (default) GET::signalTst or GET::signalRec

References GET::signalRec, and GET::signalTst.