.

Can.FirmwareLoadFromFile

Downloads new firmware to the CAN controller.

NOTE: This operation takes approximately 10 to 30 seconds to complete the download.

Version History

Introduced in MPX 2.0.

Arguments

 
Argument Type Description
filename String The name of the file which contains the firmware image to be downloaded.

Type

Boolean

Visual Basic

Syntax

Sub FirmwareLoadFromFile(filename As String)

Sample Code

 
Dim can As Mpx.Can = Controller.Can(0)

' Load firmware from the file CAN003A1.out
' in the current directory.
can.FirmwareLoadFromFile("CAN003A1.out")

 

C#

Syntax

void FirmwareLoadFromFile(string filename)

Sample Code

 
Mpx.Can can = Controller.Can[0];

// Load firmware from the file CAN003A1.out
// in the current directory.
can.FirmwareLoadFromFile("CAN003A1.out");

 

See Also

FirmwareErase
FirmwareSaveToFile

CANOpen Overview

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering