02-15-2010 02:04 PM
I have a flowmeter with the data:
sensing principle: hall-effect, non contacting
output square wave: NPN o.c.
Voltage supply: 4,5-24 VDC
output current: 13mA max
more you can find in the attachement and i use the USB-6009.
How i have to connect the flowmeter to the trigger (PFI0)?
Thanks in advance for any help!
E.Stein
02-16-2010 04:27 AM - last edited on 09-06-2011 09:31 AM by Support
Hi
The USB-6009 does not support using an external clock. The PFI0 line on the device is actually meant to be used as either a digital trigger for your tasks, or a counter input for event counting (the 6009 manual mentions this on page 15: http://www.ni.com/pdf/manuals/371303l.pdf). You will notice in our LabVIEW shipping examples, all of the External Clock examples don't list the 6008 or 6009 as supported devices.
02-16-2010 05:38 AM
Hi,
thanks for help. I want to use the PFI0 as a counter input for event counting.
To count the signals of the flowmeter.
02-16-2010 07:43 AM
Hi
are you working with LabVIEW? What is the version you´re working with?
The active edges of the source signal increment the value of the count register. You can configure PFI 0 as a source. In this mode, falling-edge events are counted using a 32-bit counter. The gate and out are not used for simple edge counting.
The Count Digital Events examples in LabVIEW (Help>>Find Examples...Hardware Input and Output>>DAQmx>>Counter Measurements) should give you a good starting point.
The USB-6008/9 only works with falling edge counting. Simply change the type of edge to falling and your task will work properly.
02-16-2010 08:42 AM
Thanks for Info!
I work with LabVIEW 8.6 and the configure and programming of
falling-edge events is not the problem.
The Problem is the connection. How to connect the flowmeter to the
USB-6009? Because the 6009 have no gate and out.02-16-2010 09:27 AM