OptiCAL
>Psychtoolbox>PsychHardware
OptiCAL - Psychtoolbox IOPort interface to the CRS OptiCAL luminance
meter device
Usage:
>> handle = OptiCAL(‘Open’, port)
>> lum = OptiCAL(‘Read’, handle)
>> OptiCAL(‘Close’, handle)
>> OptiCAL(‘CloseAll’)
Inputs:
command - string ‘Open’, ‘Read’, ‘Close’, or ‘CloseAll’
port - string device (e.g. ‘/dev/ttyS0’)
handle - double handle
Outputs:
handle - double handle
lum - luminance in cd/m^2
Note:
Requires read and write access to the serial port (Ubuntu: add user to
the dialout group). Not yet tested with USB-to-serial adapters.
References:
[1] Haenel, V. (2010). Pure python interface to CRS OptiCAL. Retrieved
October 18, 2012 from https://github.com/esc/pyoptical.
[2] Cambridge Research Systems. (1995). OptiCAL user’s guide v4.02.
Retrieved October 18, 2012 from
http://support.crsltd.com/ics/support/DLRedirect.asp?fileID=63194
[3] Cambridge Research Systems. (2009). OptiCAL user’s guide v4.02
errata. Retrieved October 18, 2012 from
http://support.crsltd.com/ics/support/DLRedirect.asp?fileID=63194
Author: Andreas Widmann, University of Leipzig, 2012
Psychtoolbox/PsychHardware/OptiCAL.m