Event on start of the experiment, before showing the experiment screen.

Namespace: ExpSuite
Assembly: FrameWork (in FrameWork.exe) Version: 0.10.2.0

Syntax

Visual Basic
Public Shared Sub OnExpShow ( _
	lType As Integer, _
	rectPos As RECT, _
	lFlags As EXPFLAGS _
)

Parameters

lType
Type: System..::..Int32
Experiment type (from Settings/Procedure/Experiment Type).
rectPos
Type: RECT
Position/size of the experiment screen (from Settings/Experiment Screen/Screen arrangment).
lFlags
Type: EXPFLAGS
Flags for the experiment procedure (from Settings/Experiment Screen/Screen Control).

Remarks

OnExpShow will be started on start of experiment and should be used to initialize the experiment setup, such as screen or input device.
Tasks to do, calling frmExp:
  • .Init to initialize the experiment screen according the selected experiment type
  • .SetResponseNames to set the captions on response buttons
  • .SetResponseButtons to assign the response buttons of HUI to reponses
  • .SetResponseKeys to assign the keyboard keys to responses
  • .SetRequestText to assing the correct request text on the experiment screen
  • After that, the experiment screen must be shown using frmExp.Show and moved/resized to the correct position/size using frmExp.SetSize. Then, you're done.

    See Also