public sealed class MotionKvaserCom : MotionCom| MotionKvaserCom | Constructor for the kvaser object |
| Bitrate | The bitrate of the communication |
| DefaultBaudrate |
The default baudrate when the unit is in firmware mode
(Overrides MotionComDefaultBaudrate) |
| DefaultBootBaudrate |
The default baudrate when the unit is in bootloader mode
(Overrides MotionComDefaultBootBaudrate) |
| DeviceIndex | The device index |
| IsConnected |
Indicates if the communication converter is connected
(Overrides MotionComIsConnected) |
| NodeID | The ID of the node (a.k.a, driver) |
| canGetChannels | Gets the number of connected Kvaser converters that are connected to the PC |
| canGetNumberOfChannels | Gets the number of connected Kvaser converters that are connected to the PC |
| ChangeBaudrate |
Changes the baudrate of the converter
(Overrides MotionComChangeBaudrate(Int32)) |
| CloseCom |
Closes the communication port
(Overrides MotionComCloseCom) |
| CloseComAsync | (Overrides MotionComCloseComAsync) |
| ConnectCom |
Connects to the selected communication port
(Overrides MotionComConnectCom) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| EraseAsync |
Erases the flash according to the given burn file
(Overrides MotionComEraseAsync(MotionPacketHelperBurnFile)) |
| ExitBoot |
Exits the bootloader and runs the FW
(Overrides MotionComExitBoot(Int32, NullableTimeSpan)) |
| ExitBootAsync |
Exits the bootloader and runs the FW
(Overrides MotionComExitBootAsync(Int32, NullableTimeSpan)) |
| FlushRxBuffer |
Flushes the rx buffer of the serial converter
(Overrides MotionComFlushRxBuffer) |
| FlushRxBufferAsync |
Flushes the rx buffer of the serial converter asynchronously
(Overrides MotionComFlushRxBufferAsync) |
| GetBaudrate |
Gets the current baudrate of the converter
(Overrides MotionComGetBaudrate) |
| GetConverterName | Gets the converter name given the channel index |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| LoadDefaultParameters |
Load the default parameters to the driver.
(Inherited from MotionCom) |
| 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.
(Inherited from MotionCom) |
| ProgramAsync |
Burns the driver according to the given burn file, and updates the progress object according to the offset and how much to proceed
(Overrides MotionComProgramAsync(MotionPacketHelperBurnFile, IProgressDouble, Double, Double)) |
| ReceiveBuffer |
Receives all the bytes that are currently on the RX buffer synchronously
(Overrides MotionComReceiveBuffer) |
| ReceiveBufferAsync |
Receives all the bytes that are currently on the RX buffer asynchronously
(Overrides MotionComReceiveBufferAsync) |
| ReceivePacket |
Receives a packet synchronously
(Overrides MotionComReceivePacket) |
| ReceivePacketAsync |
Receives a packet asynchronously
(Overrides MotionComReceivePacketAsync) |
| ResetDriver |
Resets the driver
(Inherited from MotionCom) |
| SaveParameters |
Saves the parameters to the driver
(Inherited from MotionCom) |
| SendData |
Sends an array of bytes through the communication port
(Overrides MotionComSendData(Byte)) |
| SendPacket |
Sends a packet synchronously
(Overrides MotionComSendPacket(MotionDataPacket)) |
| SendPacketAsync |
Sends a packet asynchronously
(Overrides MotionComSendPacketAsync(MotionDataPacket)) |
| SendReceivePacketAsync |
Sends a packet and then receives a packet.
(Inherited from MotionCom) |
| SetDriverBootBaudrate |
Assuming that the driver is in BL mode. Setting the BL baudrate.
(Overrides MotionComSetDriverBootBaudrate(UInt32)) |
| SetDriverBootBaudrateAsync |
Assuming that the driver is in BL mode. Setting the BL baudrate.
(Overrides MotionComSetDriverBootBaudrateAsync(UInt32)) |
| SetReceiveTimeOut |
Sets the maximum time to wait for the RX buffer to fill
(Overrides MotionComSetReceiveTimeOut(UInt64)) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| TryCalibrate |
Tries to calibrate the driver with the specified calibration type
(Inherited from MotionCom) |