Running/starting a process on another node.

Hi.

We have two QNX 4 nodes. One is a laptop and the other a system without
display and keyboard/mouse (video card present, but no monitor, no keyboard,
no mouse).

I would like to start a Photon app on the system without display and
keyboard from the laptop. How do I do this?

If the Photon app starts other processes will they get started on the on the
laptop or on the other system?

Basically, I would like it to be as if the app was started on the system
without display. Is this possible?

I don’t need the displays to be on the laptop.

TIA

Augie

Hi Augie,

Depending on the app, I think you can specify the Photon server
to attach to.

e.g. helpviewer -s//4/dev/photon

Erick.


Augie Henriques <augiehenriques@hotmail.com> wrote:

Hi.

We have two QNX 4 nodes. One is a laptop and the other a system without
display and keyboard/mouse (video card present, but no monitor, no keyboard,
no mouse).

I would like to start a Photon app on the system without display and
keyboard from the laptop. How do I do this?

If the Photon app starts other processes will they get started on the on the
laptop or on the other system?

Basically, I would like it to be as if the app was started on the system
without display. Is this possible?

I don’t need the displays to be on the laptop.

TIA

Augie

Actually I was just informed:

For any app, you can use the PHOTON envar instead:

PHOTON=//4/dev/photon helpviewer

Erick.



Hardware Support Account <hw@qnx.com> wrote:

Hi Augie,

Depending on the app, I think you can specify the Photon server
to attach to.

e.g. helpviewer -s//4/dev/photon

Erick.



Augie Henriques <> augiehenriques@hotmail.com> > wrote:
Hi.

We have two QNX 4 nodes. One is a laptop and the other a system without
display and keyboard/mouse (video card present, but no monitor, no keyboard,
no mouse).

I would like to start a Photon app on the system without display and
keyboard from the laptop. How do I do this?

If the Photon app starts other processes will they get started on the on the
laptop or on the other system?

Basically, I would like it to be as if the app was started on the system
without display. Is this possible?

I don’t need the displays to be on the laptop.

TIA

Augie

“Hardware Support Account” <hw@qnx.com> wrote in message
news:9uo2l1$jvh$3@nntp.qnx.com

Hi Augie,

Depending on the app, I think you can specify the Photon server
to attach to.

e.g. helpviewer -s//4/dev/photon

This would get the app to run localy and display on node 4.
That doesn’t sound like what Augie needs?

See further down for suggestion:

Erick.


Augie Henriques <> augiehenriques@hotmail.com> > wrote:
Hi.


I would like to start a Photon app on the system without display and
keyboard from the laptop. How do I do this?

If Photon is already running on the machine, you could connect to it
via phditto.

If it’s not running you could connect via ditto and start it and then
use phditto.

If the Photon app starts other processes will they get started on the on
the
laptop or on the other system?

If the Photon apps runs on the “remote” node, yes they will.

Basically, I would like it to be as if the app was started on the system
without display. Is this possible?


I don’t need the displays to be on the laptop.

If you want the display to be on the laptop try:

on -n PhotonApp
or
on -f PhotonApp.

This will run the Photon app on the remote node but display
it locally.


TIA

Augie

“Mario Charest” <mcharest@clipzinformatic.com> wrote in message
news:9uo3ln$q9b$1@inn.qnx.com

“Hardware Support Account” <> hw@qnx.com> > wrote in message
news:9uo2l1$jvh$> 3@nntp.qnx.com> …
Hi Augie,

Depending on the app, I think you can specify the Photon server
to attach to.

e.g. helpviewer -s//4/dev/photon


This would get the app to run localy and display on node 4.
That doesn’t sound like what Augie needs?

See further down for suggestion:

Erick.


Augie Henriques <> augiehenriques@hotmail.com> > wrote:
Hi.


I would like to start a Photon app on the system without display and
keyboard from the laptop. How do I do this?


If Photon is already running on the machine, you could connect to it
via phditto.

If it’s not running you could connect via ditto and start it and then
use phditto.

If the Photon app starts other processes will they get started on the
on
the
laptop or on the other system?


If the Photon apps runs on the “remote” node, yes they will.

Basically, I would like it to be as if the app was started on the
system
without display. Is this possible?


