Connecting Keithley 6221 with GPIB

12 次查看(过去 30 天)
Chew
Chew 2014-6-4
回答: Henrik 2014-9-29
Hi,
I am attempting to create arbitrary waveforms using MATLAB, then sending it to my 6221 to generate the current. I am using a KUSB-488B card to connect my laptop to the 6221. I have installed the associated driver (version 3.12), and my laptop seems to be detecting the 6221, as shown in the image below.
I tried the following commands to try and create an instrument object.
obj = gpib('keithley',21,11)
and
obj = gpib('keithley',0,11)
While trying to create an instrument object, I keep getting this error "The specified VENDOR adaptor could not be found"
In the instrument control toolbox, MATLAB does not detect the 6221, as seen here.
Can someone please advise me on what I should do?
Thank you very much! :)

回答(1 个)

Henrik
Henrik 2014-9-29
Hi
You might need to install 32-bit MATLAB instead of 64-bit MATLAB for this to work - this solved it for me.
Henrik

类别

Help CenterFile Exchange 中查找有关 Instrument Control Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by