client.get_next() result temperature reading does not change
kangc0016 opened this issue · comments
we run temperature cycle test using XM125 with following python code to collect the result
client.start_session()
for i in range(total_samples):
result = client.get_next()
client.stop_session()
however, when i look at the results collected for each sample, the temperature reading does not change, which is incorrect, because the module is put inside of an oven which cycles through a large temperature drift.
If I use the following code, then the temperature reading from collected result changes, but why should i stop and re-start the session after each sample?
for i in range(total_samples):
client.start_session()
result = client.get_next()
client.stop_session()
Hi,
This seems to not work as expected.
Is it possible for you to perform two get_next() for each loop before checking the temperature?
What is your session configuration?
BR,
Anders
is this a bug in the python code only or is it also a bug in the c code?
Hi,
To know if there is a bug or not I need more information.
Did my suggestion solve your issue?
What is your session configuration?