09-17-2020 03:37 PM
We have a test executive that has to run over a period of 2 days. We need technicians to access the test executive during this test run but due to changes of the IT department, we need to have this application be controllable through different user accounts. Has someone come up with a solution for this?
I was thinking of using remote panel but wasn't sure if this would work the way we want. If the remote panel popped up another panel, will it display that panel? I recall long time ago that it didn't work.. it only displayed the one panel.
Thanks for the help.
09-21-2020 05:30 PM
I don't think you can do that on a single PC. One thing you could do is run a pc and then have people send and receive data and commands from their own PCs and user accounts. You can set up a network shared variable that acts as a server to relay data back and forth or you can set up a tcp connection between the host and client pcs.
09-21-2020 06:01 PM
You can do it (I think) if you build and install a "core" program as a service and talk to it via clients that each user will launch. It's going to be tricky to do this, but it can be done. It will require fully rewriting a significant part of your program, unfortunately:
https://forums.ni.com/t5/LabVIEW/Run-LabVIEW-executable-when-user-logs-off/td-p/966790
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000004AUiSAM&l=en-US
Search "LabVIEW run as service" to get more options. In short, you'll need to create a service exe the normal way, then configure it as a service using a 3rd party tool (the link above is one example, there may be more).
You will then need to create a GUI that each user can run that talks to the service in some way; probably via TCP/IP, but you might be able to use simple text files if the service isn't doing a whole lot. TCP or network streams would be more flexible in the long run.