AMX NX-1200 Webconsole And Programming Manual page 16

Nx-series controllers, enova dvx all-in-one presentation / digital media switchers, massio controlpads
Table of Contents

Advertisement

These statistics indicate how many times mainline has been executed and why it has been executed. Repeatedly executing "show
interp stats" will give you an idea which code construct is causing mainline to execute. For example, if a variable is being changed,
you will see the "Variable Change" count increasing. If a timeline is firing quickly, you will see the TIMELINE_EXPIRATION count
increasing. A normal idle application that is executing DEFINE_PROGRAM every half second will only see the "Periodic Mainline"
count increasing.
For example, consider this diagnostic output from a NetLinx application that is changing a variable in DEFINE_PROGRAM:
>show interp stats
-- Mainline Executions due to:
Variable Change :
Pending Int Event :
Pulse Expiration :
Hold Expiration :
DoPush Expiration :
Wait Expiration :
Until Expiration :
Timeline Expiration : 0
Periodic Mainline :
Current internal event count = 1
>show interp stats
-- Mainline Executions due to:
Variable Change :
Pending Int Event :
Pulse Expiration :
Hold Expiration :
DoPush Expiration :
Wait Expiration :
Until Expiration :
Timeline Expiration : 0
Periodic Mainline :
Current internal event count = 0
>show interp stats
-- Mainline Executions due to:
Variable Change :
Pending Int Event :
Pulse Expiration :
Hold Expiration :
DoPush Expiration :
Wait Expiration :
Until Expiration :
Timeline Expiration : 0
Periodic Mainline :
Current internal event count = 1
Notice the "Variable Change" count is increasing rapidly.
These diagnostics will not tell you where in your application the offending code resides. Finding the offending code requires a
process of code analysis and possibly selectively commenting out sections of code to isolate the offender.
NOTE: NetLinx modules each have a DEFINE_PROGRAM section that must abide by the same rules as the main program, so the
offending code could be in a module.
NX-Series Controllers - WebConsole & Programming Guide
50927
1
0
0
0
0
0
0
62295
1
0
0
0
0
0
0
72386
1
0
0
0
0
0
0
Overview
16

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents