10-06-2010 06:36 AM
YES!
Very Nice.
Thank you
10-06-2010 07:27 AM
Not sure why but when I tried reading that text file they way you have it I could not read it. It says invalid Path.
It did work when I did it with build string and then string to path.
See attached snippet.
JCollado
10-06-2010 08:19 AM - edited 10-06-2010 08:19 AM
@JCollado wrote:
Not sure why but when I tried reading that text file they way you have it I could not read it. It says invalid Path.
It did work when I did it with build string and then string to path.
See attached snippet.
JCollado
In your string constant 'getArgs.txt', get rid of the slash
10-06-2010 08:25 AM
Yes Sir that was it!
I did not expect that since when I put the path from the get system directory vi it does not have the slash.
Good Job.
Thank you
10-06-2010 08:30 AM
@JCollado wrote:
Yes Sir that was it!
I did not expect that since when I put the path from the get system directory vi it does not have the slash.
Good Job.
Thank you
One of the reasons Altenbach changed how you retrieve the file name is because of that slash.
Not all operating systems use a \ as a delimiter between a folder and its contents.
This will cause your VI to break on other OS's if you use your original method.
That is why Altenbach proposed his method.
10-06-2010 08:31 AM
Ok
Go Yanks tonight! 🙂