LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can i call a vi from within a visual basic project

hi all
Im new using labview please excuse the ignorance.I want to call a labview project after i verified that the user is valid using a visual basic program.My whole menu is coded using visual Basic.So if the user is valid i want to call my vi project for tensile testing.
thanks for input.
0 Kudos
Message 1 of 4
(2,614 Views)
hi

LabVIEW calls itself a "VI - Server". You can use the "LabVIEW 7.1 Type Library" with ActiveX to open a connection to LabVIEW and load/run some VIs. Use the "Application" and "VirtualInstrument" - Objects of the library.

best regards & and let us know
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
Message 2 of 4
(2,606 Views)
Yeah,
You surely can call Labview from VB,what you have to do is create a EXE or DLL of the Labview VI and call this exe or dll from VB.
To create the exe or dll you need to have the application builder installed in your machine.
see this following link for reference
http://sine.ni.com/niforum/niforum?forumDU=http://forums.ni.com/ni/board/message?board.id=170&message.id=107726&requireLogin=False

hope this helps
cheers
vicky
Message 3 of 4
(2,606 Views)
Thanx for all your help,guys!!
I really appreciate it.
I'll let you know bout the results.
GI signing off...
0 Kudos
Message 4 of 4
(2,593 Views)