Hello all,
I'm creating VI that will gather data from a series of thermocouples and outputing that data to a graph as well as to a spreadsheet file.
The sampling rate for each channel needs to be independent and variable. That is, they want to increase the sampling rate to 1/sec during temperature transitions, and then 1/10minutes (for example) when saturated.
I was going to use a menu ring for the user to select the sampling rate (1 second to 15 minutes, with 7 different rates in between) and then, using a case statement, select the value of how long the 'wait (ms)' should wait in each loop.
This kind of works with one major problem. If the user currently has the sampling rate set to 15 minutes, th
en wants to switch it to 1 second, it can take up to 14:59 for the 'wait(ms)' to finish waiting on the 15 minute wait before it switches to the faster sampling rate.
Is there a way to stop a 'wait(ms)' in the middle of its wait cycle? Or is there a better way of doing this?
Thanks in advance for your help.
Dave Neumann
d.neumann@astronautics.com