Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I read my whole wavefrom file

Solved!
Go to solution

Hello Richard,

 

I was able to run the RAL_Chart4Bl-2.vi and capture data for 10 seconds and then display the data with Display3_10-3-2.vi, but when I simply tried displaying the text file you posted on the forum I saw the same results as you, so I believe it has something to do with the way you are saving your file.  One thing I would suggest is adhereing to the 10:1 rule when it comes to sample rate versus samples.  This means that if you had a sample rate of 400Hz, then you should have your samples set to 100.  This is a great ratio used to prevent aliasing and buffer underflow errors.  Could you please post a screenshot of the configuration settings of both your Write To Measurement File VI and your Read From Measurement File VI so I can verify your setup.

 

Regards,

0 Kudos
Message 11 of 16
(1,757 Views)

Bradon

 

I can not get a capture of the screen with either of the vi open ( not sure How)

Read to file

I have the File format set to text LVM, Ask User to choose file checked, Delimter Tabular Checked

My start row is set to 25, First row and first Column checked, Absolute Date and time checked and Retrieve segment of original size.

When I press read file now I can see all the column data there. 

 

Write to measurement file

Save to one file checked use next availbe file name checked File format text (LVM) checked, one header and one column only checked and Tabular checked

 

I have added a Linear encoder and a new Flow meter to the system, Is there a better way to do what I am tring?

I had an earlier post ( 8-27 from CWolf) is this a better way to go, Or will what I have started work for me. 

 

 

Thank You

 

Richard

 

Download All
0 Kudos
Message 12 of 16
(1,745 Views)

Hello RAL1,

 

I'm don't really know about your specific application, but if you are just trying to acquire signals, save them to a file, and then read them at a later time, then this is the way to go.

 

Regards,

0 Kudos
Message 13 of 16
(1,730 Views)

Also, when you mentioned CWolf's application, are you referring to the fact that she converted from dynamic data to a double?  If so, the reason she did this is because she was simulating data that was in the form of a double, so it made more since, if combining to a graph, to make all the data the same type.  In your case, though, all your data is coming from your DAQ card so it is all in a dynamic data format, which is why I wouldn't worry about converting that data to a double.  Plus, if you did convert to a double you would lose your timestamps from your waveform, and you would just be graphing samples vs. amplitude.

 

Regards,

Message Edited by B.E.Z. on 10-14-2009 05:47 PM
0 Kudos
Message 14 of 16
(1,728 Views)
 
0 Kudos
Message 15 of 16
(1,674 Views)
Solution
Accepted by topic author RAL1

I have it Now.

The problem was in the Display file (Read from Measurement File), I had to change the Segment Size from retrieve Segment from original size to retrieve Segment of specified Size. And I made the size 2400 Samples and this work very well now.

I have sent the new VIs along to see what I have changed to get this to work.

The color where changing due to the fact that I had Merged the two Signal groups back together and forgot that the placement of the signal lines were no longer the same as before.

I am now starting to at the Encoder to my project to get the pump position and calulate the Rate and Flow for the pisition.

 

 

Thank You for all the help and Suggestions

 

Brandon B and Lab_boy

 

Richard 

 

Download All
0 Kudos
Message 16 of 16
(1,671 Views)