Hi, I am trying to read variables through python lauterbach.trace32.rcl package.
my test requires reading a lot of variables and this set of variables re-read several times with different inputs changes,
after some successful read commands, I am getting this error:
raise VariableError(result.err_code, result.err_msg)
lauterbach.trace32.rcl._rc._variable.VariableError: (65535, '')
Here is a simplified script to reproduce the issue:
import lauterbach.trace32.rcl as t32
import time
t32_inst = t32.connect()
count = 1
while True:
value = t32_inst.variable.read()
time.sleep(0.2)
print (f"count {count}, value {value}")
count+=1
So, would you please help me overcoming this issue?
Thanks,
getting "lauterbach.trace32.rcl._rc._variable.VariableError: (65535, '')" after continous read - Community / Test Automation - Lauterbach Support
getting "lauterbach.trace32.rcl._rc._variable.VariableError: (65535, '')" after continous read Awaiting Agent
Add a comment
ID-0
Comments (2)
Hello,
You need to use recent version of TRACE32. (ex R2025.02)
Regards,
Wiem