LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hi!!Does anyone know how can I programm a vi to launch Labview in Linux?

I want to build an aplication to launch Labview. But the problem is that I am working with Linux, so I can't use Active X to do that. How can I do it? Is there VI server in Labview for Linux?
and if is there Vi server, how can I use this, to launch Labview?

Thanks!!

Graci
0 Kudos
Message 1 of 3
(2,546 Views)
Hi,

Even in windows I wouldn't use ax. You can start a vi (doesn't matter if
labview is started) with the command line: "labview.exe "d:\vis\vi.vi"".

Perhaps something similar can be done in Linux (I have no experiance with
Linux command line, but it is usually much better then ms).

Regards,

Wiebe.



"Bichillo" wrote in message
news:50650000000800000099D40000-1079395200000@exchange.ni.com...
> I want to build an aplication to launch Labview. But the problem is
> that I am working with Linux, so I can't use Active X to do that. How
> can I do it? Is there VI server in Labview for Linux?
> and if is there Vi server, how can I use this, to launch Labview?
>
> Thanks!!
>
> Graci
Message 2 of 3
(2,546 Views)
Wiebe,

You are absolutely correct. The command line options are the same under Linux as windows.

You could then write a shell script that will launch labview with a particular VI.

Or, you could compile a C/C++ program that calls "exec" to launch labview, and again specify an optional VI argument.

And, VI server works the same under LabVIEW for Linux as it does for windows. But, in order for the VI server to launch a VI, LabVIEW already has to be running 🙂 This means you could create a VI that uses VI server, and compile that VI into an executable. You can then run the resulting executable which will be made up of the VI that uses VI server.

But your question is a little bit vague. What exactly is your goal after "launching LabV
IEW." You said that you want "an application to launch LabVIEW." Which application? Do you have the source code? What is it written in?

--
David Duffey
0 Kudos
Message 3 of 3
(2,546 Views)