05.05.2014 Views

csmstr - Omega Engineering

csmstr - Omega Engineering

csmstr - Omega Engineering

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

GETFORMATTEDTAG(INDEX)<br />

CRIMSON USER MANUAL - MODULAR CONTROLLER<br />

GETFORMATTEDTAG(INDEX)<br />

ARGUMENT TYPE DESCRIPTION<br />

index int Tag index number<br />

DESCRIPTION<br />

Returns a string representing the formatted value of the tag specified by index. The string<br />

returned follows the format programmed on the targeted tag. For example, a flag will show<br />

On or Off, a multi variable will show the text corresponding to the value. The index can be<br />

found from the tag label using the function FindTagIndex().This function works with any<br />

type of tags.<br />

FUNCTION TYPE<br />

This function is active.<br />

RETURN TYPE<br />

cstring.<br />

EXAMPLE<br />

Value = GetFormattedTag(10)<br />

Returns the value of the tag with index 10 in a string.<br />

Value = GetFormattedTag(FindTagIndex(“Power”))<br />

Returns the value from the tag with label Power in a string.<br />

PAGE 340<br />

http://www.redlion.net/controller

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

Saved successfully!

Ooh no, something went wrong!