Delay: Difference between revisions

From SweepMe! Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


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.
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.
Delay is basically used to make sure that measurement points are equally spaced in time.


=== Example ===
=== 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.
If you use a delay of 1 s and your instrument needs 200 ms to take a measurement, then Delay will wait for 800 ms before the next measurement point is started. If your instrument needs 900 ms to measure, Delay will just wait 100 ms and if your instrument needs more than 1 s, Delay will not add any wait time.


=== Applications ===
=== 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 like to send data to a server every 15 s but the sensors you are reading out have 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.
* 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.
   
   

Revision as of 23:05, 19 January 2020

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.

Delay is basically used to make sure that measurement points are equally spaced in time.

Example

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

Applications

  • You like to send data to a server every 15 s but the sensors you are reading out have 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.