Software Design
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreSoftware Design

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 20th, 2003, 12:12 PM
HKP HKP is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 3 HKP User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
integrator

I want to integrate an online data. For example I get a flow meter reading and I would like to find out the total flow in an hour. can anybody help me

Reply With Quote
  #2  
Old August 21st, 2003, 05:52 PM
dog135's Avatar
dog135 dog135 is offline
Doggie
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Location: Seattle, WA
Posts: 751 dog135 User rank is Corporal (100 - 500 Reputation Level)dog135 User rank is Corporal (100 - 500 Reputation Level)dog135 User rank is Corporal (100 - 500 Reputation Level)dog135 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 10 h 38 m 25 sec
Reputation Power: 7
I may not be understanding your problem correctly, but here's what I think you want:

Write a program that runs in the background that grabs the info from your online data source (the flow meter) every x number of seconds/minutes.

Store that in a database along with a time stamp. (can be a system file)

Your quiry checks your local database (or file) for the information to display to the screen.

Reply With Quote
  #3  
Old August 22nd, 2003, 06:42 PM
HKP HKP is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 3 HKP User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I will try to explain using thr following example.

1. Speedometer of your car.- We are travelling in a car and our speed is constantely varying due to traffic conditions. But at the end of a time I would like to know the exact distance travelled. WE get this data from the speedometer directly. Such a speedometer I would like to create using a program.(VB)

Reply With Quote
  #4  
Old August 22nd, 2003, 07:41 PM
dog135's Avatar
dog135 dog135 is offline
Doggie
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jul 2003
Location: Seattle, WA
Posts: 751 dog135 User rank is Corporal (100 - 500 Reputation Level)dog135 User rank is Corporal (100 - 500 Reputation Level)dog135 User rank is Corporal (100 - 500 Reputation Level)dog135 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 10 h 38 m 25 sec
Reputation Power: 7
Oh, I see.

In that case: (using the speedometer analogy)

Incoming data:
(seconds/meters per second)
0/0 (initialized)
3/12 (3*12 = 36 meters)
2/6 (2*6 = 12 meters)
4/16 (4*16 = 64 meters)
3/14 (3*14 = 42 meters)
3/13 (3*13 = 39 meters)

total: 193 meters in 16 seconds

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreSoftware Design > integrator


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT