LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Use SPI VI

Hi, everyone. I have on question about using SPI VI. In my project, we use PID controller. And using arduino board to set point. So, we hope to control UNO output voltage through Labview. Originally, we use PWM and through controlling time cycle to control output voltage. But the PWM is only 8-bit, which doesn't meet our requirement on accuracy. Someone from arduino forum suggest that I could use MCP 4822 12 bit DAC. And this chip oculd be controlled by SPI protocol. So. I am planning to use SPI VI. I am confused by the Send Recieve VI. There are three parameter, SPI data, Chip select DPIn, world size. I am not sure how to use that. Could anyoen explain that to me Thank you!

0 Kudos
Message 1 of 2
(3,409 Views)

Do a google on...

arduino  MCP 4822

Get the code working with oly the Arduio first, then You will need to integrate this code with the LVIFA library.

Dale

0 Kudos
Message 2 of 2
(2,475 Views)