Re: [foxboro] Leading Zero in Station.Minute
- From: "Scott, Gordon (Sudbury)" <GScott@xxxxxxxx>
- To: "'foxboro@xxxxxxxxxxxxx'" <foxboro@xxxxxxxxxxxxx>
- Date: Wed, 25 Feb 2004 10:20:41 -0500
I suppose I could just put a 0 on the screen and tie the visibility of it to
the value of station.minute. If less then 10 make it visible.
Gordon Scott
-----Original Message-----
From: Murray, Steve [mailto:SMurray@xxxxxxxxxx]
Sent: Wednesday, February 25, 2004 9:53 AM
To: 'foxboro@xxxxxxxxxxxxx'
Subject: Re: [foxboro] Leading Zero in Station.Minute
Hi Scott,
I used a brute force method on one of my FoxView displays to show leading
zeros.
I configured a two character text object to display the text content using
discrete states with 60 states. When my IA point has a value of a single
digit (0 through 9) I set the text content to 00, 01, etc.
The down side to this is you have to set all 60 states, which is annoying,
but it does work.
This particular display shows a casting batch start and stop times that
are brought in from a PLC as separate numbers for day, month, hour, and
minute.
Steve Murray
Asarco
-----Original Message-----
From: Scott, Gordon (Sudbury) [mailto:GScott@xxxxxxxx]
Sent: Wednesday, February 25, 2004 07:54
To: 'foxboro@xxxxxxxxxxxxx'
Subject: [foxboro] Leading Zero in Station.Minute
Hi all new to the list and relatively new to foxboro. Hope I'm not asking
something that's been covered but I searched the archives and didn't see
anything.
We use Foxdraw 8 for our displays and pull the value from Station.hour and
Station.Minute and move it into other blocks. However for display purposes
is there a good way to get a leading zero in station.minute when the minute
is a single digit.
Gordon Scott
Inco Ltd
Clarabelle Mill
*
This e-mail and any files transmitted with it are the property of Americas
Mining Corporation and/or its affiliates, are confidential, and are intended
solely for the use of
the individual or entity to whom this e-mail is addressed. If you are not a
named recipient or otherwise have reason to believe that you have received
this message in error,
please notify the sender and delete this message immediately from your
computer. Any other use, retention, dissemination forwarding, printing or
copying of this e-mail is
strictly prohibited. Although this email and any attachments are believed
to be free of any virus or other defect that might affect any computer
system into which it is
received, and opened, it is the responsibility of the recipient to ensure
that it is virus free and no responsibility is accepted by Americas Mining
Corporation and/or its
affiliates for any loss or damage arising in any way from its use
This e-mail has been scanned and cleared by MailMarshal
www.marshalsoftware.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: 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
Other related posts: