# Output Block

## Byte 0 -1

Name | Description
--- | ---
Current Job ID | A 16-bit integer that denotes the ID number of the currently running job on the vision system, or 65535 if the current job does not have an ID number. This field is updated when the job is changed on the vision system, regardless of method of job change.

## Byte 2 - 3

Name | Description
--- | ---
Error Code | A 16-bit numeric representation of the error that has occurred:
Code | Error | Description
--- | --- | ---
0x0000 | No Error | No error occurred.
0x0100 | Trigger set while disabled | Occurs when the Trigger bit is set while the Trigger Enable bit is cleared and the Trigger parameter of the AcquireImage function is set to External, Network or Industrial Ethernet.
0x0101 | Trigger set while Offline | Occurs when the Trigger bit is set while the vision system is Offline.
0x0400 | Already Executing Error | Occurs when the Execute Command bit is set and the Executing bit is still High.
0x0401 | Job load requested while Online | Occurs when a Job Load command is issued while the vision system is Online.
0x0402 | Job load requested does not exist on the camera | Occurs when a JobID sent in the Command field does not exist as a prefix for any job in the camera file system. For example, if you send Command = 123 and no job on the camera contains 123xxxxx.job.
0x0410 | TestRun not enabled | Occurs when TestRun is attempted to execute while TestRun is not enabled in the loaded job.
0x0411 | TestRun requested while Online | Occurs when TestRun execution is requested while the system is Online.

## Byte 4 - 5

Name | Description
--- | ---
CommandResultCode |

## Byte 6 - 7

Name | Description
--- | ---
Acquisition ID | This ID increments at the beginning of an acquisition and when the Trigger Ack bit is set. The Acquisition ID can be used to synchronize an acquisition with its Inspection Results.

## Byte 8 - 9

Name | Description
--- | ---
Inspection ID | The acquisition ID associated with this set of results.

## Byte 10 - 11

Name | Description
--- | ---
Inspection Result Code | The inspection result code is defined by the Result Code parameter of the WriteResultsBuffer function.

## Byte 12 - 1912

Name | Description
--- | ---
Inspection Results | Inspection result data written from the spreadsheet, using the WriteResultsBuffer function.