Click or drag to resize

KM_ControllerLoadCoff(Int32, String, Int32) Method

Load a compiled C program into the board (with PackToFlash arg)

Namespace: KMotion_dotNet
Assembly: KMotion_dotNet (in KMotion_dotNet.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public int LoadCoff(
	int thread,
	string programname,
	int PackToFlash
)

Parameters

thread  Int32
thread address to load into(must match the thread the C program was compiled to)
programname  String
file name of the C program
PackToFlash  Int32
flag for packing in special format for bootup firmware

Return Value

Int32
Returns 0 if successful
See Also