From 556acfe56cc706ebdbd35a6ddaa19c16ae755997 Mon Sep 17 00:00:00 2001 From: Jimmy Brant Date: Mon, 16 Dec 2024 12:44:15 -0700 Subject: [PATCH] Added LUA_NAME_INVALID and LUA_NAME_NOT_FOUND to error codes --- LabJack/LJM/ljm_constants.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/LabJack/LJM/ljm_constants.json b/LabJack/LJM/ljm_constants.json index 1452ef9..d3ea829 100644 --- a/LabJack/LJM/ljm_constants.json +++ b/LabJack/LJM/ljm_constants.json @@ -7937,6 +7937,16 @@ "string": "LUA_IS_CLOSING", "description": "The Lua VM is being closed, usually takes less than 100 ms." }, + { + "error": 2390, + "string": "LUA_NAME_INVALID", + "description": "An invalid register name was passed to the the Lua function. Register names must be strings, and include only valid characters, '_', and digits." + }, + { + "error": 2391, + "string": "LUA_NAME_NOT_FOUND", + "description": "The register name passed to the Lua function could not be found. Check the Modbus Map for valid register names." + }, { "error": 2400, "string": "SYSTEM_MEMORY_BEREFT",