NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

creatin search option for sequence editor

Hello all.

I need to implement a search on step types in the seqEditor.

Explenation:
lets say we have a seq file with some sequences and in each seq a few steps.
I need to find particular step type all over the seq file and highlight (for every step that found) the step so the user can edit it again without search manually for all instances(like the behavior of the search in the regedit).

I don't have any idea how to do this because I dont know how to tell TS to highlight a step and I don't know if it possible to do this in VB(I need to do this only in VB).

Any idea how to do this will be appriciated.

Advanced thanks, Avi.
0 Kudos
Message 1 of 2
(2,943 Views)
Hi Avi,

Since the Sequence Editor does not have an API, you will not be able to highlight steps. However, you can search through the sequence for steps that are of a certain step type and display these in a list. You can obtain a reference to the Step Type object and use the property StepType.Name to get the name of the step type.

National Instruments recognizes the importance of a search and replace tool and will be considering such a tool in future versions of TestStand. I hope this helps.
0 Kudos
Message 2 of 2
(2,943 Views)