62 void SetBoard(
board* b) { pboard = b; };
64 void NextMeasure(
int mn);
66 int GetMeasures(
int mn);
68 void SetMeasure(
int nm,
int value);
70 int GetUseTrigger(
void) {
return usetrigger; };
71 void SetUseTrigger(
int utg) { usetrigger = utg; };
73 int GetTriggerChannel(
void) {
return tch; };
74 void SetTriggerChannel(
int tc) { tch = tc; };
76 double* GetChannel(
int cn) {
return ch[cn]; };
78 void CalculateStats(
int channel);
79 void ClearStats(
int channel);
81 ch_status_t GetChannelStatus(
int cn) {
return ch_status[cn]; };
83 int GetUpdate(
void) {
return update; };
84 void SetUpdate(
int up) { update = up; };
86 void SetChannelPin(
int ch,
int pin) { chpin[ch] = pin; };
88 int GetSampleOffset(
void) {
return soffset; };
90 void SetTimeScaleAndOffset(
float tscale_,
float toffset_);
92 int GetRun(
void) {
return run; };
93 void SetRun(
int r) { run = r; };
95 void SetTriggerLevel(
double tl) { triggerlv = tl; };
97 void SetVMax(
float vm) { vmax = vm; };
99 double GetRT(
void) {
return Rt; };
100 double GetDT(
void) {
return Dt; };
101 double Getxz(
void) {
return xz; };
105 void SetBaseTimer(
void);
107 void WritePreferences(
void);
108 void ReadPreferences(
char* name,
char* value);
110 std::vector<std::string> WritePreferencesList(
void);
111 void ReadPreferencesList(std::vector<std::string>& pl);
113 static int WindowCmd(
const int id,
const char* ControlName,
const PICSimLabWindowAction action,
const char* Value,
114 void* ReturnBuff = NULL);
116 int (*OnWindowCmd)(
const int id,
const char* ControlName,
const PICSimLabWindowAction action,
const char* Value,
128 double databuffer[2][2][NPOINTS];