View Single Post
  #9   Spotlight this post!  
Unread 26-02-2011, 10:29
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: CAN LabVIEW help

This is the only sync group currently in use, unless you add another yourself.

The sync group is actually a bitmask. Think of it, instead of decimal 128, as binary 1000 0000. (I'm putting a space in the middle to make it easier to read, but I don't think it's standard practice.)

Say you update a motor with a sync group of 1000 0100.
A sync update including the 3rd or the 8th (or both) sync groups will put that update into action.
The same logic works for sync update. If you sync update with the 7th and 6th sync groups (0110 0000), then that will put into action all motor updates that included a sync group of 7 or 8 (or both).

In other words, a motor update with a sync group of 1111 1111 (decimal 255) can be updated by any sync group.
A sync update of 1111 1111 (decimal 255) will update all sync groups.



Some minor details:
  • Updating a motor with a sync group of 0 will force it to update immidiately, without waiting for any sync update
  • The Jaguar does not store a history of previous updates. Sync update can only put into action the last sent motor update.
__________________
-- Marshal Horn
Reply With Quote