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 GetTimeOffset(
void) {
return toffset; };
89 void SetTimeOffset(
int to) { toffset = to; };
91 int GetRun(
void) {
return run; };
92 void SetRun(
int r) { run = r; };
94 void SetTriggerLevel(
double tl) { triggerlv = tl; };
96 void SetVMax(
float vm) { vmax = vm; };
98 void SetRT(
double rt) { Rt = rt; };
99 double GetRT(
void) {
return Rt; };
101 void SetDT(
double dt) { Dt = dt; };
102 double GetDT(
void) {
return Dt; };
104 void Setxz(
double xz_) { xz = xz_; };
105 double Getxz(
void) {
return xz; };
109 void SetBaseTimer(
void);
111 void WritePreferences(
void);
112 void ReadPreferences(
char* name,
char* value);
114 std::vector<std::string> WritePreferencesList(
void);
115 void ReadPreferencesList(std::vector<std::string>& pl);
117 static int WindowCmd(
const int id,
const char* ControlName,
const PICSimLabWindowAction action,
const char* Value,
118 void* ReturnBuff = NULL);
120 int (*OnWindowCmd)(
const int id,
const char* ControlName,
const PICSimLabWindowAction action,
const char* Value,
132 double databuffer[2][2][NPOINTS];