18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Screens and Graphics<br />

Property<br />

Text/Message<br />

Value<br />

Text (FG)<br />

Text (BG)<br />

Text Blink<br />

Rec (FG)<br />

Rec (BG)<br />

Rec Blink<br />

Graphic File<br />

Transparent<br />

En. Transparent<br />

Description<br />

Message (text) that will be displayed when selected during runtime. You can include tags in a message by enclosing them in curly<br />

brackets (e.g., {tagname}).<br />

You must associate a unique value with each message. during runtime, the object will display the message associated with the<br />

value that matches the value of the tag configured in the Read Tag field. If there is no such message, the message configured in<br />

the first row (State = Error) displays during runtime. When the object Type is set as Multistate Pushbutton, the value associated<br />

with the current message is also written to the tag configured in the Write Tag field (if any).<br />

Foreground color for the messages displayed during runtime.<br />

Background color for the messages displayed during runtime.<br />

If checked, the message text will blink during runtime.<br />

Line color (Border) for the rectangle behind the message.<br />

Background (Fill) color for the rectangle behind the message.<br />

If checked, the rectangle behind the message will blink during runtime.<br />

Path and name of the bitmap file (*.BMP) (if any) that will be displayed when the message associated with it is selected during<br />

runtime. If you do not specify the path, the bitmap file must be stored in your project folder.<br />

Select the color that will be transparent in the graphic file, if the En. Transparent checkbox is checked.<br />

If checked, the color selected in the Transparent field will be set as transparent in the graphic file.<br />

Note: The properties Graphic File, Transparent and En. Transparent are not available for the Message Display<br />

type.<br />

Tip: You can copy data from this dialog and paste it into an Excel worksheet, and vice versa.<br />

Source File Format<br />

This section describes the format of the text file supported by the Smart Message object when the Data Source<br />

= Text File. The main advantage of using an external text file instead of static values is that it gives you the<br />

flexibility to change the messages during runtime, by pointing to a different text file, or even by changing the<br />

content of the text file dynamically.<br />

The text file must be created in the CSV format (comma separated values), where the comma character ( , )<br />

is used to divide the columns (data) in each line (row) of the file. Therefore, you can use any CSV editor such<br />

as Microsoft Notepad and Microsoft Excel to create the CSV file with the messages and their properties for the<br />

Smart Message object.<br />

The description of each property associated with the messages is provided in the Smart Message section. The<br />

order of the data in the CSV file is described in the following table:<br />

Column # Property Default Value<br />

1 Text/Message -<br />

2 Value -<br />

3 Text (FG) 0<br />

4 Text (BG) 16777215<br />

5 Text Blink 0<br />

6 Rec (FG) 8421376<br />

7 Rec (BG) 16777215<br />

8 Rec Blink 0<br />

9 Graphic File -<br />

10 Transparent 0<br />

Page 200<br />

<strong>InduSoft</strong> Web Studio

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!