Redler Technologies Inc.

MotionCom Class

An abstract class for the motion communication class

Definition

Constructors

MotionCom Initializing the object with the given protocol

Properties

DefaultBaudrate The default baudrate when the unit is in firmware mode
DefaultBootBaudrate The default baudrate when the unit is in bootloader mode
IsConnected Indicates if the communication converter is connected
Protocol The protocol

Methods

ChangeBaudrate Changes the baudrate of the converter
CloseCom Closes the communication port
CloseComAsync 
ConnectCom Connects to the selected communication port
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
EraseAsync Erases the flash according to the given burn file
ExitBoot Exits the bootloader and runs the FW
ExitBootAsync Exits the bootloader and runs the FW
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FlushRxBuffer Flushes the rx buffer of the serial converter
FlushRxBufferAsync Flushes the rx buffer of the serial converter asynchronously
GetBaudrate Gets the current baudrate of the converter
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
LoadDefaultParameters Load the default parameters to the driver.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
PreserveBootData This will edit the burn block starting at the 12'th index with the boot data
PreserveBootDataAsync Checks if the burn file is a boot file. If so, when the boot version is between 20122 and 30205, then we preserve the hw version, sn, pn, data code, lot, tech code and factory code in the address 3F 00 00 40. Assumes that the burn file is a boot file. Also, this method assumes that there are no additional messages running in the background.
ProgramAsync Burns the driver according to the given burn file, and updates the progress object according to the offset and how much to proceed
ReceiveBuffer Receives all the bytes that are currently on the RX buffer synchronously
ReceiveBufferAsync Receives all the bytes that are currently on the RX buffer asynchronously
ReceivePacket Receives a packet synchronously
ReceivePacketAsync Receives a packet asynchronously
ResetDriver Resets the driver
SaveParameters Saves the parameters to the driver
SendData Sends an array of bytes through the communication port
SendPacket Sends a packet synchronously
SendPacketAsync Sends a packet asynchronously
SendReceivePacketAsync Sends a packet and then receives a packet.
SetDriverBootBaudrate Assuming that the driver is in BL mode. Setting the BL baudrate.
SetDriverBootBaudrateAsync Assuming that the driver is in BL mode. Setting the BL baudrate.
SetReceiveTimeOut Sets the maximum time to wait for the RX buffer to fill
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryCalibrate Tries to calibrate the driver with the specified calibration type

Fields

See Also