NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

in UI, open a sequence file without dialog box

Hello,

 

In my LabView user interface, I want to open a sequencefile which name is in a string.

 

With NI user interface, it is done with a connection between SequenceFileViewMgr and a button. In execution, when I push this button, it open a dialog box. Is there a way to disable this dialog box and to select the sequencefile from another way.

 

Second metod, I intend to open the SequenceFile from the Engine with the GetSequenceFileEx Method. But with this method, it seems to me that I can't use other connections to lauch, close ... sequenceFile. So I will have to write code for all these actions, which could be quite long

 

So, What is the right way ?

 

Thanks

Laurent

0 Kudos
Message 1 of 2
(3,031 Views)

Use a regular labview button (no connections) and add code to it which calls ApplicationMgr.OpenSequenceFile. See the API help for more details.

 

Hope this helps,

-Doug

0 Kudos
Message 2 of 2
(3,011 Views)