06-01-2015 03:18 PM
I was able to connect AO0 to AI0 and use MAX to run it this way. The only issue with this is, when I connect another AI from another device, when the voltage is set back to 0, it never goes back to 0, unless my loop is set to 0 on MAX, first.
06-01-2015 03:53 PM
Uhhh, what?
So in MAX you can set an AO and you can read the AI. Then you added another AI from another device. How are the signals configured? Are they single ended or differential? Do you have a common ground between the two DAQs?
Then you tried to set the output to 0 in LabVIEW but you can't because MAX is still running? So close MAX first. MAX locks the resource when you start a task there, and won't release it until the task stops, or MAX closes. If you have error handling in LabVIEW you should see it tell you it can't use that resource because some other software is using it.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-02-2015 11:34 AM
You are doing this in LabVIEW or MAX? Maybe some screenshots or example code could help clarify this.
06-03-2015 09:19 AM
I have been using MAX to use AO0, 0-10VDC. I am able to read data from the Vi however, I haven't figured out how to drive anything, using output from Vi, yet.
06-03-2015 09:35 AM
You should only use MAX for testing. For applications, use proper DAQmx VIs, not MAX or Express VIs!
From LabVIEW you can go to Help menu, and you can find tonnes of examples how to program AIO, etc...
06-03-2015 09:46 AM
I have DAQmx that I have finally figured out how to drive the output voltage, thank you.