diff options
-rw-r--r-- | server/xml/macros/example.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/xml/macros/example.xml b/server/xml/macros/example.xml index 97865ca..dbdc4fa 100644 --- a/server/xml/macros/example.xml +++ b/server/xml/macros/example.xml @@ -6,12 +6,13 @@ <maps> <map name="axis"> -- LUA program - return math.pi, 1234567890 + return math.pi, 1234567890, 'local' </map> <map name="cyl"> -- Returning 0, 0 invalidates the result value = 0 timestamp = 0 + source = '' -- Check for the existence of each level. if( lensmeter and @@ -24,7 +25,7 @@ value = lensmeter.right.cyl.value end - return value, timestamp + return value, timestamp, source </map> </maps> <scripts> |