I don’t need the displays to be on the laptop.

If you want the display to be on the laptop try:

on -n PhotonApp
or
on -f PhotonApp.

Hi Mario and Thanks.

If I want to to run everything on the remote node is there a way to do that?
Or did I miss something?

TIA

Augie

This will run the Photon app on the remote node but display
it locally.



TIA

Augie

\

“Augie Henriques” <augiehenriques@hotmail.com> wrote in message
news:9uod9q$3kt$1@inn.qnx.com

“Mario Charest” <> mcharest@clipzinformatic.com> > wrote in message
news:9uo3ln$q9b$> 1@inn.qnx.com> …

“Hardware Support Account” <> hw@qnx.com> > wrote in message
news:9uo2l1$jvh$> 3@nntp.qnx.com> …
Hi Augie,

Depending on the app, I think you can specify the Photon server
to attach to.

e.g. helpviewer -s//4/dev/photon


This would get the app to run localy and display on node 4.
That doesn’t sound like what Augie needs?

See further down for suggestion:

Erick.


Augie Henriques <> augiehenriques@hotmail.com> > wrote:
Hi.


I would like to start a Photon app on the system without display and
keyboard from the laptop. How do I do this?


If Photon is already running on the machine, you could connect to it
via phditto.

If it’s not running you could connect via ditto and start it and then
use phditto.

If the Photon app starts other processes will they get started on
the
on
the
laptop or on the other system?


If the Photon apps runs on the “remote” node, yes they will.

Basically, I would like it to be as if the app was started on the
system
without display. Is this possible?


I don’t need the displays to be on the laptop.

If you want the display to be on the laptop try:

on -n PhotonApp
or
on -f PhotonApp.

Hi Mario and Thanks.

If I want to to run everything on the remote node is there a way to do
that?
Or did I miss something?

Is Photon always running on the machine?

Can you describe in greater details what is it exactly you
want to do. Do you need to interface to that program or
just launch it?




“Mario Charest” <mcharest@clipzinformatic.com> wrote in message
news:9uoe18$47t$1@inn.qnx.com

“Augie Henriques” <> augiehenriques@hotmail.com> > wrote in message
news:9uod9q$3kt$> 1@inn.qnx.com> …

“Mario Charest” <> mcharest@clipzinformatic.com> > wrote in message
news:9uo3ln$q9b$> 1@inn.qnx.com> …

“Hardware Support Account” <> hw@qnx.com> > wrote in message
news:9uo2l1$jvh$> 3@nntp.qnx.com> …
Hi Augie,

Depending on the app, I think you can specify the Photon server
to attach to.

e.g. helpviewer -s//4/dev/photon


This would get the app to run localy and display on node 4.
That doesn’t sound like what Augie needs?

See further down for suggestion:

Erick.


Augie Henriques <> augiehenriques@hotmail.com> > wrote:
Hi.


I would like to start a Photon app on the system without display
and
keyboard from the laptop. How do I do this?


If Photon is already running on the machine, you could connect to it
via phditto.

If it’s not running you could connect via ditto and start it and then
use phditto.

If the Photon app starts other processes will they get started on
the
on
the
laptop or on the other system?


If the Photon apps runs on the “remote” node, yes they will.

Basically, I would like it to be as if the app was started on the
system
without display. Is this possible?


I don’t need the displays to be on the laptop.

If you want the display to be on the laptop try:

on -n PhotonApp
or
on -f PhotonApp.

Hi Mario and Thanks.

If I want to to run everything on the remote node is there a way to do
that?
Or did I miss something?

Is Photon always running on the machine?

Can you describe in greater details what is it exactly you
want to do. Do you need to interface to that program or
just launch it?

This is a stand alone system in the nose of an aircraft. It has a video
card but no display, no keyboard and no mouse.

We need to start our Data Acquisition System every time the system starts.

I know I can have the system boot up into photon and run an app without
having to do any user input (no login). Turn key system is the description
used for these types of systems.

Sometimes there will be a scientist on the airplane using a laptop to look
at the data.

So we have one instance of the software running on the node in the nose and
acquiring the data (acquisition mode).

There is also the laptop, on which we need to run another instance of the
software in playback mode.

