10-30-2008 12:58 PM
Hi all,
I used to have the pci-6602 and now I have the pci-6251.
When I use 1 counter for period measurements the software crashed when a high frequency burst arrives. This seems to be a common problem when using an avalanche photon diode. This has been widely discussed in this forum and from my understanding it has to do with an on board FIFO. It is also my understanding that when using daq instead of daqmx the software does not crash. Unfortunately, Labview 8 does not support daq.
If instead of period measurements I count photons per sampling interval (which I use the 80 MHz clock for) this problem seems to be fixed.
I don't understand why counting photons per sampling interval would "fix" the problem. What happens to the high frequency bursts in this case?
Thanks,
Eyal
10-30-2008 01:05 PM
I feel your pain, I've had a similar issue. It is my understanging that the sampling period gives the system time to compute the signals since it has to gather the period first before knowing what's in it. When sampling a duty cycle, it's quasi-real time and there's no wiggle room for sudden changes that cause overruns.
BTW, you can use Traditional DAQ on 8, it's just not supported by NI, but it does work. Worked last week.
10-31-2008 01:45 PM
Now it seems like I can not even use a 10MHz clock for binning. I get the following error:
11-04-2008 03:39 PM
Hi Eyal!
According to the specifications of the 6251, the maximum source frequency is 80MHz. This means that the counter can count pulses that are 12.5ns (1/80e-6) apart. I have a few questions on what you are trying to accomplish:
What is the input frequency range to be measured?
Are you using a shipped example (or modified version) in LabVIEW?
What counter task are you doing? Period, event, etc.?
How many samples are you reading at a time?
In regards to your error (-200141), the article linked below explains a little more on how buffered counting works:
Difference Between Finite and Continuous Buffer Mode for Counter Operations?
Cheers!
Jordan Fink