create MDD file for Rigol DS 4000 series scope
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
WIlliam Main
am 18 Jul. 2015
Kommentiert: Donald Anthan
am 27 Feb. 2023
I am using MATLAB 2015a and Instrument Control APP. I am trying to create a MDD file for my Rigol DS 4000 series scope. I have downloaded IVI and VISA drivers. But no success. I am particularly troubled that I can not run the simple MATLAB example makemid('hp34401'); without getting the error "The specified driver could not be loaded." What am I missing?
2 Kommentare
Walter Roberson
am 18 Jul. 2015
32 bit versus 64 bit ?
Possibly you are using a 64 bit version of MATLAB and the drivers are 32 bit?
Akzeptierte Antwort
Vinod
am 20 Jul. 2015
I suspect you've not installed the hp34401 driver and you are trying to call MAKEMID on that driver. The error message, "The specified driver could not be loaded.", is pointing you in the right direction.
List the available IVI drivers (more specifically IVI-C drivers) on your machine by looking at the output of
>> Iviinfo = instrhwinfo('ivi')
>> Iviinfo.Modules
You can call MAKEMID on the modules listed in the output of the second command.
3 Kommentare
Vinod
am 29 Jul. 2015
Technically you don't need IVI drivers to connect to your scope. You can use the SCPI commands from the scope's instrument manual and modify one of the many good examples .
Donald Anthan
am 27 Feb. 2023
According to Rigol, their IVI drivers were designed to work with LabVIEW.
Rigol has no plans to implement IVI drivers for MATLAB.
Unfortunately, SCPI commands are the only option...unless someone developes compatable IVI drivers.
While the SCPI commands do work, they are criptic and very OLD SCHOOL.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu DMM finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!