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

Excel VBA using VISA crashing (Oct 2021)

$
0
0

Hello,

 

I have been using Excel and Word to interface to test equipment (oscilloscope).

Recently (Oct 2021) Excel is crashing when I try to connect the scope (or any equipment on my GPIB bus).

    Set SCOPE1.Command.IO = io_mgr.Open("GPIB:: 12")

My code is ok as it has always worked before.

Similar code in Word is working fine --> hardware interface and VISA drivers are ok.

 

Looking and the bus data using Agilent Connection Expert IO Monitor I can see the the connection to the equipment is being made but Excel crashes - monitor file attached.

 

Before I try to roll back the Excel version I'd like to eliminate any other possible causes.  Has anyone seen similar problems lately?

 

Thanks,

 

D.


Viewing all articles
Browse latest Browse all 5566

Trending Articles



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