Set the status of the output channels.

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

Syntax

Visual Basic
Public Sub SetOutputStatus ( _
	lCh As Integer, _
	lState As Integer _
)

Parameters

lCh
Type: System..::..Int32
Channel (0:left square, 1: right square)
lState
Type: System..::..Int32
State (see the list with available states)

Remarks

This function can be used to indicate the status of two channels in the bottom line of the main window, right to the status text. Depending on the lState, the background color of the squares changes. Four states are available:
  • 0: the standard case, color: grey, standard
  • 1: creating stimulation files, color: yellow
  • 2: playing or stimulating now, color: red
  • 3: intermadiate (e.g. break between stimuli), color: green
  • See Also