[Psychtoolbox v2.50]: ScreenTest error

I traced the error to line 55 in the DescribeScreen routine where Framerate
is called.

Screen test was run in Classic (9.2.2) - don't know why the DescribeComputer
routine reports Mac OS 9.2 - with Mac OS X 10.1.5.

------

ScreenTest
*** Chris Chase's Classic Mac OS Compatibility/499, Mac OS 9.2 ***********
G3, 500 MHz, memory bus 67 MHz, 8.961 Mflop/s
Psychtoolbox 2.5, 25 June 2002, Matlab 5.2.1.1421
*** Screen 0 *************************************************************
??? Chase:Applications (Mac OS
9):MatLab:Toolbox:exptTools:screenTools:openScreen.m: Can't open file.

??? Reference to non-existent field 'res'.

Error in ==> Chase:Applications (Mac OS
9):MatLab:Toolbox:Psychtoolbox:PsychBasic:CloseScreen.m
On line 39 ==> if res.mode ~= screenGlobal(screenNumber+1).res.mode


Warning: Ignoring error 1 in attempt to run "CloseScreen.m".
??? Error 1 in attempt to run "OpenScreen.m".

Error in ==> Chase:Applications (Mac OS
9):MatLab:Toolbox:Psychtoolbox:PsychBasic:SCREEN.mex
Error in ==> Chase:Applications (Mac OS
9):MatLab:Toolbox:Psychtoolbox:PsychOneliners:DescribeScreen.m
On line 58 ==>
[card,driver,driverVersion,slotName]=SCREEN(screenNumber,'VideoCard');

Error in ==> Chase:Applications (Mac OS
9):MatLab:Toolbox:Psychtoolbox:PsychTests:ScreenTest.m
On line 431 ==> DescribeScreen(screenNumber);

Error in ==> Chase:Applications (Mac OS
9):MatLab:Toolbox:Psychtoolbox:PsychTests:ScreenTest.m
On line 422 ==> ScreenTest(screenNumber);


---------
Chris Chase, Ph.D.
Associate Professor of Psychology
Claremont McKenna College
850 Columbia Ave.
Claremont, CA 91711

chris.chase@...
909-607-3668
>I traced the error to line 55 in the DescribeScreen routine where Framerate
>is called.
>
>Screen test was run in Classic (9.2.2) - don't know why the DescribeComputer
>routine reports Mac OS 9.2 - with Mac OS X 10.1.5.
>
>------
>
>ScreenTest
>*** Chris Chase's Classic Mac OS Compatibility/499, Mac OS 9.2 ***********
>G3, 500 MHz, memory bus 67 MHz, 8.961 Mflop/s
>Psychtoolbox 2.5, 25 June 2002, Matlab 5.2.1.1421
>*** Screen 0 *************************************************************
>??? Chase:Applications (Mac OS
>9):MatLab:Toolbox:exptTools:screenTools:openScreen.m: Can't open file.
>
>??? Reference to non-existent field 'res'.
>
>Error in ==> Chase:Applications (Mac OS
>9):MatLab:Toolbox:Psychtoolbox:PsychBasic:CloseScreen.m
>On line 39 ==> if res.mode ~= screenGlobal(screenNumber+1).res.mode
>
>
>Warning: Ignoring error 1 in attempt to run "CloseScreen.m".
>??? Error 1 in attempt to run "OpenScreen.m".
>
>Error in ==> Chase:Applications (Mac OS
>9):MatLab:Toolbox:Psychtoolbox:PsychBasic:SCREEN.mex
>Error in ==> Chase:Applications (Mac OS
>9):MatLab:Toolbox:Psychtoolbox:PsychOneliners:DescribeScreen.m
>On line 58 ==>
>[card,driver,driverVersion,slotName]=SCREEN(screenNumber,'VideoCard');
>
>Error in ==> Chase:Applications (Mac OS
>9):MatLab:Toolbox:Psychtoolbox:PsychTests:ScreenTest.m
>On line 431 ==> DescribeScreen(screenNumber);
>
>Error in ==> Chase:Applications (Mac OS
>9):MatLab:Toolbox:Psychtoolbox:PsychTests:ScreenTest.m
>On line 422 ==> ScreenTest(screenNumber);
>
>
>---------
>Chris Chase, Ph.D.
>Associate Professor of Psychology
>Claremont McKenna College
>850 Columbia Ave.
>Claremont, CA 91711
>
>chris.chase@...
>909-607-3668
>

dear chris

thanks for the report. there are TWO problems here:

1. is a name conflict. The PsychToolbox has a new file called
OpenScreen.m that resides in PsychBasic. However, you have your own
file with essentially the same name:
Chase:Applications (Mac OS 9):MatLab:Toolbox:exptTools:screenTools:openScreen.m

because of this conflict, you never ran the Psychtoolbox OpenScreen.m

2. CloseScreen.m is meant to cope with the situation of being run
despite OpenScreen.m not having been run, and it apparently is
assuming the screenGlobal.res exists, when it doesn't. We'll fix that
immediately.

Are the "expTools" yours? Can your "openScreen.m" be renamed? (MATLAB
usually ignores upper/lowercase distinctions)

>Screen test was run in Classic (9.2.2) - don't know why the DescribeComputer
>routine reports Mac OS 9.2 - with Mac OS X 10.1.5.

surprises me too, but that's harmless.

best

denis