Home AMX User Forum NetLinx Studio

How does MASTER_SN keyword works?

Hi All,

Can anyone advice me how can I use this MASTER_SN keyword to get the serial number from the Master Processor.

What I am trying to do is to store the serial number in a variable which can be displayed to the user so when the device is faulty they can easily get the serial number by looking at the panel.

Can any expert advice me? Thanks in advance!

Comments

  • Joe HebertJoe Hebert Posts: 2,159
    I can’t get the keyword MASTER_SN to work and the help file is of no help.

    Try GET_SERIAL_NUMBER() instead.
    DEFINE_VARIABLE
    CHAR cSerialNum[16]
    
    DEFINE_START
    GET_SERIAL_NUMBER(0:1:0,cSerialNum)
    

    liviolow wrote: »
    Hi All,

    Can anyone advice me how can I use this MASTER_SN keyword to get the serial number from the Master Processor.

    What I am trying to do is to store the serial number in a variable which can be displayed to the user so when the device is faulty they can easily get the serial number by looking at the panel.

    Can any expert advice me? Thanks in advance!
  • Thanks alot! Works perfectly. Pretty curious what MASTER_SN actually does since the help explaination doesn't help in anyway. Thanks Joe!
    Joe Hebert wrote: »
    I can’t get the keyword MASTER_SN to work and the help file is of no help.

    Try GET_SERIAL_NUMBER() instead.
    DEFINE_VARIABLE
    CHAR cSerialNum[16]
    
    DEFINE_START
    GET_SERIAL_NUMBER(0:1:0,cSerialNum)
    
Sign In or Register to comment.