Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

6008 Analog Output Skewing Analog Input Data in Simulink

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

0 Kudos
Message 1 of 2
(3,665 Views)

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

National Instruments
0 Kudos
Message 2 of 2
(3,644 Views)