beautypg.com

Example: time and date embedded variable, How embedded variables are shown at run time, How embedded variables are shown at run time – 8 – Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual

Page 576

background image

F

ACTORY

T

ALK

V

IEW

S

ITE

E

DITION

U

SER

S

G

UIDE

21–8

• •

For details about options in the Time and Date Variable dialog box, click Help.

For information about how embedded variables are updated at run time, see page 21-10.

Syntax for time and date embedded variables

Time and date embedded variables use this syntax:

/*Time_date_format */

where

Time_date_format uses one of these character sequences:

Example: Time and date embedded variable

At run time, the time and date embedded variable

/*SDT*/

would show the short date followed the time, for example:

9/28/2006 1:12:25 PM

A space is inserted between the time and date at run time.

How embedded variables are shown at run time

If there is no valid data available for an embedded variable, the caption, local message,
tooltip, or title bar that contains it will show question marks (?).

This might occur when a display first opens and the data has not arrived yet, or when there
is a problem that prevents communication with the data source.

These characters

Specify this format

SD

Short date

LD

Long date

SDT

Short date and time

LDT

Long date and time

T

Time

TSD

Time and short date

TLD

Time and long date