NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

View testStand execution into labview

Solved!
Go to solution

Hi everyone,

 

I'd like to customize TestStand execution View or make something similar into LabVIEW. (Best way would be getting the info TestStand uses to build this view)

 

The reason I don't wanna use TestStand Execution VIew is there is too much info for some clients and I just wanna display few infos.

 

What would be the best way to programatically retrieve those information?

 

I tried to use invoke nodes to customize the Execution view but it seems like it doesn't work at run time nor do I have acces to everything I need.

 

Best regards,

 

Roderic

 

ps: I'm particularly interested in getting step name, and status, and getting the arrow location if possible

Rodéric L
Certified LabVIEW Architect
0 Kudos
Message 1 of 10
(5,391 Views)
Solution
Accepted by topic author Rodéric

The easiest thing to do would be to customize the execution view using the step list configuration settings. You can see the affects of this using the sequence editor or a full featured UI. Right-click on the step list and choose the "Step list configuration" option from the menu. I'm pretty sure you can remove all the columns but the name and status. You can also do things at a lower level if you'd like, but it's a bit more complicated than you are probably thinking. You will have to handle the UIMessageEvent on the Applicationmgr and handle the trace message and get the first sequence context from the thread associated with that message and then check previous step index and if it's not -1 then get the previousstep property and get what you want from that, then use next step index, and the current step group on the sequence context to determine what step will run next (if any). There's quite a bit of code involved in having as rich a display as the sequence view control provides.

 

Hope this helps,

-Doug

Message 2 of 10
(5,386 Views)

I'm not sure where I can find the step list configuration settings.

 

For the second solution it seems like there's some serious coding involved

 

thanks for pointing those solutions out.

Rodéric L
Certified LabVIEW Architect
0 Kudos
Message 3 of 10
(5,382 Views)

You could also build a User Interface in LabVIEW.  the shipping example "Simple UI.vi" that ships with TesstStand examples. is a good place to start. 


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 10
(5,374 Views)

In the sequence editor or full featured UI (maybe UI has to be in editor mode), just right-click on the step list and you should see a menu item "Step list configuration". At least for recent versions of TestStand.

 

-Doug

0 Kudos
Message 5 of 10
(5,371 Views)

I use LabVIEW and TestStand 2010. I also modified the full featured UI, but if I click on the step list changes do not apply during execution. I'll keep you posted on Monday after trying another time with both methods. thanks for your help anyway.

Rodéric L
Certified LabVIEW Architect
0 Kudos
Message 6 of 10
(5,367 Views)

There are two separate sets of settings in the step list configuration dialog, one for execution time and one for edit time. Change the execution time ones.

 

-Doug

Message 7 of 10
(5,361 Views)

Thank you for your help, solution works fine!

Rodéric L
Certified LabVIEW Architect
0 Kudos
Message 8 of 10
(5,351 Views)

@Rodéric wrote:

Thank you for your help, solution works fine!



What solution?

 

Please, help the community by explaining what you did and what challenges you overcame.


"Should be" isn't "Is" -Jay
0 Kudos
Message 9 of 10
(5,339 Views)

Hi,

 

I modified the container configuration while running (I had to modify it in edit mode and at run time) I didn't know you can edit configuration while VI is running...

 

I didn't try to access it programmatically yet.

 

Regards,

Rodéric L
Certified LabVIEW Architect
Message 10 of 10
(5,332 Views)