Problem creating MATLAB driver
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Yuvraj Singh
el 23 de Feb. de 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 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!