If I can run one instance of the software on the nose node with the displays
on the laptop, then this is also acceptable.

Does this clarify a bit what I’m trying to do?

In any case, I would like to know what all my options are so we can pick
what best fits this application?

TIA

Augie

Hi Mario and Thanks.

If I want to to run everything on the remote node is there a way to do
that?
Or did I miss something?

Is Photon always running on the machine?

Can you describe in greater details what is it exactly you
want to do. Do you need to interface to that program or
just launch it?

This is a stand alone system in the nose of an aircraft. It has a video
card but no display, no keyboard and no mouse.

We need to start our Data Acquisition System every time the system starts.

I know I can have the system boot up into photon and run an app without
having to do any user input (no login). Turn key system is the
description
used for these types of systems.

Sometimes there will be a scientist on the airplane using a laptop to look
at the data.

So we have one instance of the software running on the node in the nose
and
acquiring the data (acquisition mode).

There is also the laptop, on which we need to run another instance of the
software in playback mode.

If I can run one instance of the software on the nose node with the
displays
on the laptop, then this is also acceptable.

Does this clarify a bit what I’m trying to do?

Getting there :wink:

In any case, I would like to know what all my options are so we can pick
what best fits this application?

The devil is in the details!

I would setup the remote node to start Photon automaticaly. Then I
would have the laptop running Phindows. The main advantage is
you don’t have to install QNX on the laptop (you know how hard
it is to get QNX working on a laptop ). However if the application
is too graphic intensive or required too much horsepower that could be a
problem.

In a nut shell you can do this:

  • Run localy, display local
  • Run localy, display remote
  • Run on remote, display local
  • Run on remote, display remote
  • Run on remote with remote environment, display local
  • Run on remote with remote environment, display remote
  • Run on remote and monitor with phditto/phindows from
    another node.
  • Run an independant Photon session on the remote box via phditto/phindows
    from a different machine.
  • If the node has a wireless link and the base has a internet connection you
    could access the
    remote node from the comfort of your home via Phindows
  • You could create a web interface to access it from anywhere in the world
  • I probably have missed a few combinaisons :wink:

As you can see any combinaison is possible (isn’t great).

Depending how your software is designed, you could have
a Photon (or even a Windows) application that talks via FLEET
or TCP to a process on the remote node to get the data
to playback. The software that delivers the data could be made
smart enough to deliver it to any number of clients where
every they are. Not difficult to do, and very flexible. Then you
wouldn’t have to worry from where the Photon app start.

If the photon app spawns other process the system would
have to be design to be able to run the main Photon
app anywhere. That takes a little extra work.
If that is not the case you must ensure the Photon app
runs on the remote node.

Does that answer the question clearly?

  • Mario

“Mario Charest” <mcharest@clipzinformatic.com> wrote in message
news:9uokni$8pf$1@inn.qnx.com

Hi Mario and Thanks.

If I want to to run everything on the remote node is there a way to
do
that?
Or did I miss something?

Is Photon always running on the machine?

Can you describe in greater details what is it exactly you
want to do. Do you need to interface to that program or
just launch it?

This is a stand alone system in the nose of an aircraft. It has a video
card but no display, no keyboard and no mouse.

We need to start our Data Acquisition System every time the system
starts.

I know I can have the system boot up into photon and run an app without
having to do any user input (no login). Turn key system is the
description
used for these types of systems.

Sometimes there will be a scientist on the airplane using a laptop to
look
at the data.

So we have one instance of the software running on the node in the nose
and
acquiring the data (acquisition mode).

There is also the laptop, on which we need to run another instance of
the
software in playback mode.

If I can run one instance of the software on the nose node with the
displays
on the laptop, then this is also acceptable.

Does this clarify a bit what I’m trying to do?


Getting there > :wink:

In any case, I would like to know what all my options are so we can pick
what best fits this application?


The devil is in the details!

I would setup the remote node to start Photon automaticaly. Then I
would have the laptop running Phindows. The main advantage is
you don’t have to install QNX on the laptop (you know how hard
it is to get QNX working on a laptop ). However if the application
is too graphic intensive or required too much horsepower that could be a
problem.

In a nut shell you can do this:

  • Run localy, display local
  • Run localy, display remote
  • Run on remote, display local
  • Run on remote, display remote

