Dynamic Signal Acquisition

cancel
Showing results for 
Search instead for 
Did you mean: 

Recording a waveform

I want to log the output of a flow meter to a file. I developed the following VI but it does not record the waveform with respect to time. Time column does not increment as I expected. It suddenly increases just after starting the logging of data. Can anybody say why is it behaviing in that way? I am posting the VI here.
 
Lalith
0 Kudos
Message 1 of 4
(7,122 Views)
You are doing single point reads which is not something I normally do.  Can you try continuous acquisition and see what happens?
Preston Johnson
Solutions Manager, Industrial IoT: Condition Monitoring and Predictive Analytics
cbt
512 431 2371
preston.johnson@cbtechinc
Message 2 of 4
(7,118 Views)
Many thanks for your comments. Yest I tried changing to continous time but still the time column behaves in a peculiar way. Most of the time it does not start from 0. It starts with a random time value and increments. I cant still understand why it does not start from zero. Your comments will be highly appreciated.
0 Kudos
Message 3 of 4
(7,111 Views)
Hey Lalith,
How many channels are you using? You could use the build waveform vi to initialise the time t0 so you start from 00.00.00. The random time you see is the absolute time and it increments because you are making measurements on time domain. I modified your simple vi to get a voltage readings and in the xml file the vi generated, time started from 0.00000. Are you sure you are not getting the same start time for the log?
If you have further queries, do ask.
Best Regards,
0 Kudos
Message 4 of 4
(7,083 Views)