Re: [foxboro] Printing the contents of a calc block

  • From: Winston Jenks <winston@xxxxxxxxxxxxxxxx>
  • To: foxboro@xxxxxxxxxxxxx
  • Date: Mon, 10 Mar 2003 08:29:41 -0600

Stan,

I think a little icc script would do the trick for you.  I think the guys 
at FeedForward have some nice  tools for remote administration. If not, 
then you could hook up the icc driver to an IP port with inetd, then use 
some Perl (or whatever) to send a few lines of icc driver commands to that 
port.  Voila magically your CALC block steps come back.  I messed around 
with this a while ago when the Calc Block Compiler was getting started.

Or (duh), forget the networking and pump this to 
/opt/fox/ciocfg/api/iccdrvr.tsk

OPEN MYAW51 READ getcalcs
GET MYCOMPND:MYBLOCK
CLOSE
EXIT

and your calc block steps come back.

You have to change MYAW51, MYCOMPND, and MYBLOCK to the name of your AW, 
compound and block.  You can also put multiple GET commands between the 
OPEN and CLOSE.




>Is there a way I can print the contents (that is the steps) of a calc block
>from the shell command line? Failing that is there a way to invoke the
>control configurator itself from the shell, given that I have a working X
>server on the other end of the ssh session?

Winston Jenks
Technical Director, Cape Software, Inc.

 
 
_______________________________________________________________________
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:             //www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: