06-20-2007 12:40 PM
06-20-2007 12:59 PM
06-20-2007 04:40 PM
06-20-2007 10:29 PM - edited 06-20-2007 10:29 PM
That's not a very good card for your app. All it has is 16 digital I/O. Also, the digital I/O is static. That means that the acquisition is software timed. What you will have to do is put a digital read in a loop and everytime you see a change from a 0 to a 1, increment your counter. If you have the full version of LabView, you can use the Boolean Crossing PtByPt. In the example below, you would replace the Boolean labeled 'Input' with a DAQ digital read.
Message Edited by Dennis Knutson on 06-20-2007 09:30 PM
06-21-2007 12:14 PM
is the looping cpu intensive ? cause we have another realtime application running on the machine,
from the data sheet, it says 6518 alse with change detection, don't know how it works, or still need writting looping code?
if 6518 not good, could you suggest a card, is 6534 ok ? or some other card.
it is said 6534 has hw change detection with no delay to trigger the aquisition, don't know if it works for us.
what we need is a fast counter (but use less cpu time ) collecting the pulse count from an analog pulse signal which is similar to a treadmill rotor output). the positive and negtive part may not equal, pulse freqency btw 200hx to 0 hz.
the application on this machine wants to get the counter value every 200ms, so we need a daq card that doing the counting its self,
06-21-2007 12:45 PM
Instead of a digital I/O board, I would recomend you get a board with a built in counter. A 200 Hz signal doesn't require a very fast counter. An inexpensive DAQ device with a simple event counter is the USB-6501. The counter on this is for TTL level signals.
Maybe someone from NI will post here and recomend something. You can always call your local sales engineer, use the 800 number to call NI driectly, or click the 'Call Me Now' link on the Product & Services pages.
06-22-2007 06:24 PM
02-19-2009 07:24 PM
I used the diagram that you publish and its working great with my chip counter, the only problem I have is that I dont know how to raset the counter to 0 everytime I want to star all over again!
Any comments?
02-19-2009 09:30 PM
06-07-2012 06:06 AM
Hi guys,
I wonder which are the pins I need to connect in the CB-68LP to use a counter input DAQ.
I think it should be nr. 38 but the application doesn't work, so I begin to think I'm wrong.
Thank you very much.