NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Status Bar Control

I'm using TestStand 3.5 and building the Operator Interface with CVI 8.01. We've modified the User Interface so that both the Report text and the Execution are on the same tab. We've added a third tab that is used to status the instruments in the Test Station. When using the Progress Status Bar, the bar with the % text works properly, but the Progess Bar Text does not appear on the Execution Tab with it. We've made no modifications to the ConnectStatusBarPanes(void) function the controls the status bar connections to the various tabs, but it doesn't work the way the original NI Full-Featured example version does. Additionally, the third tab that we don't have any connections too (other than the Application manager), appears to show the same status bar as the NI Full-Featured example version that is connected to the Report Tab (that we don't have). The Progress Test does appear here (where I don't want either the progress bar or the progress text). I'm testing this using the DisplayProgressAndStatus.seq example, as is, and tweaking the CVI code in a attempt to see what's different. As best I can tell there's no other controls that are applicable for this after the initialization. I Tried connecting the Progress Text pane to the ApplicationMgr as the User pane is, but I get an error that it requires a ExecutionMgr connection. This leads me to believe that the Progress Text bar is somehow designed for the Execution/Report Tab design in the API, but I can't prove it. I've reviewed the examples that are on the forum, and nothing (in CVI at least) sticks out as a solution to this 'feature'. I want get greater control of this 'bar' but I think it's too tightly integrated with the API - I know this is a pretty open unspecific question, but does anyone of you TestStand gurus out there have any ideas?
 
Thanks,
 
-Jack
0 Kudos
Message 1 of 3
(3,498 Views)
Hey Jack,

It sounds like you've already looked at most of this, but one other thing I wanted to point out is the ShowAppropriateStatusBarPanes function. This function is what sets which panes are viewable depending on which tab is selected.  This could possibly be one of the reasons why the progress text is not showing up.  This is also the reason that you are seeing the progress text and progress percent in your third tab. The way the status bar works is you just set up the connections in ConnectStatusBarPanes.  Then the ShowAppropriateStatusBarPanes determines which panes are actually visible.

I don't know if it's possible to post your OI, but if you can post it, we could try and take a look at it. Hope this helps!
Pat P.
Software Engineer
National Instruments
Message 2 of 3
(3,486 Views)

Pat,

The ShowAppropriateStatusBarPanes function is EXACTLY what I was looking for, but for some reason I couldn't find it - It cleared up everything that I was having problems with! I appreciate your skill in parsing the solution out of my less-than-technical description of the issue.

Thanks for the solution! Smiley Very Happy

-Jack

0 Kudos
Message 3 of 3
(3,464 Views)