07-30-2009 07:26 AM
Hello,
I am using LV 8.6 Pro. Development, and a USB 6210 Daq.
I need to capture 1 analog channel, 1 digital channel, and 1 rotary encoder and the same time and record it to a text file.
The encoder is a 2500 PPR ABZ type, spinning at 200 rpm. I would like to capture the analog channel at every pulse of the encoder's 'A' pulse.
The 1 digital line is used with a prox switch is a physical Start/Stop to let the system know when to start/stop collecting data to a file.
Any help would be great!
Greg Newsome
07-31-2009 05:26 PM
Hello Greg,
LabVIEW Example Finder is a great resource for your requested examples. I recommend looking over the DAQmx folder and considering the following examples as a good point of reference.
Analog Mesaurements
Cont Acq&Graph Voltage-Write Data to File.vi
Digital Measurements
Cont Read Dig Chan-Int Clk.vi
Encoder Measurements
Measure Angular Position-Buffered-Cont-Ext Clk.vi
Regards,
Glenn