Skip navigation.
Home
The QNX Community Portal

View topic - Messaging: remote Phindows user - local QNX host node user?

Messaging: remote Phindows user - local QNX host node user?

For the old QNX2 and QNX4 RTOS

Messaging: remote Phindows user - local QNX host node user?

Postby Pilotek » Fri Jan 28, 2011 1:26 pm

Please help, how would you realize simple messaging between remote (internet) Phindows session user and local QNX4 node Photon 1.13 user (the same machine)?

It is a relation of the boss (remote Phindows) and the operator in control room. The boss would like to send the operator a text message (visible and audible alert on QNX4 Photon machine) and operator should answer - send the reply text message to the Phindows session user (visual alert).

I mean some file(s) editing and "sending"=sharing (it's on the same machine in fact) or so...

Additional question: Is there some E-mail client for QNX4 Photon 1.13?
Pilotek
Senior Member
 
Posts: 124
Joined: Thu Jan 25, 2007 3:52 pm

RE: Messaging: remote Phindows user - local QNX host node us

Postby maschoen » Sat Jan 29, 2011 9:46 pm

Your post makes it sound like you want to send a message between a Windows machine and a QNX 4 machine, but I think you just want something posted on the Phindows machine. This has nothing to do with Phindows. You just want your Photon application to get the message. There's an API for receiving messages in a Photon program. Since you want two way communication (and you don't want to use threads on QNX 4, really you don't) you need a third mailbox process. Then the two Photon programs can periodically poll this process for updates or put a new message in the other guy's mailbox.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm

RE: Messaging: remote Phindows user - local QNX host node us

Postby Pilotek » Mon Jan 31, 2011 1:12 pm

Thank you for your answer maschoen. Yes, in general, I need simple messaging (date+time+short message, archive of the messages, visual alert for both guys) between Win machine and QNX4+Photon machine.

One way is let's say standard - using some simple E-mail client - is there some E-mail client (with GUI) for QNX4+Photon 1.13 available?
This alternative would require the cooperation of the plant network admin and their E-mail provider - to ensure the QNX node access to their E-mail server. The disadvantage is that even if the simple client exists, it would be probably only in English.

The other way is to do this "inside" QNX4+Photon - because the remote Win machine runs Phindows connected to the "host" QNX4+Photon node (control room SCADA application).

We are thinking the way to make our task (with GUI) for reading+writing+sending the messages, automatic date+time appending while pressing the "Send" button and storing the date+time+messages in SQL database table (cyclic "buffer" of limited history).
As for the visual alerting we intend to use already existing alarm system of our SCADA - pressing the "Send" button may invoke some alarm alert (in "New Message" new alarm class).

But if we find better (more simple) way, it would be fine.
Pilotek
Senior Member
 
Posts: 124
Joined: Thu Jan 25, 2007 3:52 pm

RE: Messaging: remote Phindows user - local QNX host node us

Postby maschoen » Mon Jan 31, 2011 2:21 pm

I don't know why you would consider using E-mail with a QNX E-mail client, nor why you would want to use an SQL database. Both ideas seem like overkill. There probably is an E-mail client for QNX 4, but I don't remember. It might be text based like "pine" or there might be a GUI version. In my post the term "mailbox" does not mean e-mail. There was an SQL database for QNX 4, but I doubt it is still supported. If you already own it you could use it to store your archive. Writing a process to implement a set of cyclic buffers on disk should be easy if you know how to program in QNX 4.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm

RE: Messaging: remote Phindows user - local QNX host node us

Postby Pilotek » Tue Feb 01, 2011 2:23 pm

Well, I am not a programmer. I am looking for possible ways how to do it - maybe our programmer would have to do that.
I would prefer non-programming a kind of standard solution - that's why I considered even QNX4+Photon E-mail client (if exists and is free or not expensive), even if it would be some overkill. Plus E-mail client would open another possibilities of communication - not only between the two guys.

SQL database (Sybase, former Watcom) is already included in our QNX4 based SCADA system (stores project configuration, production summaries...) So when I asked our programmer she considered storing the "message buffer" in our SQL database.

Thaks for your time and patience.
Pilotek
Senior Member
 
Posts: 124
Joined: Thu Jan 25, 2007 3:52 pm

RE: Messaging: remote Phindows user - local QNX host node us

Postby mario » Wed Feb 02, 2011 2:28 pm

I think photon for QNX4 has post-it type of thing that you can use to pop messages onto another computer.
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

RE: Messaging: remote Phindows user - local QNX host node us

Postby Pilotek » Mon Feb 14, 2011 1:19 pm

Yes, mario, that post-it type of thing is msgpad, but it has no date+time and no history. Furthermore, it seems not working through Phindows. But thanks anyway.
Pilotek
Senior Member
 
Posts: 124
Joined: Thu Jan 25, 2007 3:52 pm


Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 3 guests