08-29-2007 04:03 AM
08-30-2007 02:32 PM
Hello,
I would be more than happy to help you with your program. However, it is unclear what the problem is that you are encountering. As I do not have a joystick, I cannot test the VI that you have attached. Is there a specific problem or error with this VI, or are you simply seeking advice on how to improve it?
What exactly are you attempting to accomplish with this VI? I looked at the block diagram but I do not understand what your end goal is. Are you attempting to read the data from the joystick and output it to the USB-6009? If this is indeed the case, it seems as though you would want to connect the data that you acquire with the joystick Acquire Input Data VI to the data input of the DAQmx Write VI. Also, it seems that you would want the DAQmx VIs inside of your While Loop so that you are continuously reading the joystick data and updating the output of the 6009.
I look forward to hearing back from you with more details about your specific application.