01-18-2016 01:09 PM
I'm using LabVIEW 8.2. Calling the property node CI.CountEdges.DigFltr.Enable generates an error that my hardware does not support this property. The hardware documentation lists 4 debounce settings: 125 ns, 6.425 µs, 2.54 ms, and disable. Using the example vi "Meas Dig Frequency-Low Freq 1 Ctr.vi" to measure the pulse rate of a flow meter operating between 5 and 300 Hz, I'm getting results that occasionally match the rate displayed on the oscilloscope but more often range between 30 kHz and 5 MHz. The debounce filter seems like the perfect solution but I haven't been able to figure out how to enable or set it.
01-19-2016 06:07 PM - edited 01-19-2016 06:09 PM
If you are selecting "CI Pulse Freq", you are likely getting an error because that is not supported for the 6229.
You will likely get error -200431:
Possible reason(s):
Selected physical channel does not support the measurement type required by the virtual channel you are creating.
Create a channel of a measurement type that is supported by the physical channel, or select a physical channel that supports the measurement type.
Property: CI.MeasType
Requested Value: Pulse Frequency
Possible Values: Frequency, Period, Pulse Width, Semi Period, Two Edge Separation, Position:Angular Encoder, Position:Linear Encoder, Count Edges
Task Name: _unnamedTask
So, basically you can do debounce filtering and if you try something like 'CI Cnt Edges', since that is a task that is available for the 6229, but you will not be able to do the CI Pulse Freq even without the debounce filtering.
Hopefully that helps.
01-19-2016 06:45 PM
Thanks Charles. That certainly opens up the road for a new approach. I'm a new user and I noticed with this first post that the system assigned an icon to my ID that looks like a T-bone steak. Is this their way of identifying "fresh meat" on the site?
01-20-2016 10:00 AM
you can go to my settings >> Avatars and change it there, haha, if you feel like you are being singled out