LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to convert existing ms visual basic projects into LabWIndows?

Hello,

I got several Microsoft Visual Basic programms. No the case is that my company wants to switch over to only Labwindows. For this case I am looking for an easy way to convert .vb files an projects into labwindows.

Thank You,

Michael

0 Kudos
Message 1 of 4
(3,395 Views)

Hi Michael,

 

I'm afraid there isn't any sort of tool to easily convert the programs into CVI programs. I might be able to suggest a few things if I know more about your projects.

 

Which version of VB is used?

Do you use hardware? NI hardware? If yes, which devices?

Which version of CVI will you be using?

 

Best regards,

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

Thank you for your interest!

Actually I am using CVI 9.0.1. My visual basic is the 2008 express edition. The components I want to controll are very different. I got LeCroy Oscilloscope, voltage sources and especially a RS232 communication component. For the start I have also one tiny programm that is only using the RS232 communication.

Best regards,

Michael

0 Kudos
Message 3 of 4
(3,371 Views)

Hello Michael,

 

sorry for the delay. I had posted a reply, but only now noticed that it apparently did not work. Anyway, conversion is difficult because CVI is very event-oriented and is simply another language.

 

What would probably be of greatest benefit for you would be to find instrument drivers for your devices. With instrument drivers, the underlying communication with the device is already implemented and you only need to use pre-made functions to access the functionality of the device.

Look for instrument drivers here:

http://www.ni.com/devzone/idnet/

 

You will see which ones have a CVI version.

 

Other than that I would suggest checking out the various examples that ship with CVI to get a feel for the language and the environment.

 

I hope that this helps.

 

Best regards,

0 Kudos
Message 4 of 4
(3,335 Views)