NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

UI Labview-Testsand- openFileSequence

Solved!
Go to solution

NI has provided tests and LabVIEW UI.- SimpleUI

I have made two copies of the LabVIEW code and made an application with the same name: TestExec.exe. Afterwards, I changed the application name. 

In both of the programmes I have used the OpenFileSequence property 

Rshah31_0-1785923669596.pngRshah31_0-1785923669596.png

And these two applications are in Different folder.

 

Now, my problem is with the OpenFileSequence property.

 

If I open App_A, it will open the same folder where it is,
After I close App_A and then open App_B, it will still open the App_A folder.

 

or wiseversa, If I open App_B first, then open App_A it will still open the folder where App_B is.

 

I don't understand. Is it beacause of app folder path is saved anywhere? I can think right now because I have copied it from one main code. Somehow the path is saved in the same file, and that is taken by another app.

 

Please correct me if I am wrong.

 

Or give me just idea; I want to open a folder where my application is. Please guide me through it



0 Kudos
Message 1 of 3
(426 Views)
Solution
Accepted by topic author Rshah31

From what I have understood, this looks to me like the normal behaviour... same with SeqEdit. It will open the file open dialog at the path, the last file has been opened from.

 

For sure this is chached somewhere, so I asked Nigel in 2026Q3.

 

Spoiler

AI Content:

It states that this behaviour is based on states saved in the Windows process, not in TestStand itself.

There is no (public) TS API method to re- or preset the initial file path of the dialog. 
To workaround, Nigel suggest to use a custom File Open Dialog.  

0 Kudos
Message 2 of 3
(407 Views)

Yes, Thank you

0 Kudos
Message 3 of 3
(361 Views)