|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|
#2
|
||||
|
||||
|
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. |
|
#3
|
|||
|
|||
|
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) |
|
#4
|
||||
|
||||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Software Design > integrator |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|