Re: [foxboro] Current Date & Time

Should look something like this:
:S2AW01DMCMD :=3D "dmcmd applic /opt/lts/data_acq/failed_e2.sh &";

Replace S2AW01 with your host id and replace
"/opt/lts/data_acq/failed_e2.sh" with the path to your script.


-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx]
On Behalf Of Lango, Trevor M (GE Contractor)
Sent: Thursday, 28 February 2008 11:14 AM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] Current Date & Time

Does anyone know of a way to set a block parameter (i.e. SN0001 of a DEP
block) to the current system date and time?  I can do it with an
external shell script executed from a display command; however, I want
the date/time to be updated based on another block parameter, not an
operator action.  On a related note, does anyone know of a way to
execute a shell script from an I/A block?



=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D=
3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D
=3D3D=3D
=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D=
3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D=3D3D
=3D3D=3D
=3D3D=3D3D
Trevor M. Lango
Controls Engineer, R. J. Roberts, Inc.
Tesoro Petroleum, Golden Eagle Refinery
150 Solano Way, Martinez, CA 94553
Phone: (925) 228-1220 ext. 2338
Fax:   (925) 335-3582
Email: tlango.contractor@xxxxxxxxxxx
=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:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave
=20


=0A=0ANOTICE - This message and any attached files may contain informatio=
n that is confidential and intended only for use by the intended recipien=
t. If you are not the intended recipient or the person responsible for de=
livering the message to the intended recipient, be advised that you have =
received this message in error and that any dissemination, copying or use=
 of this message or attachment is strictly forbidden, as is the disclosur=
e of the information therein. If you have received this message in error =
please notify the sender immediately and delete the message.
 
 
_______________________________________________________________________
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: