- Timestamp:
- 04/15/09 14:41:51 (16 years ago)
- Location:
- tools/ddd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/ddd/Functions.cpp
r32 r34 122 122 GetButton->setEnabled(false); 123 123 WaitForData = true; 124 125 Socket->write("stop\n"); 126 Socket->flush(); 127 usleep(10000); 128 sprintf(Command, "read %d %d %d", BoardNo->value(), ChannelNo->value()/10, ChannelNo->value()%10); 124 sprintf(Command, "read %d %d %d restart", BoardNo->value(), ChannelNo->value()/10, ChannelNo->value()%10); 129 125 Socket->write(Command); 130 126 } … … 228 224 delete[] x; delete[] y; 229 225 230 Socket->write("start\n"); Socket->flush();231 226 if(ContinuousBox->isChecked()) { 232 227 usleep(100000); // Wait to limit maximum update rate -
tools/ddd/GUI.cpp
r29 r34 100 100 Signal = new QwtPlotCurve; 101 101 Signal->attach(Graph); 102 Signal->setStyle(QwtPlotCurve::Steps); 102 103 103 104 // Text boxes for run and event header
Note:
See TracChangeset
for help on using the changeset viewer.