LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Initializing a test cycle after vi execution has begun.

Hello,

 

I need some help determining how to initialize a test cycle after vi execution has begun.  I have four set points that need to be reached (at 25C, 235C, 275C, and 325C) yet the test cycle may start after the run button has been pressed.  For example, I need to ramp up the temperature for a transducer from ambient 25C to 235C (over an hour), soak for an hour, then ramp from 235C to 275 (over an hour), soak for an hour, lastly - ramp from 275C to 325C (over an hour) then soak for an hour.  How could I achieve this say - three minutes after the run button has been pressed?  Any help will be appreciated. thx,

TimeElapsed.PNG

0 Kudos
Message 1 of 2
(2,056 Views)

Hi Newton,

 

you should consider a state machine approach. You really should...

 

Possible states: wait, ramp, soak…

 

What's the purpose of the attached pictures?

Waht's the purpose of the "1 iteration"-FOR-loop? If it only iterates once you don't need a loop...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,010 Views)