Re: [foxboro] hlbl msglin
- From: "Doucet, Terrence" <tdoucet@xxxxxxxxxxxxxxxxxx>
- To: <foxboro@xxxxxxxxxxxxx>
- Date: Sat, 20 Oct 2007 11:32:08 -0400
Tim,
Have you tried using the cron function to run the script every 30 seconds or
have user_apps.dat start a script that calls your script file then sleeps for
30 seconds,
If you do not have too many ACCUM blocks, it is possible to use peer
connections so that if your peer initializes, then the "current total" in the
other CP is used to start off the ACCUM total. This is most secure but does
require peer. Let me know if you'd like more details on this.
Terry
________________________________
From: foxboro-bounce@xxxxxxxxxxxxx on behalf of Lowell, Timothy
Sent: Fri 10/19/2007 10:40 PM
To: foxboro@xxxxxxxxxxxxx
Subject: Re: [foxboro] hlbl msglin
I have a follow-up question on this. We have a sequence block that kicks off a
script file every 30 seconds which records the value of some important
totalizers into a text file. The idea is, if the CP should fail and set the
totalizers to zero, this sequence block will run upon the initialization of the
CP and read the text file it has been writing to every 30 seconds and omset the
totalizer values back to what they should be.
This works well, but the problem is, the sequence code uses the :AW0101DMCMD
call to kick off the script, and every time it does, this gets recorded to the
OAJ. This means there are 2880 useless messages per day in the OAJ.
Is there a way to kick off a script from a sequence block so that no message
gets recorded to the OAJ? This script uses wp_applic to invoke the script, and
I was wondering if using just applic would work better. Does anyone know?
Tim
----- Original Message -----
From: foxboro-bounce@xxxxxxxxxxxxx <foxboro-bounce@xxxxxxxxxxxxx>
To: foxboro@xxxxxxxxxxxxx <foxboro@xxxxxxxxxxxxx>
Sent: Fri Oct 19 21:29:42 2007
Subject: Re: [foxboro] hlbl msglin
If memory serves, the object is to have the Sequence block
set the DM/FV variable "DMCMD" with the text of a display
manager command.
That variable can be accessed from outside the DM/FV by using
a name which is the DM/FV name followed by the variable name
"DMCMD". So, for FoxView name 05WP01, the variable is named
05WP01DMCMD.
In Sequence code an OM name is preceded by ":", so the statement
to set it is:
: 05WP01DMCMD := "dmcmd msglin Hola"
Be careful to remember that if the DM/FV instance isn't running,
the Sequence block gets a -1 error (because the variable doesn't
exist), also that it will fail the same way if the DM/FV station
is dead or is rebooting, etc. There are also some nodebus conditions
which can also make the command fail, at least temporarily, so it
is a good idea to have an error handler.
William C Ricker
FeedForward, Inc.
-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On
Behalf Of Ron Schafer
Sent: Friday, October 19, 2007 12:17 PM
To: foxboro@xxxxxxxxxxxxx
Subject: [foxboro] hlbl msglin
Does anyone know the command for hlbl (ind block) to send text to the
message line?
Ronald G. Schafer
Distrubuted Controls System Administrator
White Birch Paper
Bear Island L.L.C. Division
10026 Old Ridge Rd.
Ashland Va. 23005
804-227-4034
Email: rschafer@xxxxxxxxxxxxxxxxxxxxxx
_______________________________________________________________________
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
_______________________________________________________________________
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
_______________________________________________________________________
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
-- No attachments (even text) are allowed --
-- Type: application/ms-tnef
-- File: winmail.dat
_______________________________________________________________________
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
- References:
- Re: [foxboro] hlbl msglin
- From: Lowell, Timothy
Other related posts:
- Re: [foxboro] hlbl msglin
- From: Lowell, Timothy