Hello everyone,
Thanks to anyone who can give me help. I just starting with Counter/Timer applications and I am trying to set up new system for my lab.
My hardware consist of a photon-counting APD (SPCM-AQRH-13-FC, Perkin-Elmer) whose output was a stream of transistor-transistor logic (TTL) pulses. The TTL
output generated by the APD was connected to the 32-bit, eight input channel counter/timer board with the maximum input rate of 80 MHz (PCI-6602, National Instruments).which means the fastest input pulses that can be counted are 12.5 ns (1∕80; 000; 000 s) apart. The counter can count the events continuously and store the data in the buffer.
I expected to have data acquistion with have " queue" structure to link “producer” loop and the “consumer” loop, which were in charge of reading photon counts and writing results to a file. Of couse 2 loop can work paralell.
Simultaneously, another labview program detected the latest written photon-counting file and calculated the auto-correlation function by FFT( fast and furious transform) algorithm.
I take a look some example and this code in attached file can show the counter incresing but the problem is overwritten too fast and I can not handle or hole the photon count signal to apply the autocorrelation calculation.
I am a newbie in Labview programming so I thanks to anyone who can help me with vi code or whatever. I am really appreciate it.
Regards,
Phuong