Anytime Help Center

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Support
  • Guest
  • Log In
English (US)
US English (US)
DE German
CN Chinese
MX Spanish (Mexico)
Chinese (Simplified)
  • AKG
    Microphones Wireless Integrated Systems Automatic Mixers Headphones Discontinued Products (AKG) General AKG Inquiries Certifications (AKG)
  • AMX
    Networked A/V Distribution (AVoIP) Traditional A/V Distribution Video Signal Processing Architectural Connectivity User Interfaces Control Processing Power (AMX) Programming (AMX) Software (AMX) Discontinued Products (AMX) General AMX Inquiries Certifications (AMX)
  • BSS
    Soundweb™ Omni Soundweb™ London Soundweb™ Contrio™ Software (BSS) Discontinued Products (BSS) General BSS Inquiries Certifications (BSS)
  • Crown
    CDi DriveCore Series CDi Series Commercial Series ComTech Series DCi DriveCore Series I-Tech HD Series XLC series XLi Series XLS DriveCore 2 Series XTi 2 Series Discontinued Products (Crown) Software (Crown) General Crown Inquiries Certifications (Crown)
  • dbx
    CX Series 500 Series DriveRack Personal Monitor Control ZonePRO Zone Controllers FeedBack Suppression Microphone Preamps Dynamics Processors Crossovers Equalizers Software (dbx) Discontinued Products (dbx) General dbx Inquiries Certifications (dbx)
  • Flux::
    Immersive Processing Analysis Subscriptions
  • JBL
    Cinema Sound Installed Live Portable Tour Sound Recording & Broadcast Software (JBL) Discontinued Products (JBL) Video Manual Series (JBL) General JBL Inquiries Certifications (JBL)
  • Lexicon
    Plugins Effects Processors Cinema Discontinued Products (Lexicon) Video Manual Series (Lexicon) General Lexicon Inquiries Certifications (Lexicon)
  • Martin
    Atomic ELP ERA Exterior MAC P3 VC VDO Tools Discontinued Products (Martin) General Martin Inquiries Certifications (Martin)
  • Soundcraft
    Digital Analog Connected Analog Only Discontinued Products (Soundcraft) Video Manual Series (Soundcraft) General Soundcraft Inquiries Certifications (Soundcraft)
  • General HARMAN Inquiries
    Dante
+ More
  • Home
  • AMX
  • Software (AMX)
  • NetLinx Studio

Fixing A Lockout Problem

Written by Peter Stauber

Updated at January 13th, 2026

Table of Contents

Overview: Variable Solution Channel Assignment Solution

Overview:

​If your code has a variable that can lock out functionality, there always needs to be a way to clear it if the power goes out when the variable is set.  At the very least, it should be turned off in DEFINE_START.  Even better, if it's cleared in mainline the program will fix itself, without cycling power, if the variable gets stuck "on" somehow.


Variable Solution

I​F (LOCKOUT_VAR)

{

 WAIT HOWEVER_LONG_I_NEED_TO_WAIT 'CLEAR LOCKOUT'

 OFF[LOCKOUT_VAR]

}

ELSE

 CANCEL_WA​​​IT ‘CLEAR LOCKOUT’


Channel Assignment Solution

A simpler solution is to assign a channel on the device as a lockout (instead of a variable).  This way, whenever the system is reset or the device has power cycled, it will turn off without adding any additional code.  This same idea may be used with debug messaging information to the terminal window.

Additionally using a channel allows you to look at (and change) the status without having the exact same version of the code compiled as the running code.  ​OpenAxcess can tell you what's going on.

Add the idea of clearing the channel without a power down to that, as in the following mainline code:

IF ([dev,LOCKOUT_ch])

{

 WAIT HOWEVER_LONG_I_NEED_TO_WAIT 'CLEAR LOCKOUT'

 OFF[ [dev,LOCKOUT_ch] ]

}

ELSE

 CANCEL_WAIT 'CLEAR LOCKOUT'

Inside your PUSHes or other conditionals, simply turn ON the lockout channel.  When Tech Support needs to change the timing there will be only ONE place it needs to be changed.  Also, the mainline routine cancels the wait anytime the channel turns off, such as a device reset or terminal mode OFF command.

Note: Only use a device channel when the lockout is specific to that device only. ​


 

Related Videos

template format

Was this article helpful?

Yes
No
Give feedback about this article

Table of Contents

Overview: Variable Solution Channel Assignment Solution

Related Articles

  • AMX How to Log Diagnostics and Notification Information in Netlinx
  • Firmware Transfer Failing
  • Network folders missing from Netlinx Studio
  • Clearing File Transfer Error - Insufficient Memory
  • Netlinx Studio 3

Related Articles

  • AMX How to Log Diagnostics and Notification Information in Netlinx
  • Firmware Transfer Failing
  • Network folders missing from Netlinx Studio
  • Clearing File Transfer Error - Insufficient Memory
  • Netlinx Studio 3
Copyright © HARMAN Professional. All rights reserved. Privacy Policy | Terms of Use
Expand