LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I call a LabView VI via dll to display its control panel in a tab of my uir in LabWindows

Hi User Community,

 

I am trying to build a LabWindows Top Level Control Panel to call individual LabView VI's, which have been compiled into a dll.

 

I have no problem using the CmtScheduleThreadPoolFunction to start a new thread that calls these VI's however, I'm having trouble trying to get the display that comes up in it's own window to display in a tab of my existing UIR.

 

I've compiled the DLLs to always display the VI Control Panel window when running - and usually it covers the whole screen you can't see the LabWindows window until the VI completes.

 

Is there a definitive guide to LabWindows Windows/Panels/Tabs? Or does anyone have experience with this? Any help would be appreciated.

0 Kudos
Message 1 of 2
(3,067 Views)

Hello,

 

I would suggest reviewing the Programming with Panels and Programming with Tabs CVI Help documents.  I think that this can be done with the LoadPanelEx function.  Let me know how it goes!

 

As well, I found some example code to get you started.

 

How to access individual controls within multiple tabs in CVI

http://decibel.ni.com/content/docs/DOC-14187

Regards,

Shawn S. | NIC
Instrument Driver/IVI PSE
National Instruments
0 Kudos
Message 2 of 2
(3,050 Views)