08-01-2018 03:06 PM
Hello community,
I have a digital encoder or index for a gas meter that provides electrical resistance 10x every revolution. I'm not very savvy on how the electronics work exactly, but I understand that it's a very common way to measure this type of thing.
My question is what Field Point module is capable of counting these resistance measurements and how to set up the counter if need be. I do have LV2014SP
Thanks
08-02-2018 05:20 PM
It seems strange that you are trying to read in a resistance on a counter task. An encoder usually outputs a voltage. What is the encoder that you are using?
08-03-2018 01:29 PM
It's a RioTronics pat#4008458
http://www.riotronics.com/pulse-output-products/gas-meter-pulse-outputs/gas-meter-specifications/
Says direct connect to digital input
08-06-2018 03:35 PM
It doesn't look like NI sells any FieldPoint devices anymore. What are you trying to do? I'm sure there's a device currently being sold that can do that.
08-07-2018 08:21 AM
well I already have FP quad510,DO400,AI110s hopefully it's either the quad510 or the DO400.
All I'm trying to do is use a digital counter to count pulses coming from the index.
08-07-2018 11:06 AM
I think everything is wired up to the Quad510 properly, but still not getting any readings.
Could it be because the time stamp is not updating in MAX?
08-08-2018 11:23 AM
The Quad 510 should be great for reading an encoder.
Have you checked the manuals for the encoder and Quad 510 to be sure everything is connected and configured correctly?
08-08-2018 11:59 AM
Yes, unless I'm missing something.
+wire from encoder into terminal 15 for the Quad
-wire from encoder into terminal 31 for the Quad
ground from encoder into COM terminal on Quad
So index 3 on the Quad should read a boolean value when resistance is detected, correct?
Sometimes I will get a boolean reading on one of the indexes, but not on index 3 like it should be. Once it hits a reading "1" it gets stuck, even after unplugging the wires from the encoder and resetting the FP bank via MAX.
Also, sometimes I will get a random bogus reading on one of the "position" channels like 4325818415
But the thing that's still bugging me is that the "Time Stamp" in max is not updating with the PC time unless I start/stop the task.
08-08-2018 02:14 PM - edited 08-08-2018 02:15 PM
Your device output is a simple switch closure, while the Quad 510 expects a TTL level (~0 logic low, ~5V logic high).
You will need to wire a 5V supply in series with the output of your device and use the single ended input configuration on the 510.
EDIT: I see that the 510 has a 5V output you can use.
If you get that working, you may still have reading errors since mechanical switch contacts tend to 'bounce' closed and open several times before making a stable contact closure.
-AK2DM
08-09-2018 12:26 PM
I've heard there are some ways to reduce bounce in labview. Like taking the top and the bottom of the reading and cutting it into pieces and track the time between highs and lows.
Do you know of any examples of something like this?