Scope
Example config for a two-area nbeam FPGA/DAQmx system using two NI-6259 cards and a NI-7962R FPGA with NI FlexRIO 6587 adapter module (digital demultiplexing).

In this configuration the concept is to have one scanner but two areas.

Conceptually, in Scope the first area is the so called master area, the second one the slave area. That means for the first area you can change resolution, pixel time, scan mode etc - it "owns" the scanner. For the second area you can only change fast z and Pockels. Thus the first 6259 card outputs scannerxy/fastz/Pockels signals, the second 6259 card outputs only fastz/Pockels. As in the photon counting one-area example PMT pulses are amplified, converted to LVDS, and read with the NI 6587 card (Channel 1 on IO_1, channel 2 on IO_2). You also have to connect the amplified laser pulses from the MaiTai back BNC connector to IO_0. The FPGA does the demultiplexing (see Wiki).

Copy ScopeDefinesExamples.h (which is in the repository) to ScopeDefine.h by using Windows Explorer (not Visual Studio!). Git ignores ScopeDefines.h so that you can adapt this to your needs without messing up for other people. Now choose the following defines in ScopeDefines.h

  • #define SCOPE_NAREAS 2
  • #define SCOPE_USE_SIMPLEDAQMX_OUTPUTS
  • #define SCOPE_USE_FPGADIGITALDEMULTIPLEXER_INPUTS and xyz hardware as you want it e.g. #define SCOPE_USE_NOXYFPUSTAGE and #define SCOPE_USE_GALIL_XYZSTAGE. Then compile your scope.exe.