Event

Top  Previous  Next

Message

 

Event: <eventname> [<timestamp>]

 

In full, there are several possible formats. Below, some are shown literally for an event called "PictureTouched".

 

Event: PictureTouched

 

... minimal

 

Event: PictureTouched (18005) 572 827 [18376]

      event          video   x   y   timestamp

                     t'stamp         []

                     ()

 

... event from a video object with video timestamps (round brackets), event coordinates (no brackets), and event timestamps (square brackets) all turned on

 

Originator

 

Server

 

Details

 

A line, timer or display touch/click event has occurred. This is the main message that the client needs to set up and respond to. It is always sent to the main socket.

 

SDK Control

 

WhiskerEvent fires (Visual Basic: calls Control_WhiskerEvent Sub), with the EventMessage and Time parameters set to the appropriate values.

 

ClientLib

 

virtual CWhiskerTask::IncomingEvent() is called – if your task overrides this function, the override will be called with the strEvent and lTime parameters set to the appropriate values.        

 

Examples

 

Event: SEEKING_LEVER_PRESSED_BOX_3

Event: ITI_expired

 

Revision history

 

Implemented in WhiskerServer version 1.

Video timestamps in version 4.0.

 

See also

 

LineSetEvent
TimerSetEvent
DisplaySetEvent
DisplayEventCoords
Timestamps
VideoTimestamps