10-08-2011 08:30 AM
i have a tracker data ie;roll, pitch and yaw data in the labview.. i need to send this data to one of the usb ports of the computer to control servo motors using parallax usb servo controller board.. aim of the project is to move two servo motors according to the head movements.. head movements are tracked using intersense itrax2 sensor.. plz help..
10-08-2011 06:36 PM
What is the model number of the servo controllers? Many of them use the FTDI drivers to cause the USB to emulate a conventional serial port.
Mike...
10-12-2011 07:46 AM
Hello,
Could I ask to see the LabVIEW code that you have so far? Do you already have the code and need the method by which you want to send the data or do you not yet have the code to send this data? Also to echo the point above, it would be very useful to know which controllers you are using.
I have also found a link to an example of how to control servos in LabVIEW, which I hope will be of use.
Regards
10-12-2011 09:51 AM
i have a code which was in labview forum.. this code is working fine.. i mean i could visualize the data of itrax2 in labview.. downloaded from link http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=1540162FC7953043E0440003BA7CCD... ...
now i want to send this data to one of the usb ports.. i am using http://www.robotshop.com/ca/parallax-usb-16-servo-controller.html.. the main aim of the project is tele-operation of the servo motors wirelessly or through network according to the motion of the intersense itrax2 sensor...
thank you for the support..
10-12-2011 10:56 AM
Thank you for this information. I have been researching your issue and have found a tutorial which talks through USB instrument control. As well as this I have found an example which shows a basic USB communication VI for communication data with a USB.
I hope that either of these or a combination of both are of use to you and let me know how it goes.
Regards
10-12-2011 11:12 AM
Read those tutorials with caution. The use of the VISA wizard requires you to obtain detailed low level information on the USB interface from the vendor. First investigate the software api that they provide. If you have a manual on the controller's software, attach it or provide a link.