11-15-2007 12:21 AM
11-15-2007 03:48 AM
11-15-2007 10:17 AM
Hi André,
All 4 servos are connected to a servo controller card (COM1) and by using #0, #1, #2 and #3 at the start of the string command, I can select the proper servo.
What I need is a method to adjust each servo's position one at the time using some form of slider control (mouse control). I am not sure if I need to open and close the COM port each time that I perform an adjustment, but I need to prevent open/closing a port that has been previously open or close by a prior servo adjustment.
In regard to your comment: "You could indeed use the event structure to determine which slider has focus and then connect to that servo and set the value."
Would you mind to modify my previous attached vi to accomodate your suggested approach for one servo only and I could expand from there. Thanks,
Frank,
11-15-2007 12:10 PM
11-15-2007 01:04 PM - edited 11-15-2007 01:05 PM
11-15-2007 02:52 PM
11-16-2007 09:27 AM
11-16-2007 10:07 AM