NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read the file name from local directory using TestStand ?

Solved!
Go to solution

Hello All,

 

I need to create a sequence in TestStand(2019-32 bit) which can read a file name xyz.lvlib (LabVIEW library file name) from the local C directory in my PC and store it in a variable. Then I want to take user input (type string) by configuring buttons in message pop up step and compare the user input with the stored variable that is the library file name. 

 

So my first question is how to read the file name from local C directory?

and the second question is how to compare the output state of message pop up(when the user selects a button) with a stored variable ?

 

Your inputs are very much welcomed.

 

Thanks in advance!

Preeti

 

0 Kudos
Message 1 of 5
(1,640 Views)
Solution
Accepted by topic author Preeti_Udapudi

please checkout my picture.

those 2 functions can help you from LabView and you just make TestStand to record the LabView's Output.

 

but I do recommend the 1 functions, it do separate the files list and folders list.

please set this as ANSWER or KUDO this post, if it help you.


Message 2 of 5
(1,573 Views)

Hello Jumpod,

 

Thank you very much!

Your solution helped me. I could read the file names as well as the folder names. 

0 Kudos
Message 3 of 5
(1,543 Views)
Solution
Accepted by topic author Preeti_Udapudi

I see, if your problem solved. could you make it to solved or fix so people can understand which is the answer.

please set this as ANSWER or KUDO this post, if it help you.


Message 4 of 5
(1,332 Views)
Solution
Accepted by topic author Preeti_Udapudi

Preeti_Udapudi Can you help to mark this post as answered? you should give the answered post when you got the solution.

Message 5 of 5
(713 Views)