UsbSabertooth MethodsSyRen/Sabertooth Library for .NET

The UsbSabertooth type exposes the following members.

Methods

  NameDescription
Public methodCommand(Byte, Byte)
Sends a packet serial command to the motor driver.
Public methodCommand(Byte, Byte)
Sends a multibyte packet serial command to the motor driver.
Public methodDrive
Controls the mixed-mode drive channel. In User Mode, this sets MD.
Public methodFreewheel(Boolean)
Causes motor output 1 to freewheel. In User Mode, this sets Q1.
Public methodFreewheel(Int32)
Causes motor output 1 to freewheel. In User Mode, this sets Q1.
Public methodFreewheel(Int32, Boolean)
Causes the specified motor output to freewheel. In User Mode, this sets Q1 or Q2.
Public methodFreewheel(Int32, Int32)
Causes the specified motor output to freewheel. In User Mode, this sets Q1 or Q2.
Public methodStatic memberFromHidStream
Initializes a new instance of the UsbSabertooth class that communicates over the USB HID protocol.
Public methodGet
Gets a value from the motor driver.
Public methodGetBattery(Int32)
Gets the battery voltage.
Public methodGetBattery(Int32, Boolean)
Gets the battery voltage.
Public methodGetCurrent(Int32)
Gets the motor output current.
Public methodGetCurrent(Int32, Boolean)
Gets the motor output current.
Public methodGetSpecial
Gets a special value from the motor driver.
Public methodGetTemperature(Int32)
Gets the motor output temperature.
Public methodGetTemperature(Int32, Boolean)
Gets the motor output temperature.
Public methodKeepAlive
Resets the serial timeout. This is done automatically any time a motor output is set. You can, however, call this if you don't want to set any motor outputs.
Public methodMotor(Int32)
Controls motor output 1. In User Mode, this sets M1.
Public methodMotor(Int32, Int32)
Controls the specified motor output. In User Mode, this sets M1 or M2.
Public methodPower(Int32)
Controls power output 1, if power output 1 is configured as a controllable output. In User Mode, this sets P1.
Public methodPower(Int32, Int32)
Controls the specified power output, if the power output is configured as a controllable output. In User Mode, this sets P1 or P2.
Public methodSet
Sets a value on the motor driver.
Public methodSetCurrentLimit(Int32)
Sets the current limit for all motor outputs. In User Mode, this sets T1 and T2. 2014-06-09 and newer firmwares support changing the current limit while running.
Public methodSetCurrentLimit(Int32, Int32)
Sets the current limit for the specified motor output. In User Mode, this sets T1 or T2. 2014-06-09 and newer firmwares support changing the current limit while running.
Public methodSetRamping(Int32)
Sets the ramping for all motor outputs. In User Mode, this sets R1 and R2.
Public methodSetRamping(Int32, Int32)
Sets the ramping for the specified motor output. In User Mode, this sets R1 or R2.
Public methodSetTimeout
Sets the serial timeout.
Public methodShutDown
Shuts down an output.
Public methodTurn
Controls the mixed-mode turn channel. In User Mode, this sets MT.
Top
See Also

Reference