LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.NET References and Property Nodes

Hello,

i'm currently building an .llb (API.llb) which uses 3rd party .NET assemblies.  The project is built in LV 8.0.1 and needs to be compiled under 8.0.1, 8.5, 8.6 and 2009. 

 

For each version of LV, i have version-specific VIs, named "BuildLvProject.vi" that programatically recompiles/builds the 8.0.1 project under a selected version of LV.  

 

ex.  If i want to build the project in 8.5, i have a script that launches LV 8.5 and then opens the "BuildLvProject.vi", which programatically rebuilds the API.llb under LV 8.5.

 

My problem is that if i open the 8.0.1 project with a more recent version of LV (8.5, 8.6 and 2009), i'm currently getting broken VIs.  The .NET assemblies are the same but the broken VIs use .NET ref Property Nodes and in order to fix the broken VI, i have to "re-select" the .NET property the VI is using.

 

I don't understand why this is happening.  It only applies to some classes of the .NET asseblies the project uses.  My goal is to be able to recompile the LV 8.0.1 project (API.llb) without having to manually fix the broken VIs in later versions, since i don't want to have multiple copies of the original project, for each version Labview.

 

Cheers, 

 

Erls

0 Kudos
Message 1 of 3
(2,669 Views)

What you are trying to do is unlikely to work. .NET support in LabVIEW has been sporadic at best. Support in 8.0.1 was pretty much unusable for any real-world project. In 8.2 it's questionable, at best. The issue you're seeing has been reported before and it's an inherent problem with LabVIEW. Later version of LabVIEW have fixed this problem, to a certain extent.

 

One thing you can try is to use 8.5 or 8.6 as the "baseline" and if you want an 8.0.1 version to do a Save for Previous version.

0 Kudos
Message 2 of 3
(2,663 Views)

I see...

 

This could possibly explain why the previous programmer that worked on the build script did not do the "automated" part for LV 8.5.  However, it was done for 8.0.1 and 8.2.  At the time, 8.5 version of the project was rebuilt manually.

 

I was thinking about doing the Save As Previous option but seeing that it can take up to 30min to do that on a 4Mb LLB, i was hoping to use the original plan.

 

As for the Save as Previous option (considering the baseline is in LV 8.5), what is the best way to go, i.e. "Saving As Previous" the whole baseline project folder (in a different target folder) and recompiling the newly saved project OR do a "Save as Previous" on the target LLB file?

0 Kudos
Message 3 of 3
(2,657 Views)