02-26-2016 04:03 PM
Hi,
we ordered the cRIO 9035 system with several Modules.
One of them is the NI9401.
I want to use this module to count the pulses of a flow-meter.
Infront, I'm a beginner and just startet to watch lots of tutorials and created basic VI's
We use 4 of these flowmeters (and many more sensors like Termocouples (NI 9211), magnetic valves (NI 9482) or an AKD-Servomotor (NI 9472).
All the measured Data has to be written in a File (e.g. exel sheet).
The magnetic valves have to be activated if a certian number of pulses is counted.
Again, is it absolutely required to use FPGA or can I use a VI on the Host-Computer?
I know there is a lot to do and I have to learn much more, but I'm on it (its for my Masterthesis).
For the moment, answers to the questions about the existing or not existing on-board counter would be great.
Thanks for your support.
Greetings from Germany,
Lukas
Solved! Go to Solution.
02-29-2016 02:05 AM
Hi Lukus,
greetings from Munich (since it is a public forum I am required to answer in English anyway).
1) when using a cRIO you dont have a strict limitation for counters (especially if you program the FPGA) for your digital inputs. Perhaps you read something about that and that only applies to cDAQs (because there (most) counters come from the cDAQ chassis so they are more limited)
"If I do so, would it be possible to simply create a while loop, place the channel inside and link it to a numeric element?"
CORRECT
"Or is the only way to count pulses (rising edge) to use VI's like the "Edge Counter VI" from the example VI's?"
I am not sure to which exact VI you are referring to, but on the FPGA you could implement a custom counter. That would work too.
2) you can it do both ways (Scan Engine Mode and FPGA Mode)
If you are writing a Master Thesis you could be eligible for a greatly discounted course. The Embedded Control and Monitoring course (http://www.ni.com/training/embedded/) would be very helpful to you:
Förderprogramme für Forschung, Ausbildung und Lehre - National Instruments Germany GmbH
http://germany.ni.com/academic/training/programs/diplomand
Best regards,
Christoph