Re: [foxboro] Open display command and Alarm manager configurator

  • From: "Boulay, Russ" <russ.boulay@xxxxxxxxxxxxxxxx>
  • To: <foxboro@xxxxxxxxxxxxx>
  • Date: Thu, 28 Sep 2006 15:30:45 -0400

When you validate and create the install files the .cfg files must then
be copied to /usr/fox/customer/alarms/cfg directory and the alarm
manager must be restarted to implement

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]
On Behalf Of Ngozi.Kalu@xxxxxxxxxxxxxx
Sent: Thursday, September 28, 2006 3:14 PM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] Open display command and Alarm manager configurator

Hi all,

I added some buttons to the Alarm MAnager Current Alarm Display (CAD) =
=3D
and these should run scripts to open a Foxdraw display.

I save, validate and create instal files on the AM configurator,  then =
=3D
on restarting the DM, the scripts don't run (or I should say, the =3D
displays don't open).

Does anyone know what I'm not doing correctly here.

Here are the scripts to open the displays:

1.=3D20
#!/bin/sh
LBUS=3D3D$1
/usr/local/pref -$LBUG dmcmd "ov /<<filepath/file.fdf>> -sticky -ontop =
=3D
2"

2.
#!/bin/sh
CB=3D3D"$1"    #Compound Block Name
TYPE=3D3D"$2"  #Alarm Type
LBUG=3D3D"$3"  #Station
/usr/local/pref -$DMNAME dmcmd "/<<filepath/file1.fdf>>"
sleep 1
/usr/fox/wp/bin/tools/show_win "FoxView $GCLBUG:$DMNAME"
pref -$DMNAME dmcmd "=3D3D P1 $CB"
sleep 2
/usr/local/pref -$DMNAME dmcmd "/<<filepath/file2.fdf>>"


Thanks,

Ngozi Kalu

Albian Sands Energy Inc
P.O. Box 5670, Fort McMurray, Alberta, T9H 4W1, Canada

Tel: +1-780-7134767=3D20
Email: ngozi.kalu@xxxxxxxxxxxxxx
Internet: http://www.albiansands.ca



=20
=20
_______________________________________________________________________
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
=20
foxboro mailing list:             //www.freelists.org/list/foxboro
to subscribe:         =
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin
to unsubscribe:      =
mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave
=20

 
 
_______________________________________________________________________
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: