Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview to C++ - speed boost?

I come from a programming background (so apologies if I'm a little vague here!) and have been asked to convert a program from Labview to C/C++. The purpose of this task is to improve the performance of the system.

The Labview program reads in a signal from a NI hardware-based source, processes the signal then then uses this data to ouput intructions to two other devices being controlled by NI hardware.

My questions are as follows:

i) Is it possible to do this conversion without the Measurement Studio software? Is there any speed advantage in doing so?

ii) Is the assumption that converting the code from Labview to C/C++ will give a performance boost correct?

Thank you for your help!
0 Kudos
Message 1 of 3
(3,096 Views)
Dear Aaron,

i) It is possible to do this conversion without Measurement Studio, but the reason why we advise you to use Measurement Studio, is because Measurement studio supports all of National Instruments software with functions pre deifined, Program such a e.g Borland C++ you would have to call dll's. You would have to design your own header file. So therefore there is not really a speed advantage in doing this. There is not toolkit that converts the LabVIEW code to C/C++ code you have to design dlls in LabVIEW and then import them into C/C++

11) With regards to the performance boost converting LabVIEW code to C/C++, there will not really be a performance boost as LabVIEW is precomipled, and at the bottom of LabVIEW code is dll calls, as is C/C++

I hope t
hat this helps.

Kind Regards

Louis Price
NI UK
Applications Engineer
0 Kudos
Message 2 of 3
(3,096 Views)
Thank you for your help!
0 Kudos
Message 3 of 3
(3,096 Views)