Skip to content

Commit 556acfe

Browse files
committed
Added LUA_NAME_INVALID and LUA_NAME_NOT_FOUND to error codes
1 parent b0fa87d commit 556acfe

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

LabJack/LJM/ljm_constants.json

+10
Original file line numberDiff line numberDiff line change
@@ -7937,6 +7937,16 @@
79377937
"string": "LUA_IS_CLOSING",
79387938
"description": "The Lua VM is being closed, usually takes less than 100 ms."
79397939
},
7940+
{
7941+
"error": 2390,
7942+
"string": "LUA_NAME_INVALID",
7943+
"description": "An invalid register name was passed to the the Lua function. Register names must be strings, and include only valid characters, '_', and digits."
7944+
},
7945+
{
7946+
"error": 2391,
7947+
"string": "LUA_NAME_NOT_FOUND",
7948+
"description": "The register name passed to the Lua function could not be found. Check the Modbus Map for valid register names."
7949+
},
79407950
{
79417951
"error": 2400,
79427952
"string": "SYSTEM_MEMORY_BEREFT",

0 commit comments

Comments
 (0)