Clear Filters
Clear Filters

Matlab doesn't recognize GPIB driver

8 views (last 30 days)
Sawyer Miller
Sawyer Miller on 24 Jul 2017
Commented: Sawyer Miller on 27 Jul 2017
Hello,
I am trying to control an ICS USB-GPIB board with Matlab. Matlab doesn't recognize the driver installed for the board when using either tmtool or creating a GPIB object with the 'gpib' command. Is there an easy way to install the driver for the ICS board so Matlab recognizes it automatically?
Any help would be greatly appreciated!

Answers (1)

Milind Jain
Milind Jain on 27 Jul 2017
Hi Sawyer,
First step is to install the driver provided by ICS. As mentioned in the Instrument Control toolbox documentation the minimum driver requirement for ICS is ICS 488.2 version 2.0.
After you install the driver you should be able to access the ICS Electronics GPIB hardware (except the USB controller) by creating the GPIB object with mcc adapter as follows.
g = gpib('mcc',0,1);
For USB interface, you need to create the GPIB object using ‘ics’ as follows
g = gpib('ics',0,1);
It should be noted that this ICS adaptor only works the USB controllers. To use any of their PCI, PCMCIA, or non-USB controllers, you should still use the mcc adaptor as described above.
PS: You can use the Instrument Control Toolbox to access ICS Electronics GPIB hardware beginning in Instrument Control Toolbox Version 1.2 (MATLAB 6.5, R13). The USB interface provided by ICS Electronics GPIB hardware is supported by the Instrument Control Toolbox since Version 2.0 (R14). Though you cannot use the mcc adaptor to access ICS USB controllers in MATLAB 7.0 (R14), the Instrument Control Toolbox since Version 2.0 does include an ICS adaptor that allows you to use ICS USB controllers.
  1 Comment
Sawyer Miller
Sawyer Miller on 27 Jul 2017
Hi Milind,
Thanks for the reply.
I actually fixed the problem. The correct 64 bit driver for the ICS board wasn't installed in the proper folder for MATLAB to recognize it. With that fixed everything works perfectly.

Sign in to comment.

Categories

Find more on Instrument Control Toolbox Supported Hardware 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!