Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

continous acquisition to file of a counter

I would like to acquire continously a TTL signal. The idea would be to acquire for x second and write on the disk usign the buffer of hte board, using the
ContAcqtoFile(binary).vi
In fact I'm doing the same for an analog input channel. Now: Is it possible to do the same using a counter instead?
Thanks
-Claudio
0 Kudos
Message 1 of 4
(2,860 Views)
Hey Claudio,

Since a counter outputs a 32-bit integer, using the binary file VI�s does not work well. However, I have attached a writing and reading example for counter operations.

Just let me know if you have any questions about the examples.

Best regards,

Justin T.
National Instruments
Download All
0 Kudos
Message 2 of 4
(2,860 Views)
Hi Justin
thanks for your answer.
Unfortunately I can not access labview 7.1 but I can use 7.0. Could you please send me the vi saved for this format?
Reading back my question I see maybe I was not clear enough. I would like to acquire continuously from the counter in the way I've mentioned in my original question. But is it possible to read continously the time interval between each TTL pulse that arrives on the counter, instead of the number of pulses? This is what actually I would like to do.
Thanks again for all your help
regards
-Claudio
0 Kudos
Message 3 of 4
(2,860 Views)
Hey Claudio,


I have attached the examples saved in LabVIEW 7.0.

Also, if you are looking for a pulse measurement, I would check out the following shipping example.

Help>>Find Examples

Browse>>Browse According To>>Task

Hardware Input and Output>>DAQmx>>Counter Measurements>>Period or Pulse Width>> Meas Dig Periods-Buffered-Continuous-High Freq 2 Ctr.vi

This would be DAQmx, but it is really easy to use, and provides the output already formatted into seconds for you. You could use my examples as a guide and modify them for using this example and you should be all set.

Let me know if you have any problems getting this to work.

Best regards,

Justin T.
National Instruments
Download All
0 Kudos
Message 4 of 4
(2,860 Views)