03-04-2015 01:35 PM
Try the .\Interfaces3.5 directory instead of .\Interfaces
03-04-2015 07:17 PM
Thank you LabVIEWFL,
I will try to rewrite the existing codes (use COM API ) to new codes using .NET API.
Phong
03-19-2015 01:47 PM
Hi LabVIEWFL and everybody,
When I put the property node on Block diagram and select class---->.NET----->Agilent.SA.Vsa.Interfaces.dll, I'm seeing the message:
"System.BadImageFormatException: Could not load file or assembly 'C:\Program Files\Agilent\89600 Software 19.0\89600 VSA Software\Interfaces\Agilent.SA.Vsa.Interfaces.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
<append><b>System.BadImageFormatException</b>.
Have you seen this problem before?
How to fix it? Does it have something to do with 32 bit or 64 bit CPU PC?
Thanks
Phong
03-19-2015 07:12 PM
Hi LabVIEWFL and everybody,
When I put the property node on Block diagram and select class---->.NET----->Agilent.SA.Vsa.Interfaces.dll, I'm seeing the message:
"System.BadImageFormatException: Could not load file or assembly 'C:\Program Files\Agilent\89600 Software 19.0\89600 VSA Software\Interfaces\Agilent.SA.Vsa.Interfaces.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
<append><b>System.BadImageFormatException</b>.
Have you seen this problem before?
How to fix it? Does it have something to do with 32 bit or 64 bit CPU PC?
Thanks
Phong
03-20-2015 01:40 PM
Hi Cole_R,
I have an issue with .NET CLR runtime version forward compatible.
I'm using Labview .NET API to call components from 89600 VSA software application.
.NET assemblies from VSA software application have newer CLR runtime version.
Labview is compiled and loaded with an older .NET CLR runtime version
====>This won't let me to load the VSA assemblies to Labview based on below message:
"System.BadImageFormatException: Could not load file or assembly 'C:\Program Files\Agilent\89600 Software 19.0\89600 VSA Software\Interfaces\Agilent.SA.Vsa.Interfaces.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
<append><b>System.BadImageFormatException</b>.
How do I fix this?
How can I check which .NET CLR runtime version Labview is compiled and loaded on my PC.
Thanks
Phong
03-20-2015 05:50 PM
Hi Phong!
For checking the .NET version in your computer, you can follow the this link from Microsoft.
WenR
03-23-2015 04:18 PM
Thanks WenR.
I've got the problem fix. I forced the LabView to use CLR version 4.0 to load 89600 VSA softare .NET 4.0 assemblies to my LabView application instead of LabView default CLR version of 2.0
Using the instruction as below:
If you want to use .NET 4.0 assemblies in LabVIEW, you must explicitly configure LabVIEW to use the Common Language Runtime (CLR) 4.0. However, consider the following caveats before installing the suggested configuration file:
Complete the following steps to force LabVIEW to load .NET 4.0 assemblies.
Thanks
Phong
04-13-2015 01:37 PM
Hi LabVIEWFL,
Have you tried digital demodulation in 89600 VSA .NET LABVIEW property?
How do reference the assembly? Look like the digital demodulation is in different assembly
(Agilent.SA.Vsa.DigitalDemod.Interfaces Assembly) than the normal operation (Agilent.SA.Vsa.Interfaces Assembly)
Do you have any example?
Thanks
Phong
04-13-2015 07:08 PM
Hi Guys,
04-14-2015 04:31 PM
Hi Andy,