NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand UI ExecutionView Manager control take no effect when connect ConnectNumeric to a status panes (C++ using MFC)

Hello

I want to create a simple operator UI for TestStand using C++ with MFC, and i would like to show the execution progress percent in a statusbar.

Following the TestStand help and reference manual, do it like,

mExecutionViewMgr->ConnectNumeric(panes->GetItem("Progress"),NumericSource_ProgressPercent);

No error get from compiler, but it does not take effect when run the program.

Is there anything i missed for the property setting or did i make a wrong coding?

BR
Bendy
0 Kudos
Message 1 of 4
(3,527 Views)
Do anybody ever use ConnectNumeric for TestStand UI controls, or is there any other way to show the progresspercent of a execution?
0 Kudos
Message 2 of 4
(3,504 Views)

The example full UI uses ConnectNumeric for its status pane and it works. Perhaps you have the wrong name for your status bar pane, or your pane is not visible?

 

An alternate approach is to catch the UIMsg_ProgressPercent event and update your own control.

0 Kudos
Message 3 of 4
(3,467 Views)
James, thanks for your answer.
But the example full UI in my install folder does not works to show the progress percent in status pane.
my using teststand is version TestStand 4.1.1.
0 Kudos
Message 4 of 4
(3,450 Views)