04-11-2006 10:39 AM
04-12-2006 12:55 AM
Hi Kevin,
Since the Counter values can be read, it implies the communication itself is alright (may not be 100%, though). Also, since you can turn-off the Relay outputs via Server Explorer that implies the RLY module itself is good, too.
Here's what I would try: there are 4 digita outs on the CTR module (channels 12-15). Setup some switches in your Lookout process to toggle them On/Off. And when this problem occurs next, try operating this switch. How will this help? I guess we will know if there's an issue with discrete operations (which is waht RLY are too). If these work too, but not the RLY, then I am not sure.. we may have to dig deeper.
Regards,
-Khalid
04-12-2006 02:27 AM
04-12-2006 10:01 AM
I am almost certain that going into the properties for the FieldPoint Object and clicking OK (don't have to change anything) will fix this as well. This essentially resets the FieldPoint Object. If this works, then reloading the Lookout process which has this FieldPoint Object would have the same effect.
If this works, and is an acceptable workaround in the interim for you, then we could make the process reload programmatically.
But, again, we should really get to the bottom of this -- with NI's help. Since you're using OPC, there are some diagnostic tools that you can use on and log these transactions. I don't think network speed would affect this.
Regards,
-Khalid
04-12-2006 12:37 PM
04-12-2006 03:14 PM
Kevin,
Yes, I meant the OPCFieldPoint Object. See if "resetting" this works.
As for the OPC diagnostic tools, there's an OPC "sniffer" available from Matrikon. This can capture the messages between Lookout (the OPC Client in our case) and FieldPoint (OPC Server). We could compare the messages when Lookout is able to write to the RLY outputs against when it is not able to. We may not be able to tell unless it's something obvious. In which case a developer from NI will have to analyse it and figure out the issue. So, you will want to start a Service Request with them.
http://www.matrikonopc.com/downloads/179/software/index.aspx
Regards,
-Khalid
04-12-2006 03:57 PM