PICSimLab - Programmable IC Simulator Laboratory 0.9.2
PICSimLab - API
Loading...
Searching...
No Matches
COscilloscope Class Reference
Collaboration diagram for COscilloscope:

Public Member Functions

void Init (void)
 
void SetSample (void)
 Sample and update oscilloscope data aquisition.
 
void SetBoard (board *b)
 
void NextMeasure (int mn)
 
int GetMeasures (int mn)
 
void SetMeasure (int nm, int value)
 
int GetUseTrigger (void)
 
void SetUseTrigger (int utg)
 
int GetTriggerChannel (void)
 
void SetTriggerChannel (int tc)
 
double * GetChannel (int cn)
 
void CalculateStats (int channel)
 
void ClearStats (int channel)
 
ch_status_t GetChannelStatus (int cn)
 
int GetUpdate (void)
 
void SetUpdate (int up)
 
void SetChannelPin (int ch, int pin)
 
int GetSampleOffset (void)
 
void SetTimeScaleAndOffset (float tscale_, float toffset_)
 
int GetRun (void)
 
void SetRun (int r)
 
void SetTriggerLevel (double tl)
 
void SetVMax (float vm)
 
double GetRT (void)
 
double GetDT (void)
 
double Getxz (void)
 
void Reset (void)
 
void SetBaseTimer (void)
 
void WritePreferences (void)
 
void ReadPreferences (char *name, char *value)
 
std::vector< std::string > WritePreferencesList (void)
 
void ReadPreferencesList (std::vector< std::string > &pl)
 

Static Public Member Functions

static int WindowCmd (const int id, const char *ControlName, const PICSimLabWindowAction action, const char *Value, void *ReturnBuff=NULL)
 

Public Attributes

int(* OnWindowCmd )(const int id, const char *ControlName, const PICSimLabWindowAction action, const char *Value, void *ReturnBuff)
 

Private Attributes

boardpboard
 
double Dt
 
double Rt
 
int usetrigger
 
double triggerlv
 
int tch
 
int soffset
 
int chpin [2]
 
double databuffer [2][2][NPOINTS]
 
int fp
 
double * ch [2]
 
ch_status_t ch_status [2]
 
double pins_ [2]
 
int is
 
double t
 
int tr
 
int run
 
int update
 
int measures [5]
 
float vmax
 
double xz
 
float tscale
 
float toffset
 

The documentation for this class was generated from the following files: