03-17-2009 04:18 PM
Hello,
I am working with a light detection device called and Avalance Photo Diode, which emits a single TTL pulse for every photon detected. A gate signal sets the frequency that the photon count is reported. I am trying to write a program that--via an M-series USB-6229--simultaneously sets the gate frequency of the APD's gate and counts the device's output pulses.
My plan was/is to use one of the counters to generate a continuous pulse train for the gate signal (~1K Hz), and the second counter to count the rising edges emitted. However, my current program quickly falls on it's face; and I am having trouble understanding the error messages.
If someone could look over my program and offer advice, it would be greatly appreciated.
Thanks,
Ryan
03-18-2009 12:33 PM
Hi smosit,
What error messages / codes are you experiencing? This may help the troubleshooting. Thanks.