| KM_ControllerLoadCoff(Int32, String, Int32) Method |
Load a compiled C program into the board (with PackToFlash arg)
Namespace: KMotion_dotNetAssembly: 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
)
Public Function LoadCoff (
thread As Integer,
programname As String,
PackToFlash As Integer
) As Integer
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
Int32Returns 0 if successful
See Also