04-20-2006 10:50 AM
04-21-2006 08:24 PM
04-24-2006 07:34 AM - edited 04-24-2006 07:34 AM
Message Edited by Kahless on 04-24-2006 07:35 AM
04-24-2006 09:16 AM
04-24-2006 01:18 PM
I've also pulled up the tag monitor while the software is running and can see there that the Tag Engine appears to only be updating about 1/sec.
Any further ideas will be very much appreciated.
04-24-2006 01:27 PM
If you're using Read tag VI, and haven't wired anything to the timeout input, what is the loop-rate for this piece of code? That will determine how often you read the Engine. You can set the loop rate to your desired rate and then observe the 'changed?' output (or the timestamps) to see if you're getting new/stale values.
As for in Tag monitor, I don't think you can specify an update rate -- but you can try refreshing from the View menu.
Finally, what is the poll-rate for the driver objects in Lookout? This would determine when you actually acquire the data.
Hope this helps.
-Khalid
04-24-2006 01:42 PM
04-24-2006 01:46 PM
So, when you read the tag in the loop, what do the timestamps say?
I believe you're using the Lookout Protocol Drivers, right? I don't have that right now, but you should be able to modify the Objects' properties (under "Modify" menu??). Here will be the Poll field. 0:01 is one second. 0:0.1 is 1/10th of a second, and so on.
Regards,
-Khalid
04-24-2006 02:09 PM
Khalid,
Right at this time, I don't have the ability to throw an indicator into the code and run it to display as the stand is currently running clearing out a backlog that occurred over the last couple weeks. That's why I had loaded the tag monitor while they run, and could see there that the values updated (and were timestamped) about every second. I may try getting in there to accomplish what you suggest when they should be shutting down in about an hour and a half (if below doesn't work). Does the tag monitor not update whenever there is a value change (and update the timestamp accordingly)? That's what I understood from what I've read about it.
I think you may have pegged it though on how the server was configured. I went into the server explorer and found a setting under LookoutOPCServer->Properties->Groups titled "Update Rate (msec)" which is currently set to 1000. I'm going to try this out and will repost afterwards (hopefully when it works :)).
Thank you much (again) for your valueable time,
Sean
04-24-2006 03:38 PM