Problem creating MATLAB driver
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I'm able to communicate with my Rigol and Keithley instruments using SCPI commands in MATLAB R2022b.
When I try to create a MATLAB driver for my Rigol instruments, using for example:
makemid('rgds4k')
I get an error message: The specified driver could not be loaded.
Here is a link to the Rigol IVI drives website. In this example, the IVI driver name rgds4k is for the DS4000 scope.
https://www.rigolna.com/download/
However, makemid('kedmm6500') for my Keithley DMM6500 works fine.
When I use the ividriverlist command, ALL of my instruments are listed along with the corresponding IVI-C driver names.
I'm assuming that a MATLAB driver must be created before trying to use ividev? as follows:
dev = ividev("IviScope","myScope","IDQuery",true,"ResetDevice",true)
since I get the following error message: Vendor Driver Error 0xBFFA000B: The path name is invalid.
I've downloaded and installed all of the latest IVI-C drivers from the Rigol website, but I get the same error message when trying to create a MATLAB driver for any of them. I also get a Warning: makemid will be removed in a future release. There is no simple replacement for this.
Any ideas on how to resolve these issue?
0 commentaires
Réponses (1)
Yuvraj Singh
le 23 Fév 2023
Hi Donald,
You can 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.
Follow the below mentioned MATLAB Answer link for further clarification.
0 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!