06-20-2021 06:13 AM
How to use i2c LCD display in NI 6008 USB?
06-20-2021 08:14 AM
@titos_sampas wrote:
How to use i2c LCD display in NI 6008 USB?
Not really! The 6008 is a multifunction device with analog input and digital IO. In theory you could of course use the digital IO to drive a I2C bus, in practice this comes down to bit-banging the I2C protocol, and while possible, it’s a major project of its own to develop and the 6008 hardware isn’t exactly ideal to do this.
Using a Raspberry Pi with its onboard I2C has also challenges but would be still several times easier to do.
06-21-2021
06:05 AM
- last edited on
09-05-2025
05:49 PM
by
Content Cleaner
Another option would be a USB-8451 or USB-8452, which are made for communicating over I2C and SPI. The API is pretty straight forward.
06-21-2021
09:07 AM
- last edited on
09-05-2025
05:49 PM
by
Content Cleaner
Or another cheaper and less industrial solution is an Arduino, probably the Uno, and the LINX toolkit which is free. This downloads a standard firmware to the microcontroller and allows LabVIEW to request it perform operations. The LINX API has I2C, SPI and a bunch of other protocols. Years ago I made an industrial grade tester using the USB-8451 for communicating over SPI. After the project was over I replace the hardware with an Arduino and LIFA which came before LINX and I was able to perform the same test using this cheap hardware. In the end we didn't mind paying the extra money for NI hardware knowing it came with support from NI, where if the Arduino broke or stopped working, we would be on our own.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord