12-24-2018 03:04 AM
12-24-2018
07:46 AM
- last edited on
12-18-2024
08:49 AM
by
Content Cleaner
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.
12-26-2018 11:48 AM
I have also used the FTDI FT232H (Adafruit has a nice solution). Requires some DLL interfacing to get it to work.
12-26-2018 07:30 PM
For FTDI, see:
https://lavag.org/topic/19993-cr-mpsse-spi/?tab=comments#comment-121408
The driver is ready to use.
Benoit
01-02-2019 12:51 PM - edited 01-02-2019 12:53 PM
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
05-16-2019 06:02 AM
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