08-13-2013 10:32 AM
Hi,
I am using TestStand 4.2.1, not Labview.
In the help, I have read that Ui Control like ListBox or ListBar are available but they are not displayed in insertion palette.
How can I display them or add them programmatically to my sequence ?
Thank you
08-13-2013 11:51 AM
It seems that you may have misunderstood what a UI control is used for.
UI (or User Interface) controls are used for stand alone applications which are used to execute sequence files. Here is a link with more info on that: http://www.ni.com/white-paper/14376/en/
Although it may be possible to technically call one from a sequence directly using ActiveX it would make no sense. Usually you have to connect a UI control to a manager control. Otherwise it is worthless.
Hope this helps,
08-14-2013 02:52 AM
Ok.
I need message popup with more than 6 choices or a listbox that appear on sequence launch.
I can do it programmatically but have no way to begin.
Where can I find those features ?
08-14-2013 08:59 AM - edited 08-14-2013 09:00 AM
@niva wrote:
Ok.
I need message popup with more than 6 choices or a listbox that appear on sequence launch.
I can do it programmatically but have no way to begin.
Where can I find those features ?
For more complex dialogs than what the message popup step provides, the easiest thing to do would be to create a custom dialog in whatever programming language you prefer and call that as a code module (e.g. from an Action step) to display the dialog.
See the examples in this directory:
<TestStandPublic>\Examples\ModalDialogs
Hope this helps,
-Doug