09-22-2006 01:05 AM
09-22-2006 09:19 AM
09-22-2006 10:28 AM
09-23-2006 09:55 PM
Thank a lot. Get it work.
PS. 1. I reinstall .Net framework 2.0.
2. DLL file should be in the same directory as the LV application caller.
03-05-2008 12:41 PM
03-07-2008 12:28 PM
Hi Ziv,
The solution is not specific to which language you choose to use within .NET i.e. VB.NET, C#, J#, C++, etc. Each of these languages allows you to select a 'Project Type' called 'Class Library'. The class library is a project specifically designed to allow you to use your .NET classes within other applications including LabVIEW. You will simply locate the class/classes you want to add to reference in LabVIEW and add them to your project. Please let me know if you have anymore questions.
06-01-2008 09:29 PM
06-02-2008 10:07 AM
10-29-2008 02:59 PM
Hi all
I created two dll's, one written in C++ second in C# (Visual Studio 2008). Both have same function which simple change float numbers in 2d array (1900 x 200 image) into constant value. Becouse dll is invoke in 'for-loop' (this is something like movie) I noticed that dll written in C# is much more slower. Who can explain me why? Obviously , I know that byte-code is slower in use , but I think difference shouldnt be noticeable (in that simple function).
regard
10-29-2008 03:54 PM
yodus,
I noticed the same speed issue with .NET as well. I started using ADO.NET on a project to access a SQL database but gave up and used ADO (activeX) when I realized how slowly the .NET code was running. I think that casting data types into and out of .NET types is a big problem. My guess is that the interop interface with .NET is not ready for prime time.
-cb