I've attached my current benchmarking code in snippet
What I'm trying to do here is using PFI 10 (external TTL pulse from other device) as sample clock and PFI 11 is attached to a digital PMT so I can get photon count when receiving the external pulse.
I have to use external pulse because the experiment requires sending pulses in different frequency over time.
It seems fine when I'm using MAX test panel as the count goes smoothly up, however I'm facing 50% fail when using my external pulse to tell DAQ to make counter acqusition. The first acquisition success, second fail, third success, fourth fail, repeat. Am I doing something wrong making the external pulse failed to be recongnized by DAQ? My current benchmarking is using standard function generator so I don't think the changing interval between pulses caused the acqusition failing.