NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Check for end of file

Hi,

 

I am reading to EOF.  However, I would like to get the value before EOF.

Any suggestion?

 

Thank you in advantage

0 Kudos
Message 1 of 4
(3,229 Views)

Does this question refer to NI TestStand at all?

How do you currently read the file?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 4
(3,221 Views)

I thought that I in Test Stand Discussion Forums, so all the questions are refer to TS environment.

To read EOF, I open text file, read it, "Goto", and then close the file.

My question: I need to get the line before EOF.  Not sure about syntax in TS

 

Thx

0 Kudos
Message 3 of 4
(3,208 Views)

How are you reading the file? TestStand has no direct way of reading files so what are you doing to get the file data into TestStand?

 

At the end of the day you're much better off doing something like this in a CVI/.NET/LabVIEW code module rather than try to do it in TestStand.

CTA, CLA, MTFBWY
0 Kudos
Message 4 of 4
(3,200 Views)