05-30-2006 07:06 PM
05-31-2006 04:44 PM
06-01-2006 04:33 PM
06-02-2006 01:39 PM
Hi Jason,
You are encountering that error because the USB-6008 does not support hardware-timed analog output, it can only do static analog output. Even though there is not an available example for VB6, this is pretty easy to do. You create the analog output channel, start the task, and then call the DAQmxWrite function whenever you want to update the analog output, and clear the task at the end. You can refer to the analog input example "One Sample" to get the general idea of this structure.
Hope this helps,
Laura