06-22-2017 10:08 AM - edited 06-22-2017 10:17 AM
It was working fine, then suddenly it fails to initializes the Tektronix MDO3024 oscilloscope in every VI file that has previously worked. I tried to restart Labview, the computer, the oscilloscope, replug the ethernet cable, reinstalling the oscilloscope driver, but none of these worked.
I have attached a VI file as an example, all VI files which has stopped working does more or less the same thing as this one.
Here is the error message for one VI file
Possible reason(s):
The id query failed. You might have selected the wrong instrument, or the instrument did not respond. You also might be using a model that is not officially supported by this driver. If you are sure that you have selected the correct instrument and it is responding, try disabling the id query.
I have attached an example VI file below, all of the VI files which stopped working does more or less the same thing as the one attached.
Complete call chain:
Tektronix DPO MSO 2000 4000 Series.lvlib:Initialize.vi
Tektronix DPO MSO 2000 4000 Series Acquire Continuous Waveform Example.vi
Here is the error message for another file.
Possible reason(s):
VISA: (Hex 0xBFFF000E) The given session or object reference is invalid.
I also tried to follow the advice in the first error message by disabling the ID query. But then it gave me another error message.
Possible reason(s):
LabVIEW: Scan failed. The input string does not contain data in the expected format.
Solved! Go to Solution.
06-22-2017 04:10 PM
@DrWang wrote:
It was working fine, then suddenly it fails to initializes the Tektronix MDO3024 oscilloscope in every VI file that has previously worked. I tried to restart Labview, the computer, the oscilloscope, replug the ethernet cable, reinstalling the oscilloscope driver, but none of these worked.
I have attached a VI file as an example, all VI files which has stopped working does more or less the same thing as this one.
Here is the error message for one VI file
Possible reason(s):
The id query failed. You might have selected the wrong instrument, or the instrument did not respond. You also might be using a model that is not officially supported by this driver. If you are sure that you have selected the correct instrument and it is responding, try disabling the id query.
I have attached an example VI file below, all of the VI files which stopped working does more or less the same thing as the one attached.
Complete call chain:
Tektronix DPO MSO 2000 4000 Series.lvlib:Initialize.vi
Tektronix DPO MSO 2000 4000 Series Acquire Continuous Waveform Example.vi
Here is the error message for another file.
Possible reason(s):
VISA: (Hex 0xBFFF000E) The given session or object reference is invalid.
I also tried to follow the advice in the first error message by disabling the ID query. But then it gave me another error message.
Possible reason(s):
LabVIEW: Scan failed. The input string does not contain data in the expected format.
Invalid VISA reference means the device is no longer where LabVIEW thought it was. The workaround is to use the VISA resource dropdown to find it again. The fix is to figure out why it changed location (or disappeared if it is no longer there).
06-23-2017 12:01 AM - edited 06-23-2017 12:01 AM
I was recently puzzled that I couldn't detect the same oscilloscope which previously (6 months+ ago) I had just plugged in and used via dropdown box.
I managed to add it manually using MAX, at which point it again appeared in the list available for VISA. Trying to do the same might help you. I don't know what changed though...
06-23-2017 05:21 AM
Thank you for your answer, it some how fixed it self after some time.
06-23-2017 01:20 PM
@DrWang wrote:
Thank you for your answer, it some how fixed it self after some time.
Ugh, I hate when it fixes itself before I can diagnose the issue. My mantra: If it happened once, it will happen again.
06-04-2024 01:34 PM
Well your mantra was correct, because this seems to be happening to me. In the VISA Resource Name drop down I do the the MDO 3024 as an option, however when I run the labview VI I cannot collect any data. When I hit the stop button I recieve an error message which I have included a screenshot of.