02-15-2011 05:10 PM
Hello, I am extremely new to LabView and am having trouble using the counter feature (or if this is even what I should be doing). I am trying to use a photogate as a frequency counter when a voltage spike is created by blocking the sensor. This will then be put into RPM and used to evaluate a small motor dyno I am creating. If anyone has any help or previous vi's they dont mind sharing it would be greatly appreciated. The photogate specifications are for an optek opb930l55. Thanks
02-16-2011 09:45 PM
Configuring a counter input task will be a little different depending on the type of DAQ card that you are using to read the digital pulses. You just need to wire the voltage from the photogate to one of the counter pins on the card. Then follow one of the many examples for measuring the frequency of pulses. If your card allows it, I would suggest choosing the Counter Input >> Frequency measurement from the DAQmx Create Channel VI. If you have questions about how to do this with your specific DAQ device, please provide more information