.

Controller.FirmwareLoadFromFile

Downloads firmware and FPGA files from the host computer to the motion controller's flash memory.

Version History

Introduced in MPX 2.0.

Arguments

 
Argument Type Description
filename String The name of the file which contains the the firmware image to be downloaded.
fpga1 String The name of an optional FPGA image file.
fpga2 String The name of an optional second FPGA image file.
fpga3 String

The name of an optional third FPGA image file.

Visual Basic

Syntax

Sub FirmwareLoadFromFile(filename As String)

Sample Code

 
If controller.State = Mpx.ControllerState.FirmwareInvalid Then
controller.FirmwareLoadFromFile("zmp632A3.bin")
End If


Sample Application

 

C#

Syntax

void FirmwareLoadFromFile(string filename)

Sample Code

 
if(controller.State == Mpx.ControllerState.FirmwareInvalid)
{
controller.FirmwareLoadFromFile("zmp632A3.bin");
}

 

 

See Also

FirmwareSaveToFile
FirmwareVersion

 

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