Looking for up-to-date ScanImage documentation? That has moved here: docs.scanimage.org
Skip to end of metadata
Go to start of metadata

This feature is only available with the Resonant Scanning imaging system.


ScanImage 2016 can use photon counting modules instead of standard PMTs. A photon counting head / module consits of a PMT and a subsequent photon counting circuit. This circuit generates a TTL pulse of a defined duration when a photon is detected. ScanImage samples this TTL pulse using the auxiliary digital inputs PFI0-3 of the NI 573x digitizer modules.


To configure photon counting for ResScan, add the following entries to the Machine Data File:

The setting photonCountingDebounce can be used to clean up a noisy signal. The delay introduced by photonCountingDebounce can be eliminated by adjusting the value for the scan phase in Configuration Controls.



To be detected by the digitizer, the duration of the pulse output by the photon counting module needs to be longer than the sample period of the digitizer module. See the list below for the sample duration of digitizers typically used with ScanImage.

DigitizerSample RateMinimum Pulse
NI 573280 MHz12.5 ns
NI 5733120 MHz8.4 ns
NI 5734120 MHz8.4 ns

Photon Counting Modules cannot discriminate multiple photons arriving in a small time interval. After a photon arrives, the photon counting circuit outputs a high pulse followed by a low signal of a specified duration. During this output time, the photon counting circuit ignores all photons arriving at the PMT.

This makes photon counting modules only suitable for applications where a low photon rate is expected.


The digital inputs on the SCB-19 are unterminated single ended inputs. To impedance match the 50Ohm BNC cable used for connecting the photon counting module to the SCB-19 breakout, use a 50Ohm resistor between the PFIx and GND rail of the breakout.

Wiring for Photon Counting Modules


Photon Counting Modules that output a TTL pulse for each detected photon are connected to the digital I/O port on the NI573x digitizer module using a NI SCB-19 breakout box.

  • No labels