10-24-2008 02:28 PM
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
10-24-2008 03:48 PM
Interesting programming style.![]()
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.