Connecting Keithley 6221 with GPIB
4 views (last 30 days)
Show older comments
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/163817/image.png)
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/163819/image.png)
Can someone please advise me on what I should do?
Thank you very much! :)
1 Comment
Answers (1)
Henrik
on 29 Sep 2014
Hi
You might need to install 32-bit MATLAB instead of 64-bit MATLAB for this to work - this solved it for me.
Henrik
0 Comments
See Also
Categories
Find more on Instrument Control Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!