11-21-2006 04:01 AM
11-21-2006 08:17 AM
" Please don't say go and read manuals."
I have trouble just keeping up with the rease and upgrade notes!
Take a look at
Help
>>> Browse
>>> Toolkits and Modules
>>> Datalogging and Supervisory Control
>>> Alarms and Events
>>> DSC event Structure Demo
It demonstrates how to use dynamic events to detect changes from tags (shared variables).
It sure beats the old polling methods.
Ben
11-21-2006 10:47 AM
11-27-2006 07:14 AM
Hi Soroush,
I have exactly such a problem. I think the solution should be using "Custom VI-on input change" I/O server. I was using Memory tags in previous version of DSC but I wonder if there's no substitute for it in DSC 8.0. As "Custom VI-on input change" is explained in DSC help I used it instead of memory tags but seem it doesn't work like memory tags.
Then what is this concept usage? Using Dynamic Events Ben suggests needs programming, then here's no any memory tag substitute?
11-27-2006 08:20 AM
Maryam wrote:
Then what is this concept usage? Using Dynamic Events Ben suggests needs programming, then here's no any memory tag substitute?
11-27-2006 06:41 PM
11-28-2006 01:29 AM
11-28-2006 02:35 PM
11-29-2006 06:36 AM
"For the short solution, you can use the Custom IO Server - Periodic to poll the OPC value from PSP and transform into a double value."
"Now I understand this is a polling solution"
----------------------------------------------------------------
I'm not looking for a polling solution. You edited the ServerVI_2 by placing a while loop. this is correct if perioding server is target, but LV help says that for creating an "on input change" server, the server VI must complete and finish its execution as soon as possible. even there is a hint that says NOT TO LEAVE ANY UNFINISHED WHILE LOOPS !
----------------------------------------------------------------
"Why the On Input Change does not work is because there is nothing writing to the input of the server. If you want to see the IO Server Run, create a variable and tell it to publish to the input of the On Input Change"
11-29-2006 02:52 PM