Skip to main content

getting "lauterbach.trace32.rcl._rc._variable.VariableError: (65535, '')" after continous read - Community / Test Automation - Lauterbach Support

0

getting "lauterbach.trace32.rcl._rc._variable.VariableError: (65535, '')" after continous read Awaiting Agent

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,

Comments (2)

Ahmed Abdelgaber
For me, I am getting this error after 1048 successful read
Wiem Wala Benayed

Hello,

You need to use recent version of TRACE32. (ex R2025.02)

Regards,

Wiem


Add a comment

ID-0
To prove you are a human, please tell us the text you see in the CAPTCHA image