Teststand issue with WATS

Comments

3 comments

  • Tom Andres Lomsdalen

    Hi,

    Please see this article:

    https://virinco.zendesk.com/hc/en-us/articles/207424083-TestStand-Set-Operation-Type-error

    0
    Comment actions Permalink
  • Erijensen

    Hi Tom,

    Thanks for the quick reply. I've already encountered that issues and dealt with it. This error does not claim there is an evaluation issue. This one claims the module cannot be loaded.

    The full error message:

    Message     : Module for Step 'WATS_SetOpType' not Loadable. An exception occurred inside the call to .NET member 'WATS_SetOpType':
    System.Threading.ThreadStateException: ActiveX control 'a5bf99d8-9325-4168-8c33-0d80bff39ad8' cannot be instantiated because the current thread is not in a single-threaded apartment.    at System.Windows.Forms.AxHost..ctor(String clsid, Int32 flags)    at NationalInstruments.TestStand.Interop.UI.Ax.AxExpressionEdit..ctor()    at WATS_Teststand_Support.WATS_SetOpType.InitializeComponent()    at WATS_Teststand_Support.WATS_SetOpType..ctor()

    Location    : WATS_SetOpType.Substeps["Edit"].TS.SData
    Rule        : Code modules must be able to load
    Description : TestStand must be able to load all code modules without error. TestStand reports errors at run time when it
    cannot load a code module.  Correct this problem by editing the step in the sequence editor.


    I've removed the file entry since it isn't important.

    0
    Comment actions Permalink
  • Tom Andres Lomsdalen

    Hi,

    Hmm, ok,, may be a TS issue then...

    I can only suggest you update to the latest WATS Client, TS patch, .NET framework etc. You may submit a support ticket if you cannot find a working solution for this.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.