NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

display loop count

I have a simple loop that does the following.

for(i=0;i<20;i++){
   wait 1 minute;
   Check chamber temperature;
}

I want to be able to display the current interation so the technician can monitor progress and verify nothing has hung.  I haven't been able to think of a clean way to do it.  Any recommendations?
0 Kudos
Message 1 of 13
(4,730 Views)

Hi,

Is this something you want to be called from a TestStand sequence?

What language are you doing the displaying the chamber temperature?

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 2 of 13
(4,726 Views)

It will be called from TestStand.  I was hoping to use something built into TS, but I can also do something in LabView.

0 Kudos
Message 3 of 13
(4,722 Views)
Hi,
 
What about sending a UI-Message to the Progessbar ?
 
Greetings
 
Juergen
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 4 of 13
(4,719 Views)

Hey Bolinger,

Hopefully Ray doesn't object to me jumping in here with some other questions. 

Let me see if I understand you correctly.  You want some piece of code to run asynchronously of your executing sequence that will monitor a temperature chamber?  Then you want to update a display somewhere that shows what the last temperature reading is?  So...

Where do you want it to display the temperatures?  (i.e. the Operator Interface, the report, a different window somewhere, a website)

What is your setup for the temp chamber?  In other words, how do you communicate with the temp chamber?  Through it's drivers? Accross ethernet?  etc..  This is key in determining if you can call it directly from TS or not.  Either way you will most likely have to have a LV VI to get the info from your device into TS.

There is a step that calls VIs asynchronously.  When you go to insert a step you Right Click >> Insert Step >> LabVIEW Utility >> Run VI Asynchronously.  Look in the TS help for info on this step.  Or if you have any questions about it reply back.

Regards,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 5 of 13
(4,718 Views)

Hi jigg,

No you jump awaySmiley Very Happy

Always interested in reading other peoples' ideas.

To Bolinger,

have a look at the BatchUUT example in TestStand, there maybe a VI you could use.

Regards

Ray

Regards
Ray Farmer
0 Kudos
Message 6 of 13
(4,711 Views)
j_dodek - Can you send it in 3.5 format?  Sorry, I haven't had time (or need) to upgrade, yet.  Ray and jiggawax - I willlook into your suggestions, too.  Thanks.
0 Kudos
Message 7 of 13
(4,708 Views)

jiggawax - I have a working LV VI that reads/sets the chamber temperature via VISA.  The the read temperature and for loop counter are both local variables.  What I would like to display is the temperature and the for loop counter.  Sorry for the confusion.

0 Kudos
Message 8 of 13
(4,700 Views)
where do you want to display them at?  In the Operator Interface?  Or just on the front panel of the VI? 
jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 9 of 13
(4,698 Views)
In the OI.
0 Kudos
Message 10 of 13
(4,695 Views)