LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW Database Parameterized Query prepends array sizes to binary data


@rolfk wrote:

I used to work on the ActiveX based Test & Measurement Solutions Database Toolkit back when that company was still a thing. That toolkit was even sold for some time. And I implemented a DLL to convert OLE Variants into LabVIEW native datatypes because the build in conversion in LabVIEW was not very efficient for iterating data types like arrays of anything but scalars. Not surprised that .Net is even worse.


I had talks with NI about offering native iterator and collection support. The people where enthusiastic, and then all communication stopped for reasons I can very well imagine.

 


@rolfk wrote:

. This is the main reason that LabVIEW fails to properly execute automation server and assembly calls for newer versions of the component if the method signature has changed (additional optional parameters) such as for the Save method for pretty much every Office version.


I never had this problem with .NET. I think maybe .NET keeps the old versions too, so they stay available. Or maybe it just updates as a framework, where the office AX components updated for every office update, and even between different languages of office.

 


@rolfk wrote:

With access to the LabVIEW source code and some minor changes to how the compiled data structure for ActiveX (and .Net calls is constructed) this could have been fixed already 20 years ago.


That figures...

 

From what I read it's no problem to change .NET version either. In almost any language a different GUID should switch the entire application, or even subsystems, to any recent .NET version.

 

I don't know enough about how LV handles .NET or .NET's execution system to be certain, but it seems to me support for .NET 8 (already old) shouldn't be that hard. And once it works, it shouldn't be too hard to support .NET 9, or let us choose.
 

Calling .NET from an application is quite a niche, and most information online seems to be 20 years old. Probably because it's no issue at all for most users.  

0 Kudos
Message 21 of 21
(63 Views)