LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can we have control of RUN Button

How can we have control of run button. i am using client server model for my app. I want my client to have control of run button in server VI.

 

 

0 Kudos
Message 1 of 6
(3,192 Views)

Hi prashiit,

can you please explain a bit more? If you want to stop your server from the client side, then you can send a command which you receive at the server. Depending on the command you can then stop the server or create a report or close the listener.

 

Mike

0 Kudos
Message 2 of 6
(3,186 Views)
Typically, the run button on the toolbar is not even visible since the main VI is usually running all of the time and the toolbar is not shown. If an exe, it's set to run when opened.
0 Kudos
Message 3 of 6
(3,172 Views)

Hello Mike..

 

 

           For client-server model, the server VI should run first. I don't want to start the server VI manually. I want my client to start server VI, when it is started..

 

 

one more query...

 

        Can we have .exe for both client and server VIs.  Presently, my client is .exe but server is not. If I make my server VI .exe , Does it work.......

 

Thanks

Prashh 

0 Kudos
Message 4 of 6
(3,146 Views)

Hi prashiit,

i don't understand why the server should not run all the time. How do you thin the client should start the server?

The server can also run as an application.

 

Mike

0 Kudos
Message 5 of 6
(3,123 Views)

Apart from the question if it makes sense to start the server from the client I just want to add that you can start a VI programmatically using the "Run VI" method, but anyway you will need another VI to do that, either local or remotly via VI Servers Open Application Reference.

 

Christian

0 Kudos
Message 6 of 6
(3,054 Views)