Changeset 34 for tools


Ignore:
Timestamp:
04/15/09 14:41:51 (16 years ago)
Author:
ogrimm
Message:
Slight change in graphics display
Location:
tools/ddd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tools/ddd/Functions.cpp

    r32 r34  
    122122  GetButton->setEnabled(false);
    123123  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);
    129125  Socket->write(Command);
    130126}
     
    228224    delete[] x;   delete[] y;
    229225
    230     Socket->write("start\n");   Socket->flush();
    231226    if(ContinuousBox->isChecked()) {
    232227      usleep(100000);   // Wait to limit maximum update rate
  • tools/ddd/GUI.cpp

    r29 r34  
    100100  Signal = new QwtPlotCurve;
    101101  Signal->attach(Graph);
     102  Signal->setStyle(QwtPlotCurve::Steps);
    102103     
    103104  // Text boxes for run and event header
Note: See TracChangeset for help on using the changeset viewer.