LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VB code to LabVIEW conversion

Hi Friends,

 

I've some 400 lines of VB code with a .dll.

I need to convert the entire VB code to LabVIEW 8.2

Is there any option in labview which converts directly on a single button press.

If so please let me know or else the only option left to me convert line by line logic to logic into VI's and subvi;s and also using CallLibraryFunction Node.

 

Since the req is urgent from the Client please let me know at the earliest.

 

Regards,

Suneel.V

0 Kudos
Message 1 of 3
(3,671 Views)

There is no such button, I'm sorry.

 

You would have to analyse the code and translate the functionality to LV code. Convert code line by line would render horrible code. LV programming is totally different from VB programming.

Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 3
(3,663 Views)

You should be able to call the VB dll from LabVIEW and skip the re-write altogether.  Take a look at the Call Library Function Node; it "Calls a DLL or shared library function directly."

 

Is there a reason for rewriting it?  I just finished a troublesome portion of a project by scrapping my attempt to rewrite the functions that an existing VB app did perfectly well.

 

jm 

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 3 of 3
(3,646 Views)