summaryrefslogtreecommitdiff
path: root/server/xml/macros/example.xml
diff options
context:
space:
mode:
Diffstat (limited to 'server/xml/macros/example.xml')
-rw-r--r--server/xml/macros/example.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/server/xml/macros/example.xml b/server/xml/macros/example.xml
index d9710ec..eef6a18 100644
--- a/server/xml/macros/example.xml
+++ b/server/xml/macros/example.xml
@@ -16,13 +16,13 @@
-- Check for the existence of each level.
if( lensmeter and
- lensmeter.odxt and
- lensmeter.odxt.cyl and
- lensmeter.odxt.cyl.value and
- lensmeter.odxt.cyl.timestamp )
+ brillemaaler.odxt and
+ brillemaaler.cyl.odxt and
+ brillemaaler.cyl.value.odxt and
+ brillemaaler.cyl.timestamp.odxt )
then
- timestamp = lensmeter.odxt.cyl.value
- value = lensmeter.odxt.cyl.value
+ timestamp = brillemaaler.cyl.value.odxt
+ value = brillemaaler.cyl.value.odxt
end
return value, timestamp, source