Thread Subject: Matlab with NI GPIB-USB-HS on Mac OS X 10.6.2

Subject: Matlab with NI GPIB-USB-HS on Mac OS X 10.6.2

From: Rudi Pfeiffer

Date: 23 Nov, 2009 22:56:03

Message: 1 of 3

I'm trying to open a GPIB connection from Matlab 2009b using a National Instruments GPIB-USB-HS converter on Mac OS X 10.6.2. Whenever I try

TDR25=gpib('ni',0,25)

I get the error

??? Error using ==> gpib.gpib at 142
The specified VENDOR adaptor could not be found.

The offending input line is:

pathToDll = localFindAdaptor(name, ext);

I know that OS X 10.6.2 isn't officially supported by NI and after installing the driver (versions 2.5.5 and 2.5.6) I get the message that the system extension cannot be used. Nevertheless, I can communicate with my devices via the Interactive Controle.command installed with the NI-488.2 driver and the GPIB also sees the GPIB controller.

So why can't Matlab open the GPIB connection?

Subject: Matlab with NI GPIB-USB-HS on Mac OS X 10.6.2

From: Trent Jarvi

Date: 24 Nov, 2009 15:35:47

Message: 2 of 3


"Rudi Pfeiffer" <rpfeiffer@caltech.edu> wrote in message
news:hef3u3$j4h$1@fred.mathworks.com...
> I'm trying to open a GPIB connection from Matlab 2009b using a National
> Instruments GPIB-USB-HS converter on Mac OS X 10.6.2. Whenever I try
>
> TDR25=gpib('ni',0,25)
>
> I get the error
>
> ??? Error using ==> gpib.gpib at 142
> The specified VENDOR adaptor could not be found.
>
> The offending input line is:
>
> pathToDll = localFindAdaptor(name, ext);
>
> I know that OS X 10.6.2 isn't officially supported by NI and after
> installing the driver (versions 2.5.5 and 2.5.6) I get the message that
> the system extension cannot be used. Nevertheless, I can communicate with
> my devices via the Interactive Controle.command installed with the
> NI-488.2 driver and the GPIB also sees the GPIB controller.
>
> So why can't Matlab open the GPIB connection?

The NI drivers are limited to 32 bit user space so you will need to install
32 bit MATLAB. Everything should work after that.

Subject: Matlab with NI GPIB-USB-HS on Mac OS X 10.6.2

From: Rudi Pfeiffer

Date: 24 Nov, 2009 18:07:19

Message: 3 of 3

> The NI drivers are limited to 32 bit user space so you will need to install
> 32 bit MATLAB. Everything should work after that.

That solved the problem, thanks!

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
gpib mac os x Rudi Pfeiffer 23 Nov, 2009 17:59:05
rssFeed for this Thread

Contact us at files@mathworks.com