Jump to content

Shell: Labview -launch option


MtBoomer

Recommended Posts

I SSH into other linux machines. Machine1, 2, and 3. I start Labview from a shell script on each machine. Note that all displays are returned to my machine.

I then try to start a new Labview session on machine1 that will talk to machine 1 Labview.

From shell script on machine 1: /usr/local/bin/Labview –launch /EGSE/eTSO/GenericTestSet/ConfigMgr/public/ETSO_Stop.vi

Issue: the -launch option attaches to the last Labview displayed on my machine (machine 3). This results in machine 3 stopping Labview and not machine 1 Labview.

How do I connect to the Labview session already running on machine 1 from machine 1 SSH, but the display is on my machine?

Can I start another Labview session on machine 1 and talk to the other Labview session on machine1?

Link to comment

The communication for -launch goes through the X server and uses string names so if there is another LabVIEW process running on the same X server the message will go to it regardless of which machine it was run from. That's just a result of how we communicate with our already running process.

If you just want to send messages to an already running application then you can use some other method of inter-process communication like named pipes or TCP. This is probably what LabVIEW should have done as well, but alas that's not how we implemented it.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.