LUASTATUS

Display status of Lua scripts

Platform:

OEM719, OEM729, OEM7500, OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700, SMART7

Use this log to determine which scripts are running on the receiver and whether the scripts have exited or encountered errors.

Message ID: 2181

Log Type: Collection

Recommended Input:

LOG LUASTATUS

Abbreviated ASCII Example:

[COM1]<LUASTATUS COM1 1 84.5 FINESTEERING 1963 402110.866 02400000 2e18 32768

<     0 "icom_rx.lua 127.0.0.1 3001" EXECUTING

<LUASTATUS COM1 0 84.5 FINESTEERING 1963 402110.866 02400000 2e18 32768

<     1 "" NOT_STARTED

The example above is for the projected log output for two executors.

Field

Field Type

Description

Format

Binary Bytes

Binary Format

1

Log header

LUASTATUS header

For information about log headers, see ASCII, Abbreviated ASCII or Binary.

 

H

0

2

Number

Executor number

Ulong

4

H

3

Script

Script and arguments

String[256]

Variable

H+4

4

Status

Script status. See Table: Script Status.

Enum

4

Variable

Script Status

Binary

ASCII

Description

0

NOT_STARTED

There is no script running on the executor

1

EXECUTING

The script is running

2

COMPLETED

The script completed successfully

3

SCRIPT_ERROR

The script exited with an error

4

EXECUTOR_ERROR

The script executor encountered an error while attempting to run the script