Icon
This documentation is for a legacy ScanImage version. The current documentation is ScanImage 2019.
Skip to end of metadata
Go to start of metadata

PHOTOSTIMULATION CONTROLS Panel
Sequence mode (left); on-demand mode (right)

 

Overview


The PHOTOSTIMULATION CONTROLS panel is used for configuring and controlling execution of 2D-scanned stimulation patterns.

Icon

The PHOTOSTIMULATION CONTROLS panel can be accessed by clicking the "Edit Photostim" button or selecting View->Photostim Controls from the MAIN CONTROLS windows.

Main Panel


Set photostim module to operate in either sequence or on-demand mode. See concepts guide for details on each operating mode.
Set the PFI terminal to trigger the start of a stimulus pattern.
Specify a PFI terminal to synchronize the start of triggered stimulus patterns to a periodic signal (eg a frame clock).

Execute a stimulus immediately on start, rather than waiting for a trigger. The specific behavior depends on operating mode:

  • Sequence mode
    • When checked, the first stimulus of the sequence will be triggered immediately when the module is started. Subsequent patterns in the sequence will start with subsequent triggers.
    • When not checked, no stimulus will occur when the photostim module starts. The first stimulus and subsequent stimuli will execute when triggers are received.
  • In on-demand mode
    • When checked, a stimulus will execute as soon as an on-demand stimulus request is made.
    • When not checked, an on demand stimulus request will cause the desired stimulus to be primed, but it will wait for a trigger before it actually executes.

 

Lists the stimulus groups that have been configured by their ID and name. A stimulus group consists of one or more stimulus patterns that execute as a continuous waveform.

Icon

You can double click a stimulus group in this list to open it in the stimulus editor. When the photostim module is started in on-demand mode, double clicking a group will execute an on-demand stimulus request on that group. The list background turns red in this mode to help you remember the change in functionality.

Moves the selected stimulus group up in the list.
Moves the selected stimulus group down in the list.
Makes a duplicate copy of the selected stimulus group
Creates a new empty stimulus group
Opens the stimulus editor to edit the selected stimulus group
Deletes the selected stimulus group

Sequence Mode


Specifies the sequence of stimulus groups by ID.
Specifies the number of times the complete sequence should be iterated through before the experiment is complete and the photostim module automatically aborts.

On-Demand Mode


Indicates whether a stimulus should be allowed to be triggered multiple times after an on-demand request is made.

  • When checked, after an on-demand request, the requested stimulus can be triggered multiple times
  • When not checked, after an on-demand request, the requested stimulus can be triggered once. Subsequent triggers will do nothing until another on-demand stimulus request is made.

Enables hotkeys when the photostim module is started in on-demand mode. Hotkeys are:

  • 0-9: Hitting a number key between 1 and 9 will execute an on-demand stimulus request on that group. Hitting the zero key N times then hitting non-zero key X will execute a request for stimulus group (10*N+X), eg a key sequence of 0-0-4 will execute a request for stimulus group 24.
  • t: Send a soft trigger signal
  • s: Send a soft sync sugnal
  • a: Abort the photostim module

 

Specifies PFI terminal that triggers an external stimulus request
Specifies PFI terminals to read when external stimulus request is made
Specifies stimulus groups that correspond to each PFI terminal specified above

Stimulation Controls


Enables logging of stimulus outputs to disk
Enables a real-time overlay of galvo positions in channel image windows
Starts or aborts photostim module
Sends a soft trigger signal
Sends a soft sync signal
Indicates the status of the photostim module