08-05-2026 05:08 AM
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
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
Solved! Go to Solution.
08-05-2026 08:17 AM
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.
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.
08-06-2026 08:18 AM
Yes, Thank you