From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

i need to make a progress bar that will show progress per sequence in vb operator interface.


is someone please tell me how to do this or how to start?
0 Kudos
Message 1 of 2
(3,583 Views)
Avi-

I am guessing that you are wanting the progress bar in your operator interface to update after each sequence executes? One way that you might do this is to post a UI message at the end of each sequence that your operator interface then processes to update its progress bar. You can do this in your sequences by using the ActiveX adapter as an action step to call the Thread.PostUIMessage method of the TestStand API. You can then either post one of the built in UI messages for updating progress percent or you can post your own custom UI message. Your operator interface will then process this message each time it is posted from within your sequence so that it updates a progress complete bar. For more information on UI messages see the ActiveX API help reference
that comes with TestStand. Hope this helps give you some ideas at least.

Regards,

Richard McDonell
Applications Engineer
National Instruments Corp.
www.ni.com/ask
0 Kudos
Message 2 of 2
(3,583 Views)