Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

save counter input data against time

Solved!
Go to solution
Hello, i would like to know about recording using a write to measurement file.
When i record a data like analog input, at the save file with display the analog data against time.
But when i tried to applied for the encoder, which is using counter input, in the .txt file dont display
the result as analog input. So can someone give me a guide on what to setting on write to measument
file to measure the revolution per minute rotation against time, thanks

0 Kudos
Message 1 of 2
(3,690 Views)
Solution
Accepted by topic author suffyzull

There is no setting for the Write Measurement File. Your problem is that you are passing a scalar to the function and that scalar has no timestamp information. When you use an analog acquisition, the data type is either a waveform or dynamic data type. Below is one way to add the timestamp information. You also should have a delay or msec wait in your loop. This can be used for the dt information.

Message Edited by Dennis Knutson on 09-24-2007 09:51 AM

0 Kudos
Message 2 of 2
(3,674 Views)