LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

regd: interfacing MCP4901 with lab view using LIFA

I tried interfacing with MCP4901 8 bit DAC with arduino using LIFA tool , but it is not working any suggestion , please.  i attached the file .

- prag

0 Kudos
Message 1 of 6
(3,754 Views)

Hey Prag,

What behavior are you seeing when you run the VI? Are you not getting any data back? Not the correct data? Error messages?  I took a look at the VI and everything seems to be set up correctly.

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 2 of 6
(3,043 Views)

if i run this VI i will get data all clocks and data and CS signal coming in the pins of Arduino UNO perfectly . no error messages

-- prag

0 Kudos
Message 3 of 6
(3,043 Views)

Hey Prag,

If all that is working what aspect of your design are you having issues with?

Kevin Fort
Principal Software Engineer
NI
0 Kudos
Message 4 of 6
(3,043 Views)

all looks fine but no output from DAC4901 , may be i am missing some byte order ,i need to check the datasheet fully . 

0 Kudos
Message 5 of 6
(3,043 Views)

Hey Prag,

after the spi read/write vi you must generate a load DAC impulse (see datasheet on page 7).

0 Kudos
Message 6 of 6
(3,043 Views)