User manual

Table Of Contents
FieldMaxII-TO User Manual
50
‘Start the data check timer
ScanForData.CheckTimer m_DevicesList
The device and device collection object may be persisted
to extend the lifetime of these objects beyond the scope
of the callback.
When a meter is removed, the DevicesList will be
current but the CallbackData.DeviceIndex search key
will not be valid since the device is gone.
Data Transmission
Notifications
Data transmission notifications are dispatched to the
application code through the IFM2DeviceEvents_
NotifyData callback method. The CallbackData object is
passed to the application. Data transmission types are
steered by testing the CallbackData.CallbackEvent
string. The CallbackEvent string will be one of the
following:
“Fault”
“ProbeRemoved”
“ProbeAdded”
“PowerOn”
“PowerOff”
“MeasurementData”
“PacketIsOverrange”
“OverTemperature”
“MeasurementDataLost”
A reference to the cFM2Device object from which this
callback comes is obtained by indexing into the
DevicesList collection (persisted through the Notify-