05-16-2006 08:04 AM
05-16-2006 08:19 AM
05-16-2006 10:22 AM
Thanks for your answer,
The purpose is to adapt drivers, tested via LabVIEW, into C in order to load it in our device (real time). So we're close of the hardware and we must have a "light" code.
Concerning the use of a dll or of an exe, don't we need to install the LV runtime engine (heavy) and all associates runtimes to get it running? If true, the installation and use of the program should take more place and time than using a simple C executable?
I still have a few misunderstanding concerning the portability of LabVIEW code, even in exe or dll...
05-16-2006 10:38 AM
No matter what, you will still need the same hardware drivers installed (i.e. NI-GPIB, NI-VISA). CVI also requires a run-time engine (as does VB, .NET, .etc). I've used CVI since version 1.0 (before it was even called CVI) and I don't believe that it runs faster than LabVIEW in all cases. A lot depends on the type of functions you are using and how you've written the code. If you are using GPIB, most of the execution time will be spent on data transfer over the slow GPIB bus. LabVIEW and CVI make calls into essentially the same dlls for DAQ so there shouldn't be much difference there.
Also, don't forget that there is LabVIEW RT.
05-16-2006 02:19 PM
Hello bimbim.
Dennis is absolutely right in what he said.
And regarding your "I still have a few misunderstanding concerning the portability of LabVIEW code, even in exe or dll...": Why not calling a NI sales representative or starting a small research at ni.com/labview ? I think both will helpful to find a good decision.
Best regards, Guenter
05-16-2006 06:42 PM
As Dennis already has pointed out: The only sort of LabVIEW to C converter is part of the LabVIEW embedded system. It's C code however is only supporting a subset of LabVIEW (no IO libraries and some of the more advanced internal nodes) and not really meant to be used as a C code for further use outside of LabVIEW embedded. It's readibility as normal C code is quite hairy eventhough it is syntactically C.
@bimbim wrote:
Thanks for your answer,
The purpose is to adapt drivers, tested via LabVIEW, into C in order to load it in our device (real time). So we're close of the hardware and we must have a "light" code.
Concerning the use of a dll or of an exe, don't we need to install the LV runtime engine (heavy) and all associates runtimes to get it running? If true, the installation and use of the program should take more place and time than using a simple C executable?
I still have a few misunderstanding concerning the portability of LabVIEW code, even in exe or dll...
05-17-2006 03:03 AM
09-23-2006 08:51 PM
06-01-2011 03:59 AM
hi, i am beginner in labview....i hav to improve coding skills for doing projects.so,give me the idea to improve it...
06-01-2011 05:01 AM
@453443474 wrote:
hi, i am beginner in labview....i hav to improve coding skills for doing projects.so,give me the idea to improve it...
You have hijacked a quite old thread. And your question do not have anything to do with the original question. Please start a NEW thread. And also remember good questions draw good answers. Spend some time and explain why and how you struggle. Shall we start in that end