Does anyone have the code that LabView needs to link with the gear tooth sensor?
The gear tooth sensor was not meant to be used with the USB-6009 DAQ device the same way it will be used on the robot. The gear tooth sensor generates a pulse that is too narrow for a USB DAQ device to read reliably - most often on the IFI controller teams use an interrupt line to catch pulses and to reduce aliasing of the pulsing signal. No such mechanism exists for the USB-DAQ. However, if you were to use a standard Hall-effect sensor (without direction sensing), the DAQ can be used to read the output of the sensor at low speeds.
-Danny
The USB-6009 does support one simple event counter on PFI0 that you could use to count pulses. This would not give you direction information, though. The way you would use this is to use a timed loop in LabVIEW and each time your loop executes, look at how many pulses you measured and divide that by your timebase. This would work well as a basic interface to validate functionality, but it would not be very flexible.
Good luck.
-Joe