SPI using NI USB-8451

  • Follow


I am trying to control a simple 3-wire serial interface using the NI USB-8451. The three wires/signals are serial clock, receive data and transmit data. I can generate the requisite signals using LABVIEW but want to do it in MATLAB. However, I can't even get MATLAB to recognize the NI USB-8451 device even when I have it connected to the USB port on my PC.

Any help will be appreciated.

Thanks.

Salman
0
Reply Salman 9/21/2010 6:59:05 PM

On 10-09-21 01:59 PM, Salman Mazhar wrote:
> I am trying to control a simple 3-wire serial interface using the NI
> USB-8451. The three wires/signals are serial clock, receive data and
> transmit data. I can generate the requisite signals using LABVIEW but
> want to do it in MATLAB. However, I can't even get MATLAB to recognize
> the NI USB-8451 device even when I have it connected to the USB port on
> my PC.

Do you have the NI VISA 3.0 or later driver installed? That is your only hope 
for getting it recognized without adapting your own driver.

http://www.mathworks.com/products/instrument/supportedio13784.html
0
Reply Walter 9/21/2010 7:17:00 PM


Walter Roberson <roberson@hushmail.com> wrote in message <i7b0ft$ceu$1@canopus.cc.umanitoba.ca>...
> On 10-09-21 01:59 PM, Salman Mazhar wrote:
> > I am trying to control a simple 3-wire serial interface using the NI
> > USB-8451. The three wires/signals are serial clock, receive data and
> > transmit data. I can generate the requisite signals using LABVIEW but
> > want to do it in MATLAB. However, I can't even get MATLAB to recognize
> > the NI USB-8451 device even when I have it connected to the USB port on
> > my PC.
> 
> Do you have the NI VISA 3.0 or later driver installed? That is your only hope 
> for getting it recognized without adapting your own driver.
> 
> http://www.mathworks.com/products/instrument/supportedio13784.html

Thanks. I have version 2.4.2 installed. How can I upgrade to version 3.0?
0
Reply salmanmazhar 9/21/2010 7:40:22 PM

On 10-09-21 02:40 PM, Salman Mazhar wrote:
> Walter Roberson <roberson@hushmail.com> wrote in message
> <i7b0ft$ceu$1@canopus.cc.umanitoba.ca>...
>> On 10-09-21 01:59 PM, Salman Mazhar wrote:
>> > I am trying to control a simple 3-wire serial interface using the NI
>> > USB-8451. The three wires/signals are serial clock, receive data and
>> > transmit data. I can generate the requisite signals using LABVIEW but
>> > want to do it in MATLAB. However, I can't even get MATLAB to recognize
>> > the NI USB-8451 device even when I have it connected to the USB port on
>> > my PC.
>>
>> Do you have the NI VISA 3.0 or later driver installed? That is your
>> only hope for getting it recognized without adapting your own driver.
>>
>> http://www.mathworks.com/products/instrument/supportedio13784.html
>
> Thanks. I have version 2.4.2 installed. How can I upgrade to version 3.0?

I'm not familiar with the differences between the NI models, but possibly

http://joule.ni.com/nidu/cds/view/p/id/2073/lang/en

or maybe

http://joule.ni.com/nidu/cds/view/p/id/2185/lang/en

The first of those is NI-VXI 3.7, which mentions USB in its description.

The second of those is for NI-VISA 5.something, which is the right name but 
does not mention USB and is filed on the support site under GBIP

NI-VISA 3.0.1 itself is at http://joule.ni.com/nidu/cds/view/p/id/384/lang/en
but that tops out at XP.
0
Reply Walter 9/21/2010 7:53:15 PM

Have you found a solution to your problem? I am also interested in using the NI-845x hardware in Matlab, but cannot get it to appear under the available visa devices. I do see it in Measurement & Automation tool.
0
Reply Neel 2/24/2011 9:35:06 PM

4 Replies
695 Views

(page loaded in 0.064 seconds)

Similiar Articles:













7/24/2012 5:54:09 AM


Reply: