Peggy

Members
  • Content Count

    10
  • Joined

  • Last visited

About Peggy

  • Rank
    Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Dear OpenLogger Team, I have received the gift from you -- a very cool Anolog Discovery 2! You made me feel very warm! Here is my original post: Thanks to all of you! Peggy
  2. Hi everyone, I found an easy way to read .log file by MATLAB. MATLAB has functions to read binary file but the difficulty is that we are not sure about the header and format of the log data. I am not familiar with Python so the other way that posted by benl using Python is such a pain to me. Here are a few lines that can easily decode .log file with two channels of data: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Read Data from OpenLogger file close all;clear;clc logfilename = '20190723_9_0.log'; finfo = dir(['F:\' logfilename]); channelNum = 2; %number of channels sampleNum = finfo.bytes/2/channelNum; fileID = fopen(logfilename); logdata = fread(fileID,[channelNum sampleNum],'int16=>int16'); fclose(fileID); headerNum=257; plot(logdata(1,headerNum+1:end),'-'),hold on %channel 1 plot(logdata(2,headerNum+1:end),'-'),hold off %channel 2 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% WaveForms Live read in Matlab Note: I don't care about the header info so I just get rid of it. I use random input pulses for ch2; The two plots are not from the same time. peggy
  3. Hi, I am trying to continuously log data. I have logged data to the SD card for more than 20 hours. The experiment result is pretty good: 1. the OpenLogger can continuously work; 2. it can split files automatically 3. the maximum size of a single file is about 3.7GB However, the time of each data file is wrong. Does the OpenLogger have any timing module? I have made it connected to the internet. Is it possible for it to adjust time according to the internet? thanks!
  4. Hi JColvin, The information in your picture is very helpful! Thanks a lot! Peggy
  5. Hi, I use OpenLogger to log data to the SD card. The saved data file is in the format of *.log. I tried to read it out by Matlab but failed. Could you give me some help? For example, what's the format of these data? Does it both include time and voltage? What's the header like? ... Thanks, Peggy
  6. Hi JColvin, Thanks for your help! I made it this time! The main cause is that my SD card is wrong (64GB, exFAT). Even though I formatted this SD card into (16 GB, FAT32), it still doesn't work. The partition software is cheating me.... I finally borrow a real FAT32 formatted SD card of 32 GB from my colleague and it works well with the OpenLogger and WaveForms Live. Thank you so much! Peggy
  7. Hi JColvin, Thanks for suggestions. This time I used a correct functional SD card but the Waveform Live again didn't show the SD card option. Is this function of logging data to the SD card really available now? Thanks, Peggy
  8. Hi Jcolvin, I have tried three different sizes of brand new SD cards(64,128, 256 Gb). I inserted the SD card to the OpenLogger. Unfortunately, Waveform Live didn't show the option of logging data to the SD card. Thanks, Peggy
  9. Thanks for updating the new function of logging data to the SD card! Unfortunately, I still can not find the button for logging data to the SD card in the WaveForms Live. Only 'chart' is available. My firmware is already the newest version 0.1719.0.