10-12-2009 03:11 PM
I am running some software that gets voltage and resistance measurements from a Tektronix 4054 O-scope. There is a function called DPO_GetMeasurement() in the O-scope code in CVI that is called into Test Stand every time it needs a measurement. There are different measurement types, etc., depending on what type of measurement it needs. However, regardless of what type of measurement it is performing, every once in a while, I will get this complete garbage number. Sometimes it will happen several times in a row, sometimes it won't happen but maybe one in ten tries. It’s the same number every time: 99099999999999986303164714637431144448.0. I tried to decode it, in case it might be a term in hex or something, but to no avail. I scrounged around in the code and didn’t see it defined as an error code anywhere. I’m wondering if it might be a conflict between something in IVI Tools. I don’t know. Any suggestion would be of value. Thanks in advance.
10-12-2009 11:10 PM
10-13-2009 08:30 AM
Hello LMRoxy,
Which IVI Specific Driver are you using? Did you download it from IDNet? If so, please provide the link.
Thanks,
NathanT
10-13-2009 08:33 AM
What would be considered an appropriate amount of time? I forgot to mention that I had added a 2 second delay prior to the measurement, but was still running into the problem.
10-13-2009 08:41 AM
10-14-2009 03:56 PM
Hi,
I have a TEK DPO 4104 on my desk and I haven’t been able to reproduce what you are seeing yet. Can you post your code?