필터 지우기
필터 지우기

Problem with VXIplug&play driver?

조회 수: 10 (최근 30일)
pesccia
pesccia 2013년 2월 7일
댓글: 华敏 2023년 3월 11일
Hello, I want to connect RS FSH3 spectrum analyzer to Matlab and read data.
System: Windows 7 64 bit, Matlab 2011b 64 bit
I downloaded and installed VXIplug&play 64-bit driver from Rhode-Schwarz site. But, when I try to check if driver is propertly installed, Matlab informs me that there is no driver at all.
>> instrhwinfo
ans =
MATLABVersion: '7.13 (R2011b)'
SupportedInterfaces: {'gpib' 'serial' 'tcpip' 'udp' 'visa' 'Bluetooth'}
SupportedDrivers: {'matlab'}
ToolboxName: 'Instrument Control Toolbox'
ToolboxVersion: '3.0 (R2011b)'
Then:
>> instrhwinfo('vxipnp', 'rsspecan')
Error using instrhwinfo (line 299) The specified VXIplug&play driver could not be found.
Can anyone tell me what is the problem?
Thanx in advanced.
Peja.

답변 (2개)

Maximilian Becker
Maximilian Becker 2022년 3월 23일
편집: Maximilian Becker 2022년 3월 23일
Hello to who ever this might interest!
although this problem is rather old, I just stumbled across it or atleast a similar problem, where the driver was not found by the Instrument Control Toolbox (ICT). Therefore, I'd like to share my solution with you or atleast reduce some error potential.
I wanted to interface the R&S oscilloscope RTA4004 and RTB2002 via Matlab (they share the same driver for PlugAndPlay) and started installing every existing driver for both x64 and x86 systems without success.
The first source of error was, that for me, the driver name was changed (was not the same as in the official Communication guide by R&S: https://www.rohde-schwarz.com/de/applikationen/so-verwendet-man-geraete-von-rohde-schwarz-in-matlab-application-note_56280-15564.html). The name changed from "rsspecan" to "rsrtx" for me and therefore all the commands containing "rsspecan" had to be changed to call "rsrtx" instead
The second source of error was about the existing support software and here most importantly about the order of installation, which is the most important part, as I just found out.
To be able to find the drivers in the ICT in Matlab I was successful by using the following installation order:
  1. Install the Instrument Control Toolbox (ITC)
  2. If you have R2022a or higher, further install the corresponding support package to get further functionalities later on (not reuired for installing the drivers though): Instrument Control Toolbox Support Package for IVI and VXIplug&play Drivers
  3. Install "R&S VISA" (very important): https://www.rohde-schwarz.com/us/applications/r-s-visa-application-note_56280-148812.html
  4. Install the "Shared Components" libraries from IVI Foundation: https://www.rohde-schwarz.com/us/applications/r-s-visa-application-note_56280-148812.html . The order is relevant as it only works in one direction. Install "IVI Shared Components" and "IVI.NET Shared Components"
  5. Now finally install the IVI Net and VXIPlug&Play driver for your R&S device. These are available in the R&S driver library https://www.rohde-schwarz.com/au/search/driver_63451.html?term=%2A&page=3&sort=relevance&sortOrder=desc
Ask the ICT if that worked by typing "instrhwinfo ('vxipnp', 'rsrtx')" into the Matlab command window.
  댓글 수: 1
华敏
华敏 2023년 3월 11일
按照你的步骤一步一步来,但还是出现另一种错误
错误:
>> instrhwinfo ('vxipnp', 'rsspecan')
未定义变量 "VXIPnPLoader" 或类 "VXIPnPLoader.toBasicMatlabDriverModel"。
出错 instrhwinfo>localGetVXIPnPDriverInfo (line 833)
model = VXIPnPLoader.toBasicMatlabDriverModel([fullDriverName '.fp']);
出错 instrhwinfo (line 445)
out = localGetVXIPnPDriverInfo(adaptor);

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


Khalid
Khalid 2013년 2월 8일
Hello Peja..The issue here is that you are using 64-bit version of the Matlab, for this instrument of R&S you need to use 32 bit version of Matlab. I had the similar issue but after installing 32 bit Matlab the error didnt showed up again
Khalid
  댓글 수: 1
Roberto
Roberto 2016년 8월 5일
I have the same issue and solved upgrading the 'visa' driver under matlab!

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

카테고리

Help CenterFile Exchange에서 Instrument Driver Editing and Testing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by