Scope
Example config for a two-area nbeam FPGA/DAQmx system using two NI-6259 cards and a NI-7962R FPGA with NI FlexRIO 5771 adapter module (analog/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. PMT pulses are amplified and directly connected to the AI 0 and AI 1 connectors of the 5771. You also have to connect the amplified laser pulses from the MaiTai back BNC connector to the comparator that generates TTL output pulses and from there to the TRIG input of the 5771. 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_FPGAANALOGDEMULTIPLEXER_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.