Get Serial number or MAC address using the WATS Client

Follow

Comments

5 comments

  • Kevin Fuhrer

    Did someone had have already this error once?

    ----------------------------------------
    Details:

    An exception occurred inside the call to .NET member 'GetSerialNumber':
    System.ApplicationException: MACAddress is not initialized, please setup
       bei Virinco.WATS.Interface.MES.Production.SerialNumberHandler.GetSerialNumbers(Int32 numToGet, String serialnumberRef, String partnumberRef)
       bei Virinco.WATS.Interface.MES.Production.SerialNumberHandler.GetSerialNumber(String serialnumberRef, String partnumberRef)
    ----------------------------------------
    Error Code:

    -2146232832; User-defined error code.
    ----------------------------------------
    Location:

    Step 'Get MAC' of sequence 'WATS MES - PreUUT' in 'WatsTest.seq'
    ----------------------------------------

     

    0
    Comment actions Permalink
  • Tom Andres Lomsdalen

    The error state "MACAddress is not initialized". Have you?: https://support.virinco.com/hc/en-us/articles/360013425540-Configure-Serial-number-handler-at-the-WATS-Client

    0
    Comment actions Permalink
  • Kevin Fuhrer

    Dear Tom
    Yes I had initialized the serial number handler.
    Now I reinstalled the WATS TestStand Plugin but unfortunately with the same result.

    0
    Comment actions Permalink
  • Tom Andres Lomsdalen

    Hi, seems like a "spacing" issue?

    Error log: "MACAddress", Serial number handler: "MAC Address"

    0
    Comment actions Permalink
  • Kevin Fuhrer

    Hi Tom

    This was indeed the case.
    Many thanks for the hint.

    0
    Comment actions Permalink

Please sign in to leave a comment.