Hi,
I have download the new version CToolKit ( Revision V1.0.0.0 / 05/18/2010 ), and found that a new function is added:
static void ProcessIOArea ( ) ------ cifXInterrupt.c
It seems that this function can be used by NETX to notify (to the host) Process Data is changed. Right?
Another question :
Which version of Ethernet/IP firmware supports this mechanism ?
V2.1.19 or other ?
M T
Hilscher Gesellschaft für Systemautomation mbH
As you see the function "ProcessIOArea()" is a static function and used inside the Toolkit. If you want to get a notification for different Events please use the appropriate cifX API Function, which is "xChannelRegisterNotification()" and "xChannelUnregisterNotification()" in this case. These functions are described in the latest cifX Device Driver Manual (chapter "API")
Note that notification callbacks only work for devices in interrupt mode. These functions are not firmware dependent as this is a Toolkit feature which notifies the user of changed handshake flags inside the dual ported memory (DPM). These functions only reflect changes of the Handshake bits inside the DPM and NOT changes of the data on the bus.
BTW: There has been a slight mistake in the cifX Toolkit V1.0.0.0 concerning interrupt mode. If a device with a system channel only is used in interrupt mode, the Toolkit may access a NULL pointer in this case. The following fix will be included in the next version:
Regards,
MT