LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to display vi ,when vc calls labview dll

i create a vi for detecting use,and build it as a dll, before this ,i changed the vi  appearence,
i'd like to make vc(for example ,a button) call this labview dll to display the detecting process and result ,
i add the .h,.lib files ,move the .dll file to the program folder, building passed,but it can't display vi.
i don't know why,and i really need your help.
 
0 Kudos
Message 1 of 6
(2,766 Views)
If you changed your VI to a DLL you should not be worried about how it looks.  A DLL is the "behind the scenes" code without the GUI (user interface).  This has been removed and should be supplied by the calling program.

Another choice for distributing code is to build your VI into an executable or .EXE file.  This will fully retain the front panel and allow you to run the VI without the development environment.

Which one of these are you trying to accomplish...?....run program on target machine by itself...OR....use LabVIEW code behind a visual C UI...???

-Brett
0 Kudos
Message 2 of 6
(2,756 Views)

You asked the exact same question in another thread. I've never called a LabVIEW DLL from c++ but I do call a DLL from TestStand and am able to display the front panel. How exactly did you change the VI appearance? Maybe if you posted the VI and the .bld file you're using, some more help could be given.

Also, there's no reason to start a new thread. In the other thread, you didn't answer the last question asked of you. Multiple threads just confuse things even more.

Message Edited by Dennis Knutson on 07-07-2005 02:42 PM

0 Kudos
Message 3 of 6
(2,769 Views)

thank you,

and i'd like to use labview code behind vc

i want to use its measurement and detecting functions,and let a vc program  use these functions.

sara

0 Kudos
Message 4 of 6
(2,743 Views)
thank you
and i posted this thread double times, when i first  posted it ,the
net is with something wrong,and it returned an error,so i posted it
again.
this is my vi program, it's for study use,and  its very rough,please
give some advice.
0 Kudos
Message 5 of 6
(2,734 Views)

the bld file

i can't upload .bld file ,so i change the extension to txt,please rename it to detecting.bld when you load the file.

thank you.

sara

0 Kudos
Message 6 of 6
(2,731 Views)