03-08-2010 10:31 AM - edited 03-08-2010 10:36 AM
Hi Gerd,
I think he wants to move the X axis motor and the Y axis motor simultaneously.
The problem with that is by the looks of thing he has 2 DAQ assistants in the one while loop so I am guessing they wont run in parallel. Whats need is a multifunctional DAQ type OP which OP's both signals at the same time. In order to do that you will probably have to move away from the DAQ express vi's and look at some of the DAQ examples for multiple analogue OP etc.
Edit: Scratch that, I am even more confused after reading it the second time :s
Craig
03-08-2010 10:37 AM
hi craigc
what you said exactly what I want
I want to move x and y simultanusly
I will try to find multifunction DAQ
thank you
03-10-2010 06:27 AM
Please any help
until now i didn't find the solution
😞
thank you
03-10-2010 07:01 AM
Try to get rid of the express vis.
init the joystick and one DAQ task outside the loop
read the joystick and calculate the needed output to the DAG
write the DAQ output
close the DAQ after loop finished
03-10-2010 11:51 PM
Hi,
First of all like you mentioned in your first post that only one moor ( X axis) works and the other ( Y axis ) doesn't work. Could you interchange the motors and see what the results are? ( I assume you would have tried that out already) If working fine, could you wire programatically the X input to Y and vice- versa?
Well, you can also simply add channels in one DAQ assistant for multiple analog output generation. Also as requested , post your VI? and let us know how exactly you are controlling the motor ie.do you have drives which work on the analog signal they recieve etc?