NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Condition to leave an action step

Hi,

 

I want to leave an Action step when I reach a particular temperature.

I set the temperature in this Action Step to 35 °C.

As well I want to read the temperature of the climatic chamber (before this Action step I gave the "reading temperature" to a variable).

First I want to what as Long as the reading temperature is 35 degrees or lower.

How can I realise that?  Pre-Expression? Post-Expression? Status Expression? Post Action?

 

Kind Regards,

Andi

0 Kudos
Message 1 of 3
(2,309 Views)

I would think that looping would be your best option here.  If you are not limited to a single step it might be wise to use the flow control while loop step.

 

In your Loop While Expression just set something like this: Locals.CurrentTemp <= 35

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 3
(2,298 Views)

very good, thanks a lot!

0 Kudos
Message 3 of 3
(2,279 Views)