09-19-2005 11:08 PM
09-21-2005 11:49 AM
09-21-2005 02:07 PM
You can poll the Response datamember to see if it's not null. One quick way would be to AND it with a pulse timer (of required poll-rate).
-Khalid
09-21-2005 11:17 PM
Thanks All,
Comparing recieved data values for changes is not helpful because the data is latched by the lookout object and on many occasions the recieved data may be exactly the same - yet still needs to be sampled and logged for SPC control processing.
However after further investigation I have found that the "UPDATE" flag immediately pulses LOW and remains HIGH after unsolicited reception while under normal operation it goes LOW and remains LOW until a data response is recieved when using the SEND command.
Therefore monitoring this flag for a POSITIVE transition rather than a Negative transition (as per manual) when recieving unsolicated data seems to work OK.
Many thanks again for all the responses.