Delay

From SweepMe! Wiki
Revision as of 15:40, 10 May 2019 by Afischer (talk | contribs) (Created page with "Version: 1.5.3.x Delay is a module that can introduce a waiting time between two measurement points. You can adjust the delay time by double-clicking the module in the sequen...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Version: 1.5.3.x

Delay is a module that can introduce a waiting time between two measurement points. You can adjust the delay time by double-clicking the module in the sequencer. SweepMe! will make sure that at least the given delay time is waited for before the next measurement point starts. If the delay time has already been passed since the last measurement point, no further delay time will be applied. Thus, Delay ensures that the next measurement point starts after the given delay time since the last measurement pointed but not less than it.

Example

If you use a delay of 1 s and your measurement device needs 200 ms to take a measurement, then SweepMe! will wait for 800 ms before the next measurment point is started. If your measurement device needs 900 ms to measure, SweepMe! will just wait 100 ms and if your measurement device needs more than 1 s, SweepMe! will not add any wait time.

Applications

  • You like to send data to a server every 15 s but the sensors you are reading need a varying time to collect the data
  • You would like to ramp a voltage with a given time interval, e.g. 100 mV per second. If your measurement device needs e.g. 50 ms to measure you can add a delay of 100 ms and you can make sure that every 100 ms the voltage is changed.