User`s manual
Events and Callbacks
8-51
Functions” on page 8-52, these two fields are associated with a structure that
you define in the callback function header. Refer to “Debugging: Recording
Information to Disk” on page 8-62 to learn about recording data and event
information to a record file.
The event types and the values for the
Type and Data fields are given below.
The
Data field values are described below.
Table 8-10: Event Information
Event Type Field Field Value
Break interrupt Type BreakInterrupt
Data.AbsTime
day-month-year hour:minute:second
Bytes available
Type BytesAvailable
Data.AbsTime
day-month-year hour:minute:second
Error
Type Error
Data.AbsTime
day-month-year hour:minute:second
Data.Message An error string
Output empty
Type OutputEmpty
Data.AbsTime
day-month-year hour:minute:second
Pin status
Type PinStatus
Data.AbsTime
day-month-year hour:minute:second
Data.Pin CarrierDetect, ClearToSend,
DataSetReady, or RingIndicator
Data.PinValue on
or off
Timer Type Timer
Data.AbsTime
day-month-year hour:minute:second