03-13-2011 04:36 PM
We're using a USB 6008 with simulink to read in an analog position from an encoder, and then send out a corresponding analog output signals to a DC motor. The problem is, the Encoder analog input works perfectly by itself, but as soon as the analog output block is put in, the analog imput data is completely messed up. The problem is repeatable: if we delete the analog output block, the system works perfectly. If we put it back, it doesn't work.
We are using hardware timed analog input. The output is software timed, since the 6008 doesn't have an onboard clock for analog output. We are using the Data Acquisiton toolbox for simulink.
Thanks
03-14-2011 05:31 PM
Can you provide a little bit more information about what you are doing in your code? How exactly are you performing the data acquisition input and output? Some more detail and possibly some screenshots could be helpful.
Thanks