Available on macOS
Interface to a University of Washington Quad Channel Laser Modulator (QCUALOR) device.
This component allows an MWorks experiment to configure the modulator and, optionally, active/deactivate it. See meg_state for more information.
Filesystem path that represents the serial port to which the QCUALOR device is connected.
If omitted, MWorks looks for a single, connected serial device. If it finds one, it assumes it to be the desired QCUALOR device and attempts to connect.
Mode (i.e. waveform) for channel 1
Mode (i.e. waveform) for channel 2. Support the same options as mode_1.
Mode (i.e. waveform) for channel 3. Support the same options as mode_1.
Mode (i.e. waveform) for channel 4. Support the same options as mode_1.
Modulation frequency (in hertz). Must be between 0.5 and 500.
The modulator supports a fixed set of modulation frequencies, indexed by
integers ranging from 0 to 255. MWorks converts the requested
frequency to an index via the following equation, where
log is the
index = round(255.0 * log(frequency / 0.5) / log(500.0 / 0.5))
Gain (i.e. amplitude) for channel 1. Must be between 0 and max_gain.
Gain (i.e. amplitude) for channel 2. Must be between 0 and max_gain.
Gain (i.e. amplitude) for channel 3. Must be between 0 and max_gain.
Gain (i.e. amplitude) for channel 4. Must be between 0 and max_gain.
Maximum allowed gain for each channel. Must be between 0 and 1.
If the same variable is used to set the state of a digital output line (e.g. via a DATAPixx Bit Output Channel), and said output line is connected to the QCUALOR device’s Modulation Enable Gate (MEG), then Start IO Device will configure and activate the modulator, and Stop IO Device will deactivate it.
If this parameter is omitted, or if the assigned variable does not control a digital output connected to the device’s MEG input, then Start IO Device will send the configuration commands to the modulator, but the experiment must explicitly set the MEG state to high to apply the configuration and activate the device. Similarly, Stop IO Device will send commmands to set all channel modes to “off” and gains to zero, but the experiment must explicitly set the MEG state to low to deactivate the modulator.
YES, the device will start I/O automatically (as if by an
implicit Start IO Device action) when the experiment starts running.
Note: Device I/O will always stop automatically when the experiment stops running, irrespective of this setting.
Alternative device to use if this one fails to initialize (e.g. because the required hardware is not available). If
#allowAltFailover is set to 0 or false, this parameter is ignored.
Allowed at top level: