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

  • From: "Perez, Claudio" <CPerez@xxxxxxxxxxxxxxxx>
  • To: <foxboro@xxxxxxxxxxxxx>
  • Date: Fri, 29 Sep 2006 13:39:49 -0300

May be this helps:=20
The second line of the first script should be LBUG not LBUS.

Regards
Claudio A. Perez
Sr. Control Systems Eng.
T=DCV FSEng. ID. Nr.: 0082/05
PROFERTIL S.A.
(54) 291 459-8139
cperez@xxxxxxxxxxxxxxxx
www.profertil.com.ar



-----Mensaje original-----
De: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]En
nombre de Ngozi.Kalu@xxxxxxxxxxxxxx
Enviado el: Jueves, 28 de Septiembre de 2006 16:14
Para: foxboro@xxxxxxxxxxxxx
Asunto: [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: