Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Tektronix MSO2014b - connection drop-out

$
0
0

Hi Everybody -

 

I am running LV2015x86 on Win10, connecting to a Tektronix oscilloscop, MSO 2014B using NI-VISA 15.0.

 

The MSO has the latest firmware (v 1.52) and will work for me, through configuration of timebase, channels, etc, and reading waveforms and various measurements. All works fine.

 

However, there will occur an error while reading from the MSO (measurements, no waveforms) wherein an error is flagged and it will no longer re-connect. The error I receive and capture shortly after it occurs is:

 

Error -1073807339 occurred at VISA Read in Tektronix DPO MSO 2000 4000 Series.lvlib:Error Query.vi->Tektronix DPO MSO 2000 4000 Series.lvlib:Fetch Waveform Measurement.vi->MSO2014B_connect.vi->sub_MSO_getWaveforms.vi->Main.vi
 
Possible reason(s):
 
VISA:  (Hex 0xBFFF0015) Timeout expired before operation completed.
 
 
I'm not sure where the timeout is occuring or what is generating it, but it doesn't appear regular or consistent with anything I do. Which is why it all seems to work fine and then eventually stops.
 
The device itself hasn't been 'tested' by NI, as per the infromation regarding the instrument drivers (not to be confused with IVI drivers - tried those; not fully functional and doesn't quite work).
 
Has anybody come across this kind of thing and/or can recommend a suggestion on what may be happening?
 
I have attached a snippet of the code (FGV) where the error appears to be occuring. I believe the read error occurs at the first read (of the two there), at the first selection box. This is because the indexed cluster array of the For loop comes up empty. What I find incredibly confusing is that the empty empty isn't captured until the FGV has been closed (and I test it the same way straight out of the subVI).
 
I have included various captures in my code so it doesn't look pretty.
 
To give you context on what is being done:
* a stepper motor moves an RF sensor
- for each of the 3 channels:
* I read in the Vpp of the waveform on the MSO
* check to see if the Vpp is within the vertical range - adjust if not
* read in Vpp and other measurements I had selected prior to starting test
* move stepper to next position
* repeat
 

Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>