LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert Form to Labwindows UI

Hi All

 

Is there a way to convert a Visual Basic Form to a Labwindows Panel?

Help share your knowlegde
0 Kudos
Message 1 of 4
(3,032 Views)

Hi Shako, 

 

Unfortunately, there is no way to directly call Visual Basic in LabWindows/CVI. However, in Visual Basic 6, if you create a dLL in Visual Studio, you can call it in CVI. If you are using Visual Basic .NET, you can create an assembly and call that in CVI. More information about how to do this can be found below:

 

Calling a dLL: 

http://zone.ni.com/devzone/cda/tut/p/id/8503 

Calling an assembly: 

http://zone.ni.com/reference/en-XX/help/370051K-01/cvi/cvidotnet_overview/

 

Regards,

Jackie 

DAQ Product Marketing Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,007 Views)

Thanks i always wondered how to do that.

it will com in handy.

 

But what i was looking for is a way to just get the controls from a VB form like the Textbox, Labels etc.

Because i got a form which contains alot of control and is going to take me about an hour or more to create and label new ones in cvi.

 

Is there a way of doing this?

Help share your knowlegde
0 Kudos
Message 3 of 4
(2,999 Views)

If you had started an hour ago, you'd be finished by now Smiley Wink

 

I don't think there's any alternative but hard slog.

--
Martin
Certified CVI Developer
0 Kudos
Message 4 of 4
(2,988 Views)