LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read from measurement files

Hello All,
I am new to labview. I have some data points stored in a text file. I have to generate a waveform using this data points and give it to my board. It has to read the same file multiple number of times.  The problem here is when i reading from the file, it says end of file encountered and is not reseting the pointer to the starting location.

I am using read from measurement file. I have also tried to put the entire thing in a loop, but i get the same error. Can you guys please suggest or send a VI to be used in this situation.

After reading  from the file,  is a DAQ sufficient to send the data to my board. The data which i am reading is not in digital format so will a DAQ work here or do i have to use some other thing here.

Thanks,
Jayanth
0 Kudos
Message 1 of 2
(2,590 Views)
Use File IO>>Advanced File Functions>>Set File Position.vi from the functions palette to set the position of the file as required. 
 
I am curious as to why you would want to read the file multiple times; If the data in the file is not changing, it is more efficient for you to read it once.
 
Also, there is no device called a DAQ.  DAQ drivers (NI-DAQmx is the latest version) are used to run a variety of data acquisition devices.  Whether you can output your waveform at your required resolution and speed depends on what kind of data acquisition device you have.  Regarding your question about data format, most boards accept data in a variety of forms.  Even if your particular form is not supported, conversion is pretty easy.  We need more details about the format of your data and the type of device you have to better answer this question.
S G
Certified LabVIEW Architect, Certified TestStand Architect, Certified Professional Instructor
0 Kudos
Message 2 of 2
(2,585 Views)