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
  • Control Processing
  • Central Controllers
  • NX-Series Controllers

How to get the MAC Address of a NetLinx Master

Written by Gary Brindley

Updated at January 12th, 2026

Table of Contents

Question: Answer:

Question:

How to get the MAC address of a NetLinx master, using GET_UNIQUE_ID() and print to touch panel.
 

Answer:

This attached code allows for retrieving the MAC address of a NetLinx master.  It also shows how to parse it and send it to a touch panel.  This can be adapted to use the MAC as a conditional in code.

The code is well commented.  GET_UNIQUE_ID() returns the MAC address of the local system into a variable.  cMac = GET_UNIQUE_ID().

You can use this in code like:

cMac = GET_UNIQUE_ID()
IF(cMac = “’$00,$9F,$05,$4C,$3B,$21’”) // DO SOMETHING

You can also use it to display the MAC address on an information page of a touch panel.  The page may show things like IP address, system number, online status, etc.  For this, you must break up the nMac string and format it to display on the panel.  

Example:

cMac = GET_UNIQUE_ID()
// THIS WILL ADD A LEADING 0 IF THE VALUE IS 0
IF(cMac[1] == 0)
{
   cMac1 = "'00'"
}
ELSE
{
   cMac1 = "ITOHEX(cMac[1])"
}
IF(cMac[2] == 0)
{
   cMac2 = "'00'"
}
ELSE
{
   cMac2 = "ITOHEX(cMac[2])"
}
IF(cMac[3] == 0)
{
   cMac3 = "'00'"
}
ELSE
{
   cMac3 = "ITOHEX(cMac[3])"
}
IF(cMac[4] == 0)
{
   cMac4 = "'00'"
}
ELSE
{
   cMac4 = "ITOHEX(cMac[4])"
}
IF(cMac[5] == 0)
{
   cMac5 = "'00'"
}
ELSE
{
   cMac5 = "ITOHEX(cMac[5])"
}
IF(cMac[6] == 0)
{
   cMac6 = "'00'"
}
ELSE
{
   cMac6 = "ITOHEX(cMac[6])"
}
SEND_COMMAND dvTPA,"'^TXT-4,0,MAC: ',cMac1,':',cMac2,':',cMac3,':',cMac4,':',cMac5,':',cMac6"
 
The result of this command will display in the following format:
00:9F:03:5E:4C:FE

Related Videos

address mac

Was this article helpful?

Yes
No
Give feedback about this article

Table of Contents

Question: Answer:

Related Articles

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

Related Articles

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