LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Issues with analog voltage output

I have got everything to work in my VI expect the analog ouput.  The output is from a PID controller and controling a servo valve using a +/- 10 v signal.  When I stop the VI I get the attached error message.  The portion of my VI containing the output is also attached.  I have done some searching and tried every combination or ideas that I found with no luck.  Any ideas?

 

Thanks guys.

 

Download All
0 Kudos
Message 1 of 3
(2,565 Views)
For the analog output it looks you are trying to use Dev2/ai0? ai usually refers to an analog input. You need to select an analog output channel ao.
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 3
(2,562 Views)

Wow, thats actually embarressing.  The funny thing is, that you have to delete the constant used to define the channel, choose analog output, then create the constant again to be able to choose the analog output channels.

 

Thanks for the help.

0 Kudos
Message 3 of 3
(2,554 Views)