Search found 3 matches

by RandallMcRee
Wed Jun 24, 2020 11:13 pm
Forum: MegunoLink
Topic: MessageLogger--can it write each line immediately?!
Replies: 4
Views: 7675

Re: MessageLogger--can it write each line immediately?!

Yes, a periodic

message.StopLogging();
message.StartLogging();

does the trick.
by RandallMcRee
Wed Jun 24, 2020 5:18 pm
Forum: MegunoLink
Topic: MessageLogger--can it write each line immediately?!
Replies: 4
Views: 7675

Re: MessageLogger--can it write each line immediately?!

Sure, I can try that. It will be more expensive, certainly, than just calling fflush on the file. That is the correct way to do it--if you have a file handle. https://www.techonthenet.com/c_language/standard_library_functions/stdio_h/fflush.php#:~:text=C%20Language%3A%20fflush%20function,unwritten%2...
by RandallMcRee
Wed Jun 24, 2020 12:45 am
Forum: MegunoLink
Topic: MessageLogger--can it write each line immediately?!
Replies: 4
Views: 7675

MessageLogger--can it write each line immediately?!

My application is an 8.5 digit multimeter that uses megunolink. I use the message logger to output to a log file. I need to get the data into another program for real-time processing. Further processing needs 1) to use 64-bit double precision and 2) information available from other DMMs that are on ...