11-08-2021 12:16 PM
Hello,
In the VI code attached, how to execute the case structure after every 10secs time lapse. In the example given below, I would like to access the "True" case 6 times (60 secs/10).
Or if there is an alternate way to access the case structure once every 10 secs?
Thanks!
11-08-2021 01:00 PM
Hi hiNI,
@hiNI wrote:
In the VI code attached, how to execute the case structure after every 10secs time lapse. In the example given below, I would like to access the "True" case 6 times (60 secs/10).
Or if there is an alternate way to access the case structure once every 10 secs?
Which of those 3 case structures in your image do you want to execute with a 10s interval?
Generic adivce:
11-08-2021 01:05 PM
Hello,
The case structure, "Take data" should be where the time lapse data should execute.
For you first suggestion, do I need then to add a "count" input to increment up to 100 each time?
Thanks.
11-08-2021 01:29 PM - edited 11-08-2021 01:30 PM
Hi hiNI,
@hiNI wrote:
The case structure, "Take data" should be where the time lapse data should execute.
You already use some sort of ElapsedTime function, so you should use it correctly:
Why is the TimeTarget set to "1" when you want to execute the case after 10s?
@hiNI wrote:
For you first suggestion, do I need then to add a "count" input to increment up to 100 each time?
Well, yes.
11-09-2021 08:22 AM
Hello GerdW,
In the "Take Data" case, I wait for 1 minute in that case before going to another state. I should have labeled that state "Wait". However, in the "Wait" case, I wanted to just enter into that enclosed case every 10 secs (in reality, to capture a reading from an instrument).
With this in mind, I do not think I can get your solution to work.
I accept all responsibility of not clarifying explicitly the requirements. My sincerest apologies!
Thanks!