FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Ideas????
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Ideas????
Posted: Fri Nov 14, 2014 09:01 PM

I am toying with a new idea for a project and just wanted to get some opinions/ideas on the best way to go about this.

Here is the idea...
There would be a central computer connected to the internet.
Then there would be remote computers that collect data via a serial port.

I would like to be able to send this data from the remote computers, via the internet, in real time, to the the central computer and display the data.
These remote computers would be need to be quick and easy to set up as they would end up at the homes of elderly people. Ideally the software would run off a USB stick so no installation would be required (on the remote side).

Since the remote software would basically be portable, I can't use a VPN.
RDP won't work for me either.

Any ideas?

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Ideas????
Posted: Fri Nov 14, 2014 10:15 PM

Jeff,

For elderly people wouldn't have more sense to use a tablet ? :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Ideas????
Posted: Fri Nov 14, 2014 10:31 PM

They don't have serial ports... :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: Ideas????
Posted: Fri Nov 14, 2014 11:50 PM

I'm not too worried about the hardware at this point.
I'm more looking fir ideas on how to send/receive the data over the internet.

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 729
Joined: Tue Oct 18, 2005 06:49 PM
Re: Ideas????
Posted: Sat Nov 15, 2014 12:53 AM

Jeff,
If a few seconds delay is not a problem maybe you can use a timer to send a file, with the data collected, via FTP to the central computer.

Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: Ideas????
Posted: Sat Nov 15, 2014 01:45 AM

I should have mentioned that the data is collected every second and could run for many hours.
It is basically a patient monitoring system.

There isn't a lot of data collected every second.
I'm looking at three parameters every second. Time, heart rate and SPO2.
(ex. 08:30:00, 85, 98)

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: Ideas????
Posted: Sat Nov 15, 2014 02:54 AM

Jeff,

You need database server on the remote pc.
On your client pc it sends data to remote from collected data from serial ports (or maybe dump that data to file first the frequently read). Exploit HB_BackGround functions to send data in your defined intervals. Then you can create whatever reports from the central pc database from your workstation.

If I would be on your case, I use ADS.

Just me 2 cents

Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Ideas????
Posted: Sat Nov 15, 2014 08:09 AM

Jeff,
>Since the remote software would basically be portable, I can't use a VPN.
>RDP won't work for me either.

Why don’t you use port forwarding only without VPN.
RDP protocol uses TLS internally, so strictly speaking, it provides security level comparable with IPSec VPN and higher than PPTP.

Why does RDP don't work for you.
Best regards,
Otto

Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: Ideas????
Posted: Sat Nov 15, 2014 05:24 PM

I am looking to have one program running on the central computer that displays the data from multiple remote computers.
RDP will show one system at a time.

The central computer will have 8 dialog boxes that display the data from each remote system.

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Ideas????
Posted: Sat Nov 15, 2014 05:34 PM

Jeff,

You could use sockets directly. Please review FWH\samples\sockserv.prg and sockcli.prg

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Ideas????
Posted: Sat Nov 15, 2014 06:41 PM

Jeff,
This is exactly how our ECR works.
Where do you see the problem with RDP.

Best regards,
Otto

Posts: 729
Joined: Tue Oct 18, 2005 06:49 PM
Re: Ideas????
Posted: Sat Nov 15, 2014 06:48 PM

Jeff,
As suggested by fraxzi the AIS (the ADS remote server) could be helpful in this case.
I would consider having one table, in the data dictionary, per each remote computer.

Regards,

George

Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Re: Ideas????
Posted: Sun Nov 16, 2014 02:52 PM

I will take a look a tsockets...

Otto, I have only ever used RDP to remotely view/control one system at a time.
Do you have an example of what your are doing?

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Ideas????
Posted: Sun Nov 16, 2014 05:36 PM

Jeff,
you have to use WINDOWS SERVER remote Desktop role.
Then you can access concurrently the Server with different users.
Every user is working in his own desktop but they all share the same disk.
I think this is what you want.
You can open an Azure test account. This way you do not need to set up your own server.
Best regards,
Otto

Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Re: Ideas????
Posted: Sun Nov 16, 2014 05:51 PM