User Tools

Site Tools


jvs:cigal:showplay:manual:chapter4:eventcode

ShowPlay Reference Manual, Chapter 4 (StimulusEvents): EventCode

EventCode -- Stimulus event code

The EVENTCODE is a user-defined 32-bit integer identifier specified in the second column of a Showplay Stimulus table. The EVENTCODE code can be used in a variety of different ways. EVENTCODE values will be recorded in the output log, so the simplest usage of EVENTCODEs is to provide an event record to aid in identifying particular task events.

Showplay also provides a variety of automated options for assigning specific meaning to the stimulus EVENTCODE code.

Send code value to external devices

If the 2 bit in the Event Flag (or Globalflag) parameter is set, the EVENTCODE value will be sent to the ShowPort device at the onset time for the specified event. By default, the low 8 bits of the EVENTCODE value will be sent, but that can be changed by setting the Showportmask parameter.

Use the EVENTCODE as an index into one or more event coding tables

Use the EVENTCODE to specify the correct response to a stimulus event

jvs/cigal/showplay/manual/chapter4/eventcode.txt · Last modified: 2023/02/23 18:43 (external edit)