08-07-2007 01:32 PM
08-08-2007
01:50 PM
- last edited on
04-23-2024
09:54 AM
by
Content Cleaner
Hi Xiaofei,
Thanks for posting on the NI forums! Can you tell me a little more about your setup? What do you mean by Simulation loop? Do you mean Simulation Module or Simulation Interface Toolkit (now called Model Interface Toolkit)? What hardware are you using to control the motors and read the encoder feedback? What kind of motors do you have? Can you read the encoder inputs in LabVIEW when you turn the motors by hand?
Thanks,
08-08-2007 01:56 PM
Hi Maclean,
thank you for your reply! The simulation loop is in simulation module. We use DAQCard 6062E to get the feedback from the encoder and send command signal to the amplifier connected to the motor. It's a DC motor. We've made a code for quadrature decoding in while loop and it works well, but this code involves case structures that cannot be used in a simulation loop. Hope these information can make you understand our setup and then give us some suggestions. thanks a million!!
Regards,
Xiaofei
08-09-2007 07:13 AM