10-05-2019 06:11 AM
Hi,
having a problem passing double arrays to .Net assemblies built with Labview 2013 / 64bit VI's .
When referencing those dll's Visual Studio 2017 yells at me with an error "cannot convert from 'double[]' to 'double[*]' " .
Does anyone have a solution to circumvent this 'behaviour' ?
The same reference/call compiles without issue using the identical VI's but built with LabView 2018 or 2019(64bit both).
Need to get it running on LV2013(64bit) though.
Thanks,
Walter
Solved! Go to Solution.
10-05-2019 08:50 PM
Looks like a known issue pre LV 2017 SP1:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019LNISA2&l=de-AT
Currently trying to implement that workaround mentioned. Will report back as soon as I can confirm it working 🙂
cheers,
walter
10-07-2019 06:29 PM
Solved.
Problem was "auto-generate binding redirects" in Visual Studio|Project|Property|Application page was on while for the project both versions of the assembly (2013 and 2018 built) have been referenced !
Switching off this option as well as removing multiple versions references of the assembly resolved the issue, thus the workaround with 2dim arrays posted above actually does its job for LV 2013 .Net Interop Assemblies 🙂
Cheers,
Walter