11-03-2017 10:43 AM
Hello,
I have an old Excel VBA macro that uses the VisaComLib to read data from an oscilloscope and stores it in a spreadsheet. Since now I have a new oscilloscope I need to adapt the old macro code to work with the new oscilloscope.
I have looked into the help files provided by NI-VISA, but I couldn't find any reference to VisaComLib, the Internet has not helped either. I would like to know where I can find any reference documents about the VISA COM library.
Thanks.
11-03-2017 11:01 AM
@JM_Factory wrote:
Hello,
I have an old Excel VBA macro that uses the VisaComLib to read data from an oscilloscope and stores it in a spreadsheet. Since now I have a new oscilloscope I need to adapt the old macro code to work with the new oscilloscope.
I have looked into the help files provided by NI-VISA, but I couldn't find any reference to VisaComLib, the Internet has not helped either. I would like to know where I can find any reference documents about the VISA COM library.
Thanks.
Why do you need to adapt the old macro?
11-03-2017 11:15 AM
Both oscilloscopes use different operational commands.
11-03-2017 11:18 AM - edited 11-03-2017 11:19 AM
Then just change the commands that are being sent. There is no need to re-invent the wheel.
11-06-2017 09:42 AM
Hate to say to but NI have never supported VISA-COM. Install Keysight Io Libraries they have documentation on this.