How do you do this (run on remote, display remote)?

  • Run on remote with remote environment, display local
  • Run on remote with remote environment, display remote
  • Run on remote and monitor with phditto/phindows from
    another node.
  • Run an independant Photon session on the remote box via phditto/phindows
    from a different machine.
  • If the node has a wireless link and the base has a internet connection
    you
    could access the
    remote node from the comfort of your home via Phindows
  • You could create a web interface to access it from anywhere in the world
  • I probably have missed a few combinaisons > :wink:

As you can see any combinaison is possible (isn’t great).

Depending how your software is designed, you could have
a Photon (or even a Windows) application that talks via FLEET
or TCP to a process on the remote node to get the data
to playback. The software that delivers the data could be made
smart enough to deliver it to any number of clients where
every they are. Not difficult to do, and very flexible. Then you
wouldn’t have to worry from where the Photon app start.

If the photon app spawns other process the system would
have to be design to be able to run the main Photon
app anywhere. That takes a little extra work.
If that is not the case you must ensure the Photon app
runs on the remote node.

Does that answer the question clearly?

Yes.

I shoud tell you that we don’t want to use Phindows anything that would slow
down the display. Also we are using shared memory to share the data between
processes. There is a large amount of data to be shared every second, which
makes it a problem for the QNX message passing.

  • Mario
    \

TIA

Augie

How do you do this (run on remote, display remote)?

1 - on -f<remote_node> PhotonApp -s//remote_node/photon
2 - login via telnet and start the application from there
3 - login via phditto on the local photon session and start
it from there.

Depending how Photon is started on the remote node you
may have to setup library and binary path.

I just don’t understand what good this is going to do. Once
started you won’t be able to interact with the software via
the mouse nor see the graphical display since you can’t
use Phindows/phditto for performance reason.

“Mario Charest” <mcharest@clipzinformatic.com> wrote in message
news:9uqhe9$ici$1@inn.qnx.com

How do you do this (run on remote, display remote)?


1 - on -f<remote_node> PhotonApp -s//remote_node/photon
2 - login via telnet and start the application from there
3 - login via phditto on the local photon session and start
it from there.

It seems that the ‘-f’ and ‘-n’ options are similar?

The ‘-n’ uses the local /dev/ser* devices, while the ‘-f’ uses the /dev/ser*
on the remote node.

Depending how Photon is started on the remote node you
may have to setup library and binary path.

I just don’t understand what good this is going to do. Once
started you won’t be able to interact with the software via
the mouse nor see the graphical display since you can’t
use Phindows/phditto for performance reason.

All we care about is that the data system runs and stores the data.

We can look at the file from another node in Playback mode.

In the future, we may want to write an app that will be able to do different
control things, but this is okay for now.

We can have an event to shutdown the system automatically.

TIA

Augie

I believe:

-n X = execute on node X use the local file system
-r X = execute on the local node and use the file system from node X
-f X = execute on node X and use the file system on node X


Bill Caroselli – 1(530) 510-7292
Q-TPS Consulting
QTPS@EarthLink.net


“Augie Henriques” <augiehenriques@hotmail.com> wrote in message
news:9uqr9v$ot3$1@inn.qnx.com

“Mario Charest” <> mcharest@clipzinformatic.com> > wrote in message
news:9uqhe9$ici$> 1@inn.qnx.com> …

How do you do this (run on remote, display remote)?


1 - on -f<remote_node> PhotonApp -s//remote_node/photon
2 - login via telnet and start the application from there
3 - login via phditto on the local photon session and start
it from there.

It seems that the ‘-f’ and ‘-n’ options are similar?

The ‘-n’ uses the local /dev/ser* devices, while the ‘-f’ uses the
/dev/ser*
on the remote node.


Depending how Photon is started on the remote node you
may have to setup library and binary path.

I just don’t understand what good this is going to do. Once
started you won’t be able to interact with the software via
the mouse nor see the graphical display since you can’t
use Phindows/phditto for performance reason.

All we care about is that the data system runs and stores the data.

We can look at the file from another node in Playback mode.

In the future, we may want to write an app that will be able to do
different
control things, but this is okay for now.

We can have an event to shutdown the system automatically.

TIA

Augie




\