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]; };
85 void SetUpdate(
int up) { update = up; };
87 void SetChannelPin(
int ch_,
int pin) { chpin[ch_] = pin; };
89 int GetSampleOffset(
void) {
return soffset; };
91 void SetTimeScaleAndOffset(
float tscale_,
float toffset_);
93 int GetRun(
void) {
return run; };
94 void SetRun(
int r) { run = r; };
96 void SetSingle(
int s) { single = s; };
98 void SetTriggerLevel(
double tl) { triggerlv = tl; };
100 void SetVMax(
float vm) { vmax = vm; };
102 double GetRT(
void) {
return Rt; };
103 double GetDT(
void) {
return Dt; };
104 double Getxz(
void) {
return xz; };
108 void UpdatePinList(
void);
110 void SetBaseTimer(
void);
112 void WritePreferences(
void);
113 void ReadPreferences(
char* name,
char* value);
115 std::vector<std::string> WritePreferencesList(
void);
116 void ReadPreferencesList(std::vector<std::string>& pl);
118 static int WindowCmd(
const int id,
const char* ControlName,
const PICSimLabWindowAction action,
const char* Value,
119 void* ReturnBuff = NULL);
121 int (*OnWindowCmd)(
const int id,
const char* ControlName,
const PICSimLabWindowAction action,
const char* Value,
133 double databuffer[2][2][NPOINTS];