NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

can we open and read a file (.txt) with testStand?

Everything is in the message subject and if it is possible can you tell me how?
thanks
sole
0 Kudos
Message 1 of 5
(5,288 Views)
TestStand can only read specific types of txt files - for example with property loader step types.

If you would like to read a file as a string, you will have to call a code module in an action step.
0 Kudos
Message 2 of 5
(5,278 Views)
tahnks for your reply but have you got an example??

Message Edited by sole on 06-01-2005 03:49 AM

0 Kudos
Message 3 of 5
(5,272 Views)
The property loader example ships with TestStand.

It can be found at /Examples/LoadingLimits/LimitsFromTextFile/

For more information about the Property Loader Step Type, refer to Appendix D in the TestStand Reference manual.

Keep in mind, this CANNOT read a generic text file and give you a string. In that case you will need to write a code module (in LabVIEW, CVI, C++, etc...) and have it return you the string as a parameter. Is this the example you are referring to?

Allen P.
NI
0 Kudos
Message 4 of 5
(5,260 Views)
I have seen this example and I use it. It's ok when I make a file like this but without Labview. When I use labview it doesn't function.
0 Kudos
Message 5 of 5
(5,243 Views)