08-02-2017 02:22 PM
I'm trying to set up a simple analog output through the DAQ assistant and i'm not getting anywhere with the forums or example.
2 slider outputs sending 0-5V through a NI 9264 Analog Output module. Seems like it should be pretty straight forward but it isnt.
Help?
08-02-2017 02:46 PM
Unfortunately a lot is hidden when you use express VIs and dynamic data. If you configured it for multiple samples it's going to expect 1 array per channel. I would just stick to the DAQmx VIs and it looks like this:
Or, with multiple channels it would like this:
08-02-2017 02:49 PM
I was hoping to do it with the DAQ assistant, as I am new to lab view
08-02-2017 02:53 PM
I see, well the pictures I uploaded are snippets, so if you have LV 2016 or above you can drag them onto your block diagram and it becomes code you can run, doesn't get much easier than that! I'll attach a VI as well if you need it.
08-02-2017 02:54 PM
I'm running 2015 I believe
08-02-2017 03:18 PM
I can't open the vi you shared
08-02-2017 04:09 PM
Here it is in LV 2012
08-03-2017 07:11 AM
Thank you for your help. I'm still having difficulties.
The code you sent me gives an error code -200846.
If anyone knows how to do this with the regular DAQ assistant please chime in
08-03-2017
10:19 AM
- last edited on
11-16-2024
05:36 PM
by
Content Cleaner
Did you change the channel name to match a real channel you have in your system? Just out of curiosity, have you played around with your device in MAX?
Here is a good article to get you started with DAQ programming as well.
06-08-2023 12:53 PM
Hi Gregory,
I would like to generate three phase analog voltage signals from NI 9264 with each signals 120 degrees apart. I was trying to use your VI file but couldn't get it done. Please help!
Phase (deg) | |||
Vline1 | Phase A | ao0 | 0 |
Phase B | ao1 | 120 | |
Phase C | ao2 | 240 | |
Vline2 | Phase D | ao3 | 0 |
Phase E | ao4 | 120 | |
Phase F | ao5 | 240 | |
Cline1 | Phase A | ao6 | 0 |
Phase B | ao7 | 120 | |
Phase C | ao8 | 240 | |
ao9 | |||
ao10 | |||
ao11 | |||
ao12 | |||
ao13 | |||
ao14 | |||
ao15 |
Thanks Greg!!!