LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can LABVIEW read SPI data via USB?

visa?
0 Kudos
Message 1 of 6
(4,778 Views)

You need a hardware interface that understands SPI.  The common options I have seen are the USB-8451 or USB-8452, which use NI supplied drivers, or an Arduino which you program to read the SPI bus and send the data to the PC via a serial port.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 6
(4,748 Views)

I have also used the FTDI FT232H (Adafruit has a nice solution).  Requires some DLL interfacing to get it to work.

0 Kudos
Message 3 of 6
(4,712 Views)

For FTDI, see:

https://lavag.org/topic/19993-cr-mpsse-spi/?tab=comments#comment-121408

The driver is ready to use. 

Benoit

0 Kudos
Message 4 of 6
(4,697 Views)

I've used the 8451 in the past and had good success.  But for the cheap solution an Arduino running either LIFA, or LINX works great too.  NI's already developed drivers allow for basic control of an Arduino and reading/writing I2C, and SPI is built in.  There isn't as much support if something goes wrong with an Arduino, for instance you can't call up NI and send it back if it doesn't work but can with an 8451.  But for us the risk involved was low enough that an Arduino worked fine.

0 Kudos
Message 5 of 6
(4,658 Views)

You should have a USB to SPI converter like aadvark, which will pre existing drivers for communication, so that your development time will be minimized

AB
Kudos are Accepted
0 Kudos
Message 6 of 6
(4,394 Views)