필터 지우기
필터 지우기

Matlab doesn't recognize GPIB driver

조회 수: 8 (최근 30일)
Sawyer Miller
Sawyer Miller 2017년 7월 24일
댓글: Sawyer Miller 2017년 7월 27일
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!

답변 (1개)

Milind Jain
Milind Jain 2017년 7월 27일
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
Sawyer Miller
Sawyer Miller 2017년 7월 27일
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.

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

카테고리

Help CenterFile Exchange에서 Instrument Control Toolbox Supported Hardware에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by