Re: [foxboro] Silence horns

Walter,
You can try the following in FoxDraw.  Build a button and as an operator 
action attach a display manager command like this

== 'COMPOUND:BLOCK.CIN' 1 script /opt/walter/my_script

This will run the script file if the COMPOUND:BLOCK.CIN is TRUE.  But it 
will only test the condition when the operator pushes the button.  As far 
as I know there is no way to constantly monitor a value and execute a 
script when an event is true from inside a graphic.  You could write a 
simple shell script that would do what you want by looping and checking the 
value, but there is some overhead associated with this.

Hope this helps.

Regards,
David




"A child of five could understand this. Fetch me a child of five."
         Groucho Marx

 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: