ASM.JobClose (FUN)

This function of the CAA_AsyncMan.library will close the job that has been opened by ASM.JobOpen and ASM.JobOpenEx before. All resources allocated will be released. If the job is in state BUSY , the function will return an error.

The return is an error code of the executed function.

Input:

hJob

UDINT

Handle of job

Output:

eError

ASM.ERROR

Error enumeration variable for diagnosis purposes.