NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to display the sequence context browser using the TS API ?

Hi,
 
I would like to display a sequence context browser in a custom step developped in CVI to allow operator to choose the local or global who receive a data.
 
I tried tu use the Browse Expression Dialog but i didn't find the way to limit this UI as a context browser.
 
Thanks for your help
0 Kudos
Message 1 of 4
(2,826 Views)
There is a method in the Engine-Class of the TestStandAPI that can be used to achive this:

Engine.DisplayBrowserExprDialogEx(...)
0 Kudos
Message 2 of 4
(2,792 Views)
Another alternative is to use the Expression Edit UI Control.  If you set the ExpressionEdit.Context property, you are able to pass it a Sequence Context.  You can add buttons to this control (such as the Expression Browser).  You will get the benefits of AutoCompletion and being able to declare variables inside of the Expression Edit control, as well.
 
Allen P.
NI
0 Kudos
Message 3 of 4
(2,786 Views)

Hi,

Using the Engine.DisplayBrowserExprDialogEx(...) method you are also able to declare variable within the dialog.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 4
(2,775 Views)