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 acb7133..2e60ae7 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.right and
- lensmeter.right.cyl and
- lensmeter.right.cyl.value and
- lensmeter.right.cyl.timestamp )
+ lensmeter.odxt and
+ lensmeter.odxt.cyl and
+ lensmeter.odxt.cyl.value and
+ lensmeter.odxt.cyl.timestamp )
then
- timestamp = lensmeter.right.cyl.value
- value = lensmeter.right.cyl.value
+ timestamp = lensmeter.odxt.cyl.value
+ value = lensmeter.odxt.cyl.value
end
return value, timestamp, source