LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

string to path

I am using NI teststand and Labview. I have created a teststand program that will call my labview program. My teststand program will provide a string to my labview program. This string would then be the path to a certain text file in my C drive, eg. C:\textfile.txt.
 
Currently my problem is that my teststand program will keep on calling this labview program in a loop, and everytime the labview program is called it always prompts me for the path of the text file. This can be a pain especially with the large amounts of data. Essentially for my application, it is a MUST for teststand to keep on calling the labview program and provide it with a string input. Is there a way that the labview program can be modified such that it will automatically know the path to the text file with an input string from teststand?
 
Thanks
0 Kudos
Message 1 of 2
(2,741 Views)

Put a string control on the front panel of the VI and assign it to the string variable in TestStand that has the path. Use the string to path function in the VI.

The shipping document called Using LabVIEW with TestStand explains how to pass data between TestStand and LabVIEW.

Download All
0 Kudos
Message 2 of 2
(2,734 Views)