From 17e19a332d0514a908b74e8073bbc7c64d267e13 Mon Sep 17 00:00:00 2001 From: chuan Date: Thu, 4 Dec 2025 17:08:35 +0800 Subject: [PATCH] 1 --- andor-test/01_init_and_discover.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/andor-test/01_init_and_discover.py b/andor-test/01_init_and_discover.py index 7121bed..7f2c74b 100644 --- a/andor-test/01_init_and_discover.py +++ b/andor-test/01_init_and_discover.py @@ -47,7 +47,7 @@ print("Initialize OK") # Get device count device_count = AT_64(0) -ret = lib.AT_GetInt(AT_HANDLE_SYSTEM, "Device Count", ctypes.byref(device_count)) +ret = lib.AT_GetInt(AT_HANDLE_SYSTEM, "DeviceCount", ctypes.byref(device_count)) if ret != AT_SUCCESS: print(f"ERROR: Get device count failed, code: {ret}") else: