필터 지우기
필터 지우기

Problem creating MATLAB driver

조회 수: 11 (최근 30일)
Donald Anthan
Donald Anthan 2022년 12월 19일
답변: Yuvraj Singh 2023년 2월 23일
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?

답변 (1개)

Yuvraj Singh
Yuvraj Singh 2023년 2월 23일
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.

카테고리

Help CenterFile Exchange에서 IVI and VXIplug&play Drivers에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by