LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Analog Output with NI 9264

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?

Download All
0 Kudos
Message 1 of 10
(4,511 Views)

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:

temp.png

Or, with multiple channels it would like this:

temp2.png

 

0 Kudos
Message 2 of 10
(4,494 Views)

I was hoping to do it with the DAQ assistant, as I am new to lab view

0 Kudos
Message 3 of 10
(4,490 Views)

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.

0 Kudos
Message 4 of 10
(4,485 Views)

I'm running 2015 I believe

 

0 Kudos
Message 5 of 10
(4,483 Views)

I can't open the vi you shared

0 Kudos
Message 6 of 10
(4,466 Views)
0 Kudos
Message 7 of 10
(4,458 Views)

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

0 Kudos
Message 8 of 10
(4,426 Views)

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.

0 Kudos
Message 9 of 10
(4,416 Views)

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!!!

 

 

0 Kudos
Message 10 of 10
(1,393 Views)