[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.3.5.7 Multiframe Cycling Picture Response (%K)

The Multiframe Cycling Picture Response command allows the user to show a series of loaded pictures in an endless loop. The pictures can come from any of the Cogsys picture loading/creating commands: Load Picture List, Load Referenced Pictures, or Create Pictures by CXR. The loop continues until the subject presses a key, which is then written to output.

Multiframe Cycling Picture Response takes a single triplet to specify the start picture, end picture and frames per picture that each image is to be displayed for.

Multiframe Cycling Picture Response will terminate Cogsys execution of the experiment if the (BREAKOUT_CHAR) key is entered.

Multiframe displays are synchronized to the monitor's raster beam, which ensures that an image is displayed for exactly the number of frames that the user specifies.

If a testlist uses any of the multiframe picture command (Multiframe Picture Display %J, Multiframe Cycling Picture Response %K, or Multiframe Picture Response %L), Cogsys empirically measures the frame rate before the experiment begins and appends lines to the output explicitly stating the refresh rate and frame speed for this experiment.

Name:
Multiframe Cycling Picture Response
Class:
Pictures
Code:
%K
Syntax:
%K[start,end,frames]
start and end are integers from 1 to one less than (MAX_UNIQUE_PICS)
frames is an integer from 1 to (MAX_FRAMES)

System:
Displays the pictures from start to end for frame pictures each.

Output:
The key pressed and time are written to output.

Requires:
Cogsys must be in a graphics mode, and the referenced pictures must be loaded.

Breakout:
YES

Test Files:
`MCPR_T01.IN'
tests basic operation

Examples:

input
%K[1,10,1]
cogsys
Continuously displays pictures 1 through 10 for one frame each in an endless loop, starting again with picture 1 after displaying picture 10.
subject
Presses z 1000 milliseconds after command starts.
output
z1000


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Usman Muzaffar on June, 28 2000 using texi2html