Hi Alan,
Alan_Segal wrote:1. Timestamp: when I choose a timestamp of HH:MM:SS.sss, I notice that several data points are assigned the same timestamp, suggesting the sampling rate
exceeds 1000 samples per second. Is there a way to resolve a time resolution finer than 1 millisecond?
Actually, CoolTerm receives data in chunks. Serial ports have a receive buffer that is monitored by the operating system, and when data arrives in that buffer, the API throws a DataAvailable event to tell CoolTerm to go and grab that data. This is not guaranteed for every character that is received. Especially at higher baud rates and/or when the system is busy otherwise, there can be quite a number of bytes in the buffer when this event fires. When CoolTerm gets that data from the buffer, it also gets a timestamp from the system. If there are multiple lines in the data it got from the buffer, CoolTerm will apply the timestamp to each line. Thus, when you see the exact same timestamp on multiple consecutive lines, it means that they all arrived at CoolTerm at the same time.
Alan_Segal wrote:2. Raspberry Pi: when I make the same timestamp choice here, CoolTerm does not produce output and hangs. It works fine if the timestamp is simply
date/time or just time. What is causing this behavior?
Let me see if I can replicate this behavior on the Raspberry Pi. As I disclaim on my website, the Linux and Raspberry Pi builds are not "officially" supported. Thus, not much of my own testing has gone into those builds as I rely on beta testers on those platforms. I have not received any feedback describing the issue you are experiencing. I'll take a look when I get a chance. When you select millisecond resolution for the timestamp, CoolTerm increases its serial port polling rate to force the DataAvailable event to fire if the system hasn't fired it on its own yet. This has a tendency to increase the CPU load. I wonder if the Pi has some difficulty with that. Which Pi are you using (2,3, or 4)?
Alan_Segal wrote:3. Finally, despite saving changes I make in the options dialog box, I notice the settings are back to their default values. What am I doing wrong here?
When you saying that the settings are back their default values, do you mean that they are back to the defaults after a new start of CoolTerm?
You can save your current settings to disk, and load the settings after a new launch.
I hope this helps.
Roger