11-20-2014 11:43 AM
I can contol MCP4725 DAC with Arduino Uno/Arduino IDE code but no luck using LabView. Can someone please give me simple LabView code using I2C low-level vi's to make the DAC output a DC voltage, say 1V, or even a sinewave. Thank you.
Solved! Go to Solution.
11-20-2014 06:07 PM
You can generally port Arduino I2C code to LIFA or LINX fairly easily. Take a look at some of the libraries that I've created for other I2C devices to see how it can be done. Then, see if you can figure out what you need to do to get each small function in Arduino code into LIFA or LINX code.
If you are unable to get anywhere with, you should post a link to the exact code that you are using on the Arduino (so that we know that it works).
11-23-2014 10:53 AM
The Arduino IDE code example from Sparkfun works fine, I can run it to set MCP4725 DAC output and verify with DMM, so that code works. What I have trouble with is implementing same in LV via I2C. A simple example would help. When I run your examples I get missing vi's errors in Agilent 34401 instrument driver library. Please point me to another example.
11-23-2014 12:41 PM
None of my Arduino/LIFA based code is related to the Agilent 34401. What one of "[my] examples" did you try to open?
Most of the things that I have posted in the Documents section use I2C. Check some of those out.
11-23-2014 02:22 PM
I just downloaded LIFA ADXL345.zip and opened Read Axis Data.vi. Can't find many files.
The files aren't on my hard drive.
11-23-2014 02:24 PM
You have to unzip the zip file first.
01-01-2018 02:50 PM
Hi. Did you do any software to use the DAC with LabView?.
I need to generate a analog Wave with LabView therefore I need to use the MCP4725 DAC
01-05-2018 12:37 PM
Hi!!!
Could you implement a code in LabView?
I have to make an analog signal due to i have to use the DAC with LabView!!!
HELP
03-21-2018 09:17 AM - edited 03-21-2018 09:18 AM
Hi,
I have also trouble connecting my MCP 4725 DAC with LINX.
I dont know which register i should choose and how to adjust output volt with a slider.
Can anyone help with a small example code?
Best Regards
03-24-2018 09:14 AM
Could you solve the problem wiht MCP4725????!!
I really need help.
Please