LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Access a LabVIEW instance from multiple user accounts on a PC

I am using a dedicated Windows 7 machine with Labview and a PXI chassis to operate and acquire data from a test stand. The experiments on this test stand will need to run continuously for several months, but the IT department where I work will not allow me to set up a shared user account for me and my coworkers to use to run the experiment. Our IT protocol also mandates that all of the computers be password protected when not in use. 

 

So we all have password protected accounts on the dedicated PC, and I am currently starting the Labview experiment from my account, and then I am using the switch user function in Windows 7 to lock access to my account while allowing the labview program to continue to run. However, this approach does not allow my coworkers to access the Labview UI.

 

The problem is that I want to give my coworkers access to the Labview UI, so they can monitor and interact with the Labview experiment, but I cannot give them credentials to log into my account. Is there some way that I can run labview as a service, and allow my coworkers to connect to that service and see the labview UI when they log into their accounts on the PC? 

 

0 Kudos
Message 1 of 2
(2,440 Views)

You can't do that like this. A normal process runs in the user environment it is started in and can't be accessed by another user. The only architecture I could see working here is to separate the application in the core engine that does all the acquisition and logging, and an UI part that can connect to the core engine through any Interprocess Communication like TCP/IP. You then can setup the core engine to start as a system service so it can be connected to from the UI application and controlled to start and stop it's acquisition as well as retrieving data for viewing.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 2
(2,432 Views)