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
 

Other related posts: