create MDD file for Rigol DS 4000 series scope

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

32 bit versus 64 bit ?
Possibly you are using a 64 bit version of MATLAB and the drivers are 32 bit?
Walter, Yes exactly. My Rigol IVI drivers are 32 bit and I am using 64 bit Matlab. What I really need assistance with is finding 64 bit Rigol drivers for my DS4000 and DS6000 scopes. I am concerned that they may not exist.

댓글을 달려면 로그인하십시오.

 채택된 답변

Vinod
Vinod 2015년 7월 20일

0 개 추천

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

Your commands helped me to realize that MATLAB can only see my 64 bit drivers. When I installed Rigol scope drivers (rgds4k) on my system they landed on the x86 IVI drivers folder. Now I need to find 64 bit Rigol drivers if they exist.
Vinod
Vinod 2015년 7월 29일
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 .
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Data Import and Analysis에 대해 자세히 알아보기

태그

질문:

2015년 7월 18일

댓글:

2023년 2월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by