Stan, Let's say you have a calc block named COMP01:CAL12345 in 01CP01, you can run this shell script (as root) on an AW: #!/bin/sh cd /opt/fox/ciocfg/api ./iccprt -p -n COMP01:CAL12345 -o /tmp/iccprt.out 01CP01 nawk '{if ($1 == "NAME" || $1 == "DESCRP" || $1 ~ /STEP/) print $0 if ($1 ~ /M[012][0-9]/ && $3 != "0\.0") print $0 if ($3 ~ /\:/ && $3 ~ /\./) print $0 }' /tmp/iccprt.out rm /tmp/iccprt.out It'll print out all relevant connections, memory registers, and steps. The modifications needed to take the blockname and CP as command line parameters are left as an exercise to those who are curious. Duc -----Original Message----- From: stan [mailto:stanb@xxxxxxxx] Sent: Monday, March 10, 2003 8:30 AM To: Foxboro List Subject: [foxboro] Printing the contents of a calc block 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? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ _______________________________________________________________________ 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