PR705config

>Psychtoolbox>PsychHardware>PR705Toolbox

PR705config - Update the PR-705 configuration.

Syntax:
config_str (string) = PR705config
errcode (scalar) = PR705config(‘Option1’, value1, ‘Option2’, value2, …)

Description:
A wrapper for setting various options on the PR-705 using the ‘S’
command. With no input arguments, the function merely returns the device’s
current configuration string. In the multiple input arguments case, here
are the case-insensitive options and the values they take:
Lens ID Number of PRIMARY accessory
Add1 ID Number of 1st ADD ON accessory
Add2 ID Number of 2nd ADD ON accessory
Aperture ID Number of Aperture
Units 0 for English
1 for Metric
ExposureTime 0 - Adaptive
25 … 60000 ms
CaptureMode 0 - Single Capture
1 - Continuous Capture
Cycles 1 .. 99 - Number of Captures to average
CalcMode 0 - Power
1 - Energy
TriggerMode 0 - Manual
1 - External
ViewShutter 0 - Open During Measurement
1 - Closed During Measurement
CIEObserver 0 - 2 Degree
1 - 10 Degree

Example:
errcode = PR705config(‘Lens’, 0, ‘Units’, 1, ‘Cycles’, 2, ‘ViewShutter’, 1);

12/06/12 zlb Wrote it.

Path   Retrieve current version from GitHub | View changelog
Psychtoolbox/PsychHardware/PR705Toolbox/PR705config.m