Quote:
Originally Posted by Talguy
when your setting the output using the "motor set output" vi, you can create a constant for the sync group. This constant is defines what sync group the motor will be in for that update cycle. After all you motors are set to their desired outputs call the "Jag update sync group". This last command will tell all the jags in that group to accept the output values and start adjusting that motor speed all at the same time.
|
That's mostly correct. The only correction is that the group is an 8-bit mask. This means you could call set output and assign a sync group of 3 and then pass 1 or 2 into Update Sync Group and and the update would be applied in either case. You could also assign one motor to 4 and another to 8 and then pass 12 into Update Sync Group and both motors will update.
Not sure why you would want to do any of this, but that's how it works. Just don't accidentally use group 2 and 3 and expect them to be independent.
-Joe