From Friday, January 17th 11 PM CDT (January 18th 5 AM UTC) through Saturday, January 18th 11:30 AM CDT (January 18th 5:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,041 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,021 Views)