LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how convert to below lab window ansi c program in to labview

hi

here how convert  to below lab window ansi c program in to labview program ,please find any body sollution for this problem.

Download All
0 Kudos
Message 1 of 4
(2,722 Views)
Instead of starting with old c code -- which is likely only marginally useful anyways -- you should start with program requirements.

What does the program do? What are the operational constraints? You know, all the usual stuff.

Mike

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 4
(2,670 Views)

You convert it by writing the code for LabVIEW.  There isn't a magical button to press to change the code.  You could probably throw it into a formula node.  But, it'd be a bit silly to do so.

 

Follow Mike's advice.  Determine what you want the program to do.  Once you know that, put in the work to write a new program and it'll be better suited to the task than "converting" an older code base that you clearly feel needs to be updated/changed.

0 Kudos
Message 3 of 4
(2,649 Views)

The CVI program isn't very complicated.  Shouldn't be too hard to convert to LabVIEW.

 

However, since it calls many external functions, if you don't have document about those functions, you can't convert the program to LabVIEW.

 

If you have a CVI compiler, you can convert it to a dll, so that it can be called in LabVIEW.

 

 

George Zou
0 Kudos
Message 4 of 4
(2,491 Views)