NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Hidden Properties and PropFlag_Hidden Gives - Operation Failed [Error Code -17500] Popup

Solved!
Go to solution

We are using a LV (8.5) User Interface to TS (4.0), that is a modified version of the Basic LabVIEW Interface that ships with TestStand.  Our UI is pretty basic; it allows selection and execution of test sequences and the sub sequences within those sequences. 

 

Our sub sequence selection control is a Sequences Combobox that is auto populated, by TestStand, with sub sequences when a test sequence is selected by the user.

 

Our problem is this:  Our test sequences have a number of sub sequences, some of which we want the user to be able to select, via our Sequence Combobox, and others which need to be hidden from the user.  We are using PropFlags_Hidden flag inconjunction with the Station Options->Show Hidden Properties (deselected) to remove the hidden sequences from the Sequence Combobox.  Unfortunately when the user selects one of the selectable sub sequences, TestStand displays a popup with the text "Operation Failed [Error Code -17500]".  If we select OK on the popup we can run the select sub sequence no problem.

If we set the Station Options->Show Hidden Properties to selected, all of the sub sequences that are supposed to be hidden appear in our Sequence Combobox (as you would expect) and we do not get the Operation Failed popup when selecting one of our slectable sub sequences.

I am wondering if anyone has seen this before and can offer any advice.

Thanks for reading

Steve B

0 Kudos
Message 1 of 3
(3,711 Views)

Hi Steve,

 

In attempting to reproduce this error, I wanted to make sure I understand your UI correctly. You mention that your UI "allows selection and execution of test sequences and the sub sequences within those sequences." When you refer to "test sequences" are you talking about sequence files or sequences contained in a sequence file?

 

From your post my understanding is that a "test sequence is a sequence contained in a sequence file and a "sub sequence" is a sequence that is called within a "test sequence". If this is in fact the case, then my assumption is that you have two  TestStand UI Combobox ActiveX Controls, one to display the selected "test sequence" and one to display the selected "sub sequence" of the "test sequence".

 

Is my understanding correct? Could you please provide the exact versions of TestStand and LabVIEW that you are using (TestStand 4.0, 4.0.1, 4.0.1f1... LabVIEW 8.5, 8.5.1)?

 

Thanks!

Manooch H.
National Instruments
0 Kudos
Message 2 of 3
(3,691 Views)
Solution
Accepted by topic author SercoSteveB

Hi Manooch

 

Thanks for your response.  Yes sorry I didn't explain my problem very well.  Fortunately we have found the cause and have a solution in place. 

 

It seems if you have single Sequence File with multiple sequences within it (some hidden some not), the non hidden sequences must appear above the hidden sequences in the sequence list.  The reordering can be done in the Sequence Editor or programmatically through the API.

 

Thanks again

 

Steve

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