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
  • Programming (AMX)
  • Programming

AMX Assigning a 2-Dim Array to Another 2-Dim Array Does Not Work in NetLinx

Written by Peter Stauber

Updated at January 14th, 2026

Table of Contents

Symptoms Resolution

Symptoms

Assigning the value of a 2-dim array to another similar 2-dim array does not work in NetLinx.

Example:

DEFINE_VARIABLE

ARRAY1[2][10] = {{'hello '},{'goodbye'}}

ARRAY2[2][10] = {{'i am the'},{'walrus'}}

DEFINE_PROGRAM

WAIT 20

{

 ARRAY2 = ARRAY1 // this line will not work, generates run-time error

 SEND_STRING 0,"ARRAY2[1],ARRAY2[2]"

} // end

The error generated will look something like this:

(0000097391) GetString - Error 1 Tk=0x0000

(0000097392) CopyString (Reference) - Error 2 S=0x0000 D=0x1033


Resolution

Use a FOR loop to copy each sub-array one at time:

Example:

DEFINE_VARIABLE

ARRAY1[2][10] = {{'hello '},{'goodbye'}}

ARRAY2[2][10] = {{'i am the '},{'walrus'}}

INDEX

DEFINE_PROGRAM

WAIT 20

{

 FOR (INDEX = 1; INDEX <=2; INDEX++)

 {

   ARRAY2[INDEX] = ARRAY1[INDEX]

 }

 SEND_STRING 0,"ARRAY2[1],ARRAY2[2]"

} // end


 

Related Videos

blueprint framework

Was this article helpful?

Yes
No
Give feedback about this article

Table of Contents

Symptoms Resolution

Related Articles

  • Is it possible to Reset or reboot a system master from Netlinx Code
  • Necessary DNS Configuration on an AMX Processor

Related Articles

  • Is it possible to Reset or reboot a system master from Netlinx Code
  • Necessary DNS Configuration on an AMX Processor
Copyright © HARMAN Professional. All rights reserved. Privacy Policy | Terms of Use
Expand