03-19-2012 03:35 PM
Can I collect digital pulses on a digital input like l could on an analog input? I need to collect 4 inputs, each with 32 5 volts pulses, within about 110 ms. I am using a PCI-6220 card and have filled all of my analog inputs. I have a second PCI-6220 so I could go with two devices. I need to collect 4 channels of pulses from a motor and the engineer wants to see the pulses and save the date to file, no counting or timing needed. The data can be zeros and fives or zeros and ones, just need to see the pattern.
I will be collecting analog data at the same time within this time frame (finite sampling).
03-21-2012 08:30 AM
Hi M.Abbey,
For your application, you can use a producer consumer loop with a digital input in the producer part of the loop.
To acquire the digital input signal you can use the following example:
[Open LabVIEW] -> Help -> Find Examples -> [Browse tab] Hardware Input and Output -> DAQmx -> Digital Measurements -> Read Dig Chan.vi