Dear Sir/Madam,
I am conducting a dynamic light scattering (DLS) type experiment. I am using a SPAD type detector and Xseries PCIe 6351 DAQ from National Instrument.
The output of this detector is TTL pulses. So, I basically need to count the edges in some specific time bines. I need a 2D array with time bins as x and number of counts in each time bin as the y axis data, and preferably plot it on time so I can see the live results.
Would you please take look at my code attached to this email and see how can I fix the current issue.
Many thanks,
Maryam Torfeh Esfahani