LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Run Program in background

Hi

I know there is a post about this already in the newsgroup but I think I
need something different.
I need a way to make my program completely invisible to my users basically
have it running as a service. I can't for some reason remove the FP in the
app builder of my toplevel vi, I don't know why. And anyway, would removing
the FP in the app builder also remove the vi in the taskbar? Does anyone
know how to do this?

Thanks

Jacob Thastrup
0 Kudos
Message 1 of 4
(3,276 Views)
Jacob Thastrup wrote:

> Hi
>
> I know there is a post about this already in the newsgroup but I think I
> need something different.
> I need a way to make my program completely invisible to my users basically
> have it running as a service. I can't for some reason remove the FP in the
> app builder of my toplevel vi, I don't know why. And anyway, would removing
> the FP in the app builder also remove the vi in the taskbar? Does anyone
> know how to do this?
>
> Thanks
>
> Jacob Thastrup

Jacob:

I tryied to hide the front panel with labview application builder for linux
but it doesn't remove the front panel. I got this
in Linux, you must create a virtual frame buffer first and then send the
graphical out of labview to this virtual x-window.

For create the virt
ual frame, execute the following command:

Xvfb :1 -screen 0 160x120x16 &

with this you create a virtual frame buffer of 160x120 and 16 bits, then you
must send the application to this x-window:

Application -display :1 &

With this you can execute a program whithout graphical out and also you can
mantain in background with nohup command.



--
*********************************************************
Ricardo Leal Pacheco.
e-mail: rleal@loa.alumnos.utfsm.cl/7111100@entelpcs.cl
FONO: (09)7111100, 654622.
INGENIERIA CIVIL ELECTRONICA U.T.F.S.M
*********************************************************
Message 2 of 4
(3,276 Views)
The program is for a Win2K/NT4 enviroment. I have never herd of a Win2K/NT4
command/program called "Xvfb". Do I need to use a different command or can
I send the display to another place?

Thanks

Jacob Thastrup




rleal@loa.alumnos.utfsm.cl (Ricardo Leal) wrote in
<3A3A0D3D.9CE2A70B@loa.alumnos.utfsm.cl>:

>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
>Jacob Thastrup wrote:
>
>> Hi
>>
>> I know there is a post about this already in the newsgroup but I think
>> I need something different.
>> I need a way to make my program completely invisible to my users
>> basically have it running as a service. I can't for some reason remove
>> the FP in the app builder of my toplevel vi, I don't know why. And
>> anyway, would removing the FP in the app builder also remove the vi in
>> the taskbar? Does anyone know how to do this?
>>
>> Thanks
>>
>> Jacob Thastrup
>
>Jacob:
>
>I tryied to hide the front panel with labview application builder for
>linux but it doesn't remove the front panel. I got this
>in Linux, you must create a virtual frame buffer first and then send the
>graphical out of labview to this virtual x-window.
>
>For create the virtual frame, execute the following command:
>
>Xvfb :1 -screen 0 160x120x16 &
>
>with this you create a virtual frame buffer of 160x120 and 16 bits, then
>you must send the application to this x-window:
>
>Application -display :1 &
>
>With this you can execute a program whithout graphical out and also you
>can mantain in background with nohup command.
>
>
>
>--
>*********************************************************
>Ricardo Leal Pacheco.
>e-mail: rleal@loa.alumnos.utfsm.cl/7111100@entelpcs.cl
>FONO: (09)7111100, 654622.
>INGENIERIA CIVIL ELECTRONICA U.T.F.S.M
>*********************************************************
>
>
>
>--------------25B9B630C9B3D0B8D29F4A83
>Content-Type: text/html; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
>
>
>Jacob Thastrup wrote:
>
Hi
>

I know there is a post about this already in the newsgroup but I
>
>I
>
need something different.
>
I need a way to make my program completely invisible to my users
>have it running as a service. I can't for some reason
>
>in the
>
app builder of my toplevel vi, I don't know why. And anyway, would
>removing
>
the FP in the app builder also remove the vi in the taskbar? Does
>know how to do this?
>

Thanks
>

Jacob Thastrup


>Jacob:
>

I tryied to hide the front panel with labview application builder for
>linux but it doesn't remove the front panel. I got this
>
in Linux, you must create a virtual frame buffer first and then send
>the graphical out of labview to this virtual x-window.
>

For create the  virtual frame, execute the following command:
>

Xvfb :1 -screen 0 160x120x16  &
>

with this you create a virtual frame buffer of 160x120 and 16 bits,
>then you must send the application to this x-window:
>

Application -display :1  &
>

With this you can execute a program whithout graphical out and also
>you can mantain in background with nohup command.
>
 
>
 
>

-- 
>*********************************************************
>Ricardo Leal Pacheco.
>e-mail: rleal@loa.alumnos.utfsm.cl/7111100@entelpcs.cl
>FONO: (09)7111100, 654622.
>INGENIERIA CIVIL ELECTRONICA U.T.F.S.M
>*********************************************************


>
>--------------25B9B630C9B3D0B8D29F4A83--

0 Kudos
Message 3 of 4
(3,276 Views)
Shot in the dark; how about using the front panel as a splash screen and put
a pretty logo there, then use VI Server to hide the window? You could simply
use VI Server to hide it regardless, but I suspect the window will be drawn
and then hidden- so if you use it as a splash screen and make it look
intentional then it doens't look bodged.

Apologies if this has already been suggested and debunked- I've not paid too
much attention to this thread.

Jacob Thastrup wrote in message
news:9010ACFE0Jactbioimagedk@130.164.140.31...
> The program is for a Win2K/NT4 enviroment. I have never herd of a
Win2K/NT4
> command/program called "Xvfb". Do I need to use a different command or can
> I send the display to another place?
0 Kudos
Message 4 of 4
(3,276 Views)