EXPORTED CLOCKS Dialog
- Unknown macro: {blue}: Each clock can be enabled/disabled. (CFG setting)
- Unknown macro: {blue}: Each clock signal can be phase shifted relative to the true start of frame/line/pixel. Only a positive phase shift (delay) is supported at this time. (CFG setting)
- Unknown macro: {blue}: (Only settable for Line Clock at this time). Specifies that clock signal is 'gated' by the parent clock (frame->line and line->pixel are parent/child pairs). Gating is required to prevent clock ticks when acquisition is not active. The default settings should apply for most cases.
When
Unknown macro: {blue}is selected, theUnknown macro: {blue}of the parent clock is added to the value for the child clock.
Enabling
Unknown macro: {blue}for the Line Clock suppresses clock tick for final line ifUnknown macro: {blue}is enabled in theUnknown macro: {report-info}panel. However, this preventsUnknown macro: {blue}values for Frame and Line clocks from being independent.
- Unknown macro: {blue}: Specifies if rising or falling edge signals the start of frame/line/pixel.
- Unknown macro: {blue}: Specifies at what fraction of the pixel period to generate the edge not specified by theUnknown macro: {blue}. Value must be < 1, to allow edge specified byUnknown macro: {blue}to occur at start of subsequent pixel period. (CFG setting)
- Unknown macro: {blue}: If false, the clock signals are only generated during GRAB/LOOP acquisitions, not FOCUS acquisitions. (USR setting)
Settings labeled as CFG settings are considered part of the ScanImage Configuration
and saved to CFG files. Different configuration files can save different values of this setting. This is useful, for instance, if you want the frame clock to be exported only for certain experiments, but not others.
Settings labeled as USR settings are considered part of ScanImage User Settings
and saved to USR files.
Configuring Exported Clocks in INI File
Each clock output requires a National Instruments counter/timer channel be used. These must be specified in the ScanImage INI file.
Both Board and Counter ID values must be specified – e.g.
&
must be specified to enable frame clock feature, etc.
Note that Ctr0 on the primary board (
) is reserved by ScanImage, and not available for frame/line/pixel clocks
Frame/Line/Pixel 'End' Edge
For the exported clock signals, the edge not specified by
signifies the 'end' of each Frame/Line/Pixel. The timing/meaning of the 'end' is as follows:
- Frame/Line Clocks: The 'end' of Frame/Line occurs means acquisition has ended for current frame/line, while acquisition for new frame/line has not begun. This occurs at the start of the scanner flyback or turnaround time at end of line, or end of last line in frame.
- Pixel Clock: The Pixel clock handling is different because there are no gaps between pixel periods; thus the location of the 'end' edge must be user specified (via Pixel Fraction).
DAQ Board Considerations
The Frame/Line/Pixel clock feature is most powerful with new X series boards. Future ScanImage versions may be able to get more functionality out of other/earlier board families, but this cannot be guaranteed as a development priority.
- Finite clock generation is only possible with X series boards
. When using a non-X series board, additional clock 'ticks' may appear after acquisition is finished, because the counter output is actually stopped in software.
- Consequently, pixel clock generation – which requires finite clock generation – is only possible with X series boards
at this time.
- X series boards
have 4 counter/timer channels, while other board families have only 2 counter/timer channels