07-31-2017 08:06 PM
Hello all,
I am trying to get a driver built and fully working for a Sabertooth 2x60 to be used in a RoboRIO driving an electric wheelchair motors. So I have it working for the most part and it should be a real simple but for some reason it is not.
I can post additional code if it helps but hopefully someone has had experience with the issue. I and sending serial commands to the sabertooth via VISA and it responds perfectly for motor 1 and seems to miss about every other message for motor 2. Additionally I cant set the serial time out or any of the other time outs.
Attached is a summary that I sent to Customer support but so far they are little help. I am guessing it is some random Labview thing that I am missing.
Thanks for your help!
Solved! Go to Solution.
08-01-2017 09:35 AM
Your checksum says you want to add the 3 bytes together. But you are just ORing them together. Before ANDing with 1111111.
In some situations, the checksum would be the same. In others it would not. (Though for the 2 examples you show, they do give the same checksum.)
08-01-2017 10:29 AM
Crap I think that is the issue. I will test it out when I get to work but it makes total sense. I think I just say the + and thought or and didn't fully read it.
Will Update when I know it works.
08-01-2017 03:55 PM
That was the issue. Good eye.