Freezing/Logging Data from DDE at 1 Minute Intervals

Ron1970

New Member
Joined
Nov 19, 2024
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
I need to create a data logging program that can take up to 18 individual analog inputs into a paperless data recorder and store the values as read at the concurrent times as defined by me (One minute intervals).

I am currently attempting to create a very simple (in theory) spreadsheet.
I am getting data streamed to my PC using a DDE file
I need to capture individual cells value at a start time and save that value into another sheet to populate.

Once the previous value has been saved into the new row, a minute will go by and a new row will show the next value and so on.

Example of one value:
Oxygen is reading 12.0% over an hour period with variations during that time of 4 points (11.8-12.2)
the readings change continuously
at 1:00 pm I wish to record what the value of that cell is reading in the DDE, then every minute, read and log that new value in a cell below the last.

Start and stop would be initiated with a button control

example :
Current Value: 11/15/2024 1:06 P.M. 12.0 <<From DDE Cell

New Spreadsheet

11/15/2024 1:00 P.M. 11.9
11/15/2024 1:01 P.M. 12.1
11/15/2024 1:02 P.M. 11.9
11/15/2024 1:03 P.M. 12.2
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

Forum statistics

Threads
1,223,856
Messages
6,175,029
Members
452,606
Latest member
jkondrat14

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top