Data logging w/serial monitor...program stops after 4-4hrs.

After many attempts, I got the DS1820B to to log data, reading every 5min, and outputting data in CSV format. I figured I was done. Wrong, After "some" hours the Create editor returns to the home screen, my data nowhere to be found. I did order an Adafruit SD Shield today.

But what happened to my data. If it's in the cloud, I don't know how to retrieve it from there. I tried copying the code from the create editor {i.e. copy/paste} and putting it in the Arduino editor. That resulted in a compilation error.

Appreciate, I'm not a programmer - getting the delay and CSV output was a major effort.
ed
ps I'd attach the code...it's in the cloud?

Any useful help is also in the clouds.

Paul

If I understand correctly, the problem here is a limitation of using the Arduino Web Editor's Serial Monitor over long periods of time. So really you just need to use a different program for that. You can still use the Arduino Web Editor to compile and upload sketches to your board. The most common serial terminal used in the Arduino world is the desktop Arduino IDE's Serial Monitor simply because it's included with the IDE but there are many other options. Just choose one and install it on your computer, problem solved!

edpe77:
But what happened to my data. If it's in the cloud, I don't know how to retrieve it from there. I tried copying the code from the create editor {i.e. copy/paste} and putting it in the Arduino editor.

By "Arduino editor" do you mean the standard desktop Arduino IDE?

edpe77:
That resulted in a compilation error.

Not necessary to solve your problem, but if you do want to switch to using the standard Arduino IDE we can definitely help you if you'll post the full error message. If I had to guess I'd say it's probably that you need to install a library but it's impossible to say from the minimal amount of information you've given us to work with.

As I said I'm a complete novice.
There were no "error messages"! Just hours of missing data.
If there are other ways of sending the data I'm open for SPECIFIC suggestions.
This has all happened while using the CREATE Editor.
I tried to copy the code to the Arduino editor and get the following ...
ed

Arduino: 1.8.4 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Exception 0xc0000090 0x0 0x6036a080 0x102712
PC=0x102712

syscall.Syscall12(0x77b54610, 0xa, 0x128e2ea0, 0x12900480, 0x0, 0x0, 0x1, 0x400, 0x12691000, 0x0, ...)
/home/jenkins/go/src/runtime/syscall_windows.go:196 +0x4a
syscall.CreateProcess(0x128e2ea0, 0x12900480, 0x0, 0x0, 0x1, 0x400, 0x12691000, 0x0, 0x125e3328, 0x125e32d4, ...)
/home/jenkins/go/src/syscall/zsyscall_windows.go:583 +0x112
syscall.StartProcess(0x128d7130, 0x41, 0x128796c0, 0x1b, 0x1c, 0x125e33e0, 0x0, 0x0, 0x0, 0x0)
/home/jenkins/go/src/syscall/exec_windows.go:326 +0x722
os.startProcess(0x128d7130, 0x41, 0x128796c0, 0x1b, 0x1c, 0x125e3514, 0x12908820, 0x0, 0x0)
/home/jenkins/go/src/os/exec_posix.go:45 +0x293
os.StartProcess(0x128d7130, 0x41, 0x128796c0, 0x1b, 0x1c, 0x125e3514, 0x0, 0x0, 0x0)
/home/jenkins/go/src/os/doc.go:28 +0x53
os/exec.(*Cmd).Start(0x12861810, 0x0, 0x0)
/home/jenkins/go/src/os/exec/exec.go:358 +0x6fa
os/exec.(*Cmd).Run(0x12861810, 0x0, 0x0)
/home/jenkins/go/src/os/exec/exec.go:276 +0x2b
arduino.cc/builder/builder_utils.ExecRecipeCollectStdErr(0x128fe0c0, 0x56c313, 0x15, 0x1, 0x5f4880, 0x614ef0, 0x0, 0x0, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder_utils/utils.go:413 +0x118
arduino.cc/builder.(*GCCPreprocRunnerForDiscoveringIncludes).Run(0x128fe0a0, 0x1261e000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/gcc_preproc_runner.go:93 +0x23c
arduino.cc/builder.runCommand(0x1261e000, 0x5f39b0, 0x128fe0a0, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:183 +0x57
arduino.cc/builder.findIncludesUntilDone(0x1261e000, 0x12893f80, 0x538ca0, 0x1287be30, 0x12893fc0, 0x15, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:331 +0x1810
arduino.cc/builder.(*ContainerFindIncludes).Run(0x614ef0, 0x1261e000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/container_find_includes.go:149 +0xdfd
arduino.cc/builder.runCommands(0x1261e000, 0x125e3cc0, 0x22, 0x22, 0x1, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:191 +0xe2
arduino.cc/builder.(*Builder).Run(0x125e3de4, 0x1261e000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:124 +0x89f
arduino.cc/builder.RunBuilder(0x1261e000, 0x0, 0x0)
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/builder/builder.go:222 +0x35
main.main()
/home/jenkins/workspace/arduino-builder-all-cross/src/arduino.cc/arduino-builder/main.go:338 +0x1360
eax 0x0
ebx 0x32eee008
ecx 0x0
edx 0x32e90000
edi 0x6ab8
esi 0x32eee000
ebp 0xdf5f0
esp 0xdf5c8
eip 0x102712
eflags 0x10212
cs 0x23
fs 0x53
gs 0x2b
C:\Program Files (x86)\Arduino\arduino-builder returned 2
Error compiling for board Arduino/Genuino Mega or Mega 2560.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

edpe77:
There were no "error messages"!

edpe77:
I tried to copy the code to the Arduino editor and get the following ...

Boy, that sure looks like an error message to me. Unfortunately I don't know what it means. I could only suggest that you try uninstalling and then re-installing the Arduino IDE.

edpe77:
If there are other ways of sending the data I'm open for SPECIFIC suggestions.

What do you mean by "sending"? The Arduino board is doing the sending and it sounds like that is working fine. If I understand, what you actually mean is that you need an alternative to the Arduino Web Editor's Serial Monitor for RECEIVING the data. Is that correct?

Yes. Some have referred to alternate serial monitors, don't know what or where they are.
In the mean time I purchased an Adafruit SD Shield, which will provide storage space as well as time data.
I'm still curious as to what happened to my data generated by the "serial.print" command. A curiosity also occurred, initially ti ran for over 3hrs, more recently it returns to home page!
ed

edpe77:
Yes. Some have referred to alternate serial monitors, don't know what or where they are.

There's this thing called Google... I sometimes use a program named RealTerm. I also use a program named PuTTY, though not so much as a serial terminal. There are many others.

I did do some further testing, and found that the Arduino serial monitor will display data for a very long time.
I am having many other issues I will try to address in appropriate posts.
ed

Indeed, there is nothing wrong with the serial monitor, it will run for as long as the power is on. I can't see how there can be anything wrong with your code and, if you just use the standard IDE like everybody else does, you should be OK.

I might point out that, since you are formatting output into CSV, you are surely better off using RealTerm anyway, instead of the serial monitor. RealTerm is a proper terminal programme, not an alternative serial monitor. It enables you to record the data directly to a CSV file for further use at leisure.