AnsweredAssumed Answered

Anyone use TestStand 2016 .NET step to access N4010A?

Question asked by tmoe on Jul 11, 2018

I am trying to access N4010A using TestStand 2016 with a .NET step and the Agilent.N4010.WLanTest.dll.  TestStand 4.2.1 works fine with the DLL, but I have been unable to get it to work with TS2016. 

I am getting the following error:

An exception occurred inside the call to .NET member 'Instrument':

System.IO.FileLoadException: Mixed mode assembly is built against version 'v1.1.4322' of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.

   at Agilent.N4010.WLanTest.Instrument..ctor(String InstrumentVISAString, Boolean ShowSplash, Boolean UseInternalLicence, Boolean DeleteSequenceFiles, Boolean UseExtFrequencyReference, Boolean LoadStandardFiles, Boolean isInsideN8300)

   at Agilent.N4010.WLanTest.Instrument..ctor(String InstrumentVISAString, Boolean ShowSplash, Boolean UseInternalLicence, Boolean DeleteSequenceFiles)

 

I am using the DLL from N4010A_WLAN_Installer_A.06.57.exe.

 

I have tried the following settings without success:

Agilent.N4010.WLanTest.Instrument: Locals.Inst_Obj = Instrument("N4010A_WLAN", False, True, False)

Agilent.N4010.WLanTest.Instrument: Locals.Inst_Obj = Instrument("N4010A_WLAN", False, True, False, False, True, False)

 

Does anyone know how to make this work in TS2016 or if there is an updated DLL?

Any suggestions appreciated.

Thanks,

Tracey

Outcomes