MULTI String Format

<< Click to Display Table of Contents >>

 

MULTI String Format

The text to display on a DMS panel obeys the MULTI String (Markup Language for Transportation Information) format. This language is similar to the HTML language, in which a text is transmitted and Tags define how this text is displayed. Tags are placed between delimiters, contain an identifier with 1 (one) or more characters, and any optional parameters for this Tag.

Each Tag in MULTI format starts with a left bracket ([) and ends with a right bracket (]). The identifier of a Tag appears after the left bracket and contains 1 (one) or more character, case-insensitive. If a Tag contains parameters, then these parameters immediately follow after the identifier of this Tag and are also case-insensitive, except when specified. No spaces or other separator characters can be inserted between an identifier and the parameters. Some Tags can operate in pairs and the default notation of a Tag is defined in the opening Tag. An opening Tag defines where this Tag's functionality starts. A closing Tag defines where this Tag's functionality ends, and it is defined as an opening Tag with a left bar preceding the identifier, that is, if a flash opening Tag is equal to [fl], then the flash closing Tags is equal to [/fl]. The next code contains an example of a message in MULTI format:

[pt50o0][fo6][jl3]This[nl20][jl3]is[nl20][jl3]a Test

 

Available Tags in MULTI String format

Opening Tag

Closing Tag

Description

cbx

 

Background color of a message

pbz or pbr,g,b

 

Background color of a page

cfx or cfr,g,b

 

Text color of a message

crx,y,w,h,r,g, b or crx,y,w,h,z

 

Color of a rectangular are on the current page of a message

fx,y

 

Field incorporated into a message based on data from a device, such as a clock, a temperature sensor, or a detector, among others

fltxoy or floytx

/fl

Activates the blinking of a text, defining the number of times the text blinks and the blinking order (turn on and off or turn off and on)

fox or fox,cccc

 

Allows selecting the code of a font to view a message. The optional cccc parameter indicates the version of that font

gn or gn,x,y or gn,x,y,cccc

 

Selects an image to insert in a message. An image is handled as a single printable character. It may require some pixels or a complete sign to be displayed. The optional cccc parameter indicates the identifier of a message

hcx

 

Hexadecimal value of a character to display

jlx

 

Specifies the alignment of a text. Possible values are left: Alignment to the left, center: Centered text, right: Alignment to the right, or full: Justified text

jpx

 

Specifies the alignment of a page. Possible values are top: Alignment by the top, middle: Alignment by the center, or bottom: Alignment by the base

msx,y

/msx,y

Specifies a specific Tag from a manufacturer

mvtdw,s,r,text

 

Specifies the parameters for a text that can be scrolled

nlx

 

Specifies the start of a new line

np

 

Specifies the start of a new page

ptxoy

 

Specifies the time values of a page

scx /sc

 

Specifies the spacing between characters

trx,y,w,h

 

Specifies the position of a text on a display

Was this page useful?