LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Which is better\faster, LabWindows/CVI or ActiveX Components

I wanted to check on opinions of which may be better and faster for a 250ppm(part per minute)-900ppm machine vision application that does OCR or Pattern Matching: 1) Make a C++ application using the C functions in LabWindows/CVI or 2) using the ActiveX controls in a .NET enviroment?

Since .NET is an interpretive language, it is inheritly slower (in my opinion) than code that is compiled with Visual C++ 6.  Obviously easier memory managment in .NET is better, but is it worth a possible slower speed for the above mentioned parameters?

Any opinion would be helpful.

Thanks,
Mark
0 Kudos
Message 1 of 4
(4,295 Views)
Hi, Mark,

Obviously there is going to be tradeoff. I would say C++ is better if performance is the most important factor in your decision. If you are shooting for easier/faster development and deployment time, .NET would be the way to go. Memory management is easier in .NET, but it's not necessary better in terms of performance.

Just my 2 cents.

Song D
Regards,

Song Du
Systems Software
National Instruments R&D
0 Kudos
Message 2 of 4
(4,275 Views)
Hi, Mark,

May I ask why you're using CVI function and then create a C++ application?

Song D
Regards,

Song Du
Systems Software
National Instruments R&D
0 Kudos
Message 3 of 4
(4,224 Views)
Every option is a trade off, but an additional path is to write your application in CVI but then use an external compiler like the Intel optimizing compiler for the final code.  This can sometimes provide a significant performance increase.

Message Edited by mvr on 08-28-2007 08:35 AM

0 Kudos
Message 4 of 4
(4,222 Views)