NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Change the Open Sequence File initial path of the TestStand Simple Operator Interface with LabVIEW

Solved!
Go to solution

Hi,

I'm using a TestStand Operator Interface made with LabVIEW similar to the TS Simple OI example.

 

But I want to change the path when clicking the Open Sequence File button, I want a specific path.

 

All help is apreciated.

 

Regards,

 

Daniel Coelho

 

Daniel Coelho
VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
Controlar - Electronica Industrial e Sistemas, Lda
0 Kudos
Message 1 of 6
(4,235 Views)

Just need some help on how to specify the folder that TestStand opens when I click Open Sequence File.

Is there a way to do it on LabVIEW or on the TestStand configuration menus?

Daniel Coelho
VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
Controlar - Electronica Industrial e Sistemas, Lda
0 Kudos
Message 2 of 6
(4,211 Views)
Solution
Accepted by topic author Daniel Coelho

Daniel, you might be interested in this Knowledge Base:

How Do I Change the Default Directory for the Open File Dialog in TestStand?

 

I searched ni.com for open file dialog teststand and this was the fifth or so link.

Josh W.
Certified TestStand Architect
Formerly blue
Message 3 of 6
(4,196 Views)

Thank you for your time.

You're right, I searched ni.com and I found the same link. I promise to search more carefully next time.

Although I wanted to do it programatically, this way works as well.

Thank you for your help one more time.

 

Regards.

Daniel Coelho
VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
Controlar - Electronica Industrial e Sistemas, Lda
0 Kudos
Message 4 of 6
(4,180 Views)

Daniel,

 

          From a LabVIEW VI, you can make a similar call to "SetCurrentDirectory" in kernel32.dll using Call Library Function node. 

 

Regards

Anand Jain

National Instruments

0 Kudos
Message 5 of 6
(4,176 Views)

Thank you for your reply.

I already tried to do it and it didn't work.

I called kernel32.dll and created a string argument with "C:\\EXISTING_PATH" but TestStand wasnt opening my selected folder.

Daniel Coelho
VISToolkit - http://www.vistoolkit.com - Your Real Virtual Instrument Solution
Controlar - Electronica Industrial e Sistemas, Lda
0 Kudos
Message 6 of 6
(4,174 Views)