Category External tasks, Object ProJlink

Function ProJlinkTaskExecute


Description
Call a static method, with variable arguments, in a J-Link application.
Replacement in Object TOOLKIT: pfcJLinkApplication::ExecuteTask
Synopsis
#include <ProJlink.h>
ProErrorProJlinkTaskExecute(
ProJlinkAppHandle app_handle
/* (In)
Handle to the Jlink application.
*/
ProCharLine task_id
/* (In)
The name of the task listener registered using J-Link calls bt the application.
*/
ProArgument* input_args
/* (In)
ProArray of input arguments. This should not include any arguments of type PRO_VALUE_TYPE_POINTER.
*/
ProArgument** output_args
/* (Out)
ProArray of output arguments.
*/
char ** exception
/* (Out)
If the method threw an exception, the exception description is stored here. Free this string using ProStringFree(). Pass NULL if you are not interested in this information.
*/
)
Returns
PRO_TK_NO_ERRORTask executed successfully.
PRO_TK_BAD_INPUTSOne or more input arguments are invalid.
PRO_TK_USER_ABORTThe application threw an exception. See the exception output argument for more details.
PRO_TK_E_NOT_FOUNDThe task could not be found.
PRO_TK_BAD_CONTEXTThe handle is valid but the application is not active.
PRO_TK_GENERAL_ERRORA virtual machine error occurred. See the exception output argument for more details.

Manual References:

  1. Task Based Application Libraries: Launching Synchronous J-Link Applications
  2. Task Based Application Libraries: Launching Synchronous J-Link Applications