10-28-2014 09:45 AM
Hello All,
I am creating a basic user interface VI Project, based off of the examples included with TestStand. In the "Simple" example, there is a Open Seq File button, and an associated combo box to select the Sequence File to run. For my application, I would like to limit the sequence file options from which the operator can choose (not allow the operator to browse the entire hard drive to find a sequence file). Using basic Labview functions, I would have done this with a regular combo box, and use the "Edit Items" option to load file options into the drop-down menu. However, the TestStand UI combo box does not allow this, presumably because it is an ActiveX control, and configuration is different from normal Labview functions. Is it possible to pre-load the TestStand UI combo box with allowed sequence files? Or, if there are other suggestions on how to accomplish the requirement, I am open to them as well.
Thanks in advance,
GSinMN
10-28-2014 10:07 AM
One idea is to use the native LabVIEW controls. Then hide the TestStand UI controls and update them from the events triggered by the native LabVIEW controls. I have had to do this before on UIs when the customer wanted a certain look and feel.
So basically have the native LabVIEW combo box set like you want. When the user makes a selection, in the event for that selection update the hidden TestStand Sequence File Combo Box witht he correct sequence file.
Another option is to use events for the Sequence File Combo Box and just filter and force certain behavior.
Hope this helps,