Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

analog output USB-6008

I Make a program to control robot by digital output from USB-6008, it works fine

I want to add analog output to my program, that just send constant voltage aout start by bushbottm

I'm still face problem with analog output

 

my program attached

 

if any one can help//

 

Thank you so much

0 Kudos
Message 1 of 2
(2,894 Views)

Interesting programming style.Smiley Surprised

 

All of those OR functions are not serving a purpose, the wiring is very messy, and the Boolean called SET REF does nothing.

 

You should really be thinking about using an event structure so that you only do a DAQmx Write when a value changes. You can have a single event for all the 'Open' Booleans and the digital write and a different event for the SET REF and the analog write. Just don't wire the SET REF to the DAQmx Write. It really doesn't need to be wired to anything.

0 Kudos
Message 2 of 2
(2,888 Views)