01-21-2008 01:20 PM
01-22-2008 10:37 AM
01-23-2008 04:41 AM
01-23-2008 05:12 PM
01-21-2021 10:43 AM
Dropping in my experience into this old thing in case it helps someone someday. I ran into a vaguely similar problem as malafronte did. In my case I was doing the following:
The result:
I added a statusCallback event to my Subscriber, and noted that during debugging I lost contact with the network variable - resulting in a statusCallback event being triggered. I quickly regained contact again, but that seems to trigger a dataCallback event, which resulted in the last value being "caught" again. In my case I also experienced some errors due to the lost connection.
So the CNVDataCallback event seems to be triggered at network variable reconnection, and also possibly at disconnection.
In my case I switched to using CNVBufferedSubscriber instead. I still lose connection during debugging (probably has to do with the lifetime of a network variable), but I'm at least warned by the statusCallback before trying to get any new values and getting stuck in a series of triggered events which multiplies my data.