Tracking sub units in WATS

Follow

Comments

8 comments

  • Piotr Małyszko

    Hi,

    is there any way of storing more data inside MiscUUTResult.UUT_Part_Info than only part type, number, serial number and revision number?

    1
    Comment actions Permalink
  • Tom Andres Lomsdalen

    @Piotr What kind of data? You can also use https://virinco.zendesk.com/hc/en-us/articles/207933206-Add-miscellaneous-data-to-the-UUT-header to store data like firmware versions atc.

    0
    Comment actions Permalink
  • Piotr Małyszko

    I thought about dates stored as a string and additional numeric info. Storing it inside miscellaneous data seems like a good idea, thanks!

    0
    Comment actions Permalink
  • Winnie Tang

    Can the sub board info be stored after the IdentifyUUT.vi has run? 

    In my case, I have to start the box build module test, and read the sub-board info to populate to the report header.

    Can I added in PostUUT?

     

    0
    Comment actions Permalink
  • Kevin Fuhrer

    Hello
    Is there any way in TestStand to add UUT MISC information into the WATS report within or after the Main Sequence?
    We'll get certain information e.g. MAC address or sub-unit information in the main sequence and would need to add them at this stage. Unfortunately we couldn't find any solution which works.
    PostUUT and ModifyReportHeader callback sequences don't work.

    Thanks

    0
    Comment actions Permalink
  • Tom Andres Lomsdalen

    Yes.

    Within MainSequence; RunState.Root.Locals.UUT.MiscUUTResult 

    After MainSequence; use the "PostMainSequence" callback - Parameters.UUT.MiscUUTResult

    0
    Comment actions Permalink
  • Kevin Fuhrer

    Dear Tom
    Many thanks for the hint. This works.
    BR
    Kevin

    0
    Comment actions Permalink
  • Simon Iversen

    Hello,

    I have an issue adding subunit info within the main sequence.

    If I add an element to "MiscUUTResult.UUT_Part_Info", no report is uploaded to WATS.

    Adding elements to "MiscUUTResult.Misc_UUT_Info" works fine, but if "SPC_Data" and "UUT_Part_Info" are not empty the sequence appears to run normally but a report is not uploaded to WATS.

    Extracting the client log shows the following error:

    2025-06-02T13:21:25.9269200+02:00;;Virinco.WATS.Logging.Client Error: 0 : 2025-06-02T13:21:25.9299118+02:00;;Message="An error occured during file conversion, see inner exception for details";
    {"ClassName":"System.InvalidOperationException","Message":"Collection was modified; enumeration operation may not execute.","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":"   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)\r\n   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()\r\n   at System.Linq.Enumerable.<OfTypeIterator>d__95`1.MoveNext()\r\n   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()\r\n   at System.Linq.Enumerable.<UnionIterator>d__67`1.MoveNext()\r\n   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)\r\n   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)\r\n   at Virinco.WATS.Interface.Report.ValidateForSubmit()\r\n   at Virinco.WATS.Interface.TDM.Submit(SubmitMethod method, Report report)\r\n   at Virinco.WATS.ClientService.Converter.ConvertFile(ConversionItem ci, TDM api)","RemoteStackTraceString":null,"RemoteStackIndex":0,"ExceptionMethod":"8\nThrowInvalidOperationException\nmscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\nSystem.ThrowHelper\nVoid ThrowInvalidOperationException(System.ExceptionResource)","HResult":-2146233079,"Source":"mscorlib","WatsonBuckets":null}

    Any assistance would be appreciated.

    0
    Comment actions Permalink

Please sign in to leave a comment.