GenerateText('Text*')

Parameters ending with * are only evaluated once at the start of the acquisition..

Arguments

'Text'

Text which should be generated as content of the text signal. The text has to be put between quotation marks ("..").

The text will be evaluated only once at start of acquisition.

%n

Parameter, which can be inserted in the text and will be replaced in the generated text by an automatic counter value. The counter counts up by 1 with every nth cycle, based on the timebase of the ibaPDA system, e.g.

%1 - with each cycle

%2 - with each second cycle

%10 - with each tenth cycle

%100 - with each 100th cycle. Cycle

Description

This function generates a text signal. It can only be used in the signal table Analog of a suitable module (e.g. virtual module or output module)

The generated text signal can be used like other text signals, e.g. in a text creator module, a text digital display or a QPanel label.

You may use placeholders %1, %2,... in the text. The placeholder %n will be replaced by the counter value which increased every n samples.

Example

The upper line shows the complete function call. The lower line shows the result in a QPanel label.