Ideas????

Ideas????

Postby Jeff Barnes » Fri Nov 14, 2014 9: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)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: Ideas????

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42063
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Ideas????

Postby Antonio Linares » Fri Nov 14, 2014 10:31 pm

They don't have serial ports... :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42063
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Ideas????

Postby Jeff Barnes » 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)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: Ideas????

Postby George » 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.
George
 
Posts: 725
Joined: Tue Oct 18, 2005 6:49 pm

Re: Ideas????

Postby Jeff Barnes » Sat Nov 15, 2014 1: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)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: Ideas????

Postby fraxzi » Sat Nov 15, 2014 2: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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: Ideas????

Postby Otto » Sat Nov 15, 2014 8: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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6312
Joined: Fri Oct 07, 2005 7:07 pm

Re: Ideas????

Postby Jeff Barnes » Sat Nov 15, 2014 5: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)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: Ideas????

Postby Antonio Linares » Sat Nov 15, 2014 5:34 pm

Jeff,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42063
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Ideas????

Postby Otto » Sat Nov 15, 2014 6:41 pm

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

Best regards,
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6312
Joined: Fri Oct 07, 2005 7:07 pm

Re: Ideas????

Postby George » Sat Nov 15, 2014 6: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
George
 
Posts: 725
Joined: Tue Oct 18, 2005 6:49 pm

Re: Ideas????

Postby Jeff Barnes » Sun Nov 16, 2014 2: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)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: Ideas????

Postby Otto » Sun Nov 16, 2014 5: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
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6312
Joined: Fri Oct 07, 2005 7:07 pm

Re: Ideas????

Postby Otto » Sun Nov 16, 2014 5:51 pm

********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6312
Joined: Fri Oct 07, 2005 7:07 pm

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 70 guests