NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

trouble with parameters from text file.

Hi all,

Quick question for you...

I have a vi that gets it's parameters from a txt file.
It works well, no problem.

I have copied and pasted that vi in order to run some additional tests, but, this copied version, is not able to load the parameters from the text file...
(I have to hard code the max and min limits)

Anyone know why and what I need to do in order to have the copy load its params the same way as the original???

Many thanks in advance,
D.S
0 Kudos
Message 1 of 4
(3,117 Views)
Hi demo,

As a quick answer, maybe look at how you are generating your pathname to you file. Are you still looking in the same folder.

You dont say if you are getting any errors?

An example of you vi would help a lot.

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 4
(3,109 Views)
Hi Ray,
Thanks for all your help(in the past).
Matter of fact, all I had to do was add a line in the parameter list file that had the same name as the vi calling the parameter I was trying to read.

I am not that familiar with TestStand, but my app is up and running!

Thanks again!
0 Kudos
Message 3 of 4
(3,106 Views)
Hi demo,

No problem, glad you sorted it out ok.

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 4 of 4
(3,102 Views)