Lightware RAP-B511-EU User Manual page 46

Room automation panel
Table of Contents

Advertisement

 
5. Software Control - Lightware Device Controller
Scan and Store
This tool can be used to get the value (or a part) of an LW3 property. The defined path will be checked
according to the pattern and the result will be saved into the variable (number or string type). Press the ?
button to open the pattern options:
Pattern
%s
String of characters stopping at the first whitespace character
%<number>s
The next
%c
One character
%<number>c
The next
%[<characters>]
Defined character set, specified between brackets
%[^<characters>]
Negated character set, specified between brackets which will be skipped
%*
Ignored part
<custom_text>
User-defined text
Examples
Scanned property: /MANAGEMENT/STATUS.CpuTemperature=46 C; 0;75; 0;79; 3;48;
<pattern>
Scan result Variable type
%s
46
%5c
46 C;
%*18c%4c
3;48
%*s %c
C
%*[^;]; %4c
0;75
%*[^;]; %*[^;]; %*[^;]; %4c
0;79
Reformat
The value of the variable can be changed by adding text as prefix and/or postfix. Type %s to indicate where
to insert the original value.
Example
Original value: 3
Pattern: input%s
Modified value: input3
Pattern description
<number>
of characters (string) stopping at the first whitespace
<number>
of characters
Comment
Number
Scanned from the first character till the first
whitespace character
String
The first 5 characters scanned
String
The first 18 characters skipped then 4 characters
scanned
String
The first part till the first whitespace character (and
the space) are skipped then 1 character scanned
String
From the first character till the first semicolon and
a space are skipped, then 4 characters scanned
String
Three groups ended with semicolon and space are
skipped then 4 characters scanned
RAP-B511 series – User's Manual
Applied firmware package: v1.1.0b3b3 | LDC software: v2.5.1b5
46

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rap-b511-kRap-b511-wRap-b511-sRap-b511-ukRap-b511-us

Table of Contents