#[repr(C)]pub struct DMESSAGE {
pub time: f64,
pub type_: INT16,
pub length: UINT16,
pub text: [byte; 260],
}Expand description
@ingroup messaging \brief Message events: usually text but may contain binary data with floating point time.
A message event is created by your experiment program, and placed in the EDF file. It is possible to enable the sending of these messages back through the link, although there is rarely a reason to do this. Although this method might be used to determine the tracker time (the time field of a message event will indicate when the message was received by the tracker), the use of eyelink_request_time() and eyelink_read_time() is more efficient for retrieving the current time from the eye tracker’s timestamp clock. The eye tracker time is rarely needed in any case, and would only be useful to compute link transport delays.
Fields§
§time: f64< time message logged
type_: INT16< event type: usually MESSAGEEVENT
length: UINT16< length of message
text: [byte; 260]< message contents (max length 255)