AnsweredAssumed Answered

AgilentRFSigGen Issue with IVI Components 2.4.2

Question asked by NeilBaliga on Nov 20, 2017
Latest reply on Dec 3, 2017 by NeilBaliga

Cannot get the PSG driver to build with IVI Shared Components 2.4.2 and Agilent PSG Driver in a .NET application (driver_ivi_matlab_AgilentRfSigGen_1_6_2_0_x64.msi).

 

Get the below error when referencing the AgilentRfSigGenClass via the AgilentRFSigGen interface.

"Reference to type 'IIviRFSigGenRF' claims it is defined in 'Ivi.RFSigGen.Interop', but it could not be found"

 

If I only use the AgilentRfSigGenClass, it compiles but throws a runtime exception:

"Could not load type 'Ivi.RfSigGen.Interop.IIviRFSigGenRF' from assembly 'Ivi.RfSigGen.Interop, Version=1.1.0.0, Culture=neutral, PublicKeyToken=a128c98f1d7717c1'."

 

I've tried every combination of build settings (x86, .NET 2, .NET 4), even switched Visual Studio across 2010 to 2017 and no luck getting this solved.

 

Tried just adding the COM reference to the Type library to a blank project and still have the same issue.

Tried referencing the Interop assemblies in the IVI Foundation folder, still have the same issue.

 

Tried on both Windows 7 and Windows 10 - no luck.

 

Tried adding the Infiniium scope driver and it builds and loads fine, so it isn't the IVI setup IMO.

Outcomes