Search the Community

Showing results for tags 'log'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 4 results

  1. 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
  2. Hi, Since I am just an end-user of the OpenLogger. Hence, I am having a hard time to read a log file to a CSV file based on the instruction of the digilentinc' s instruction. Has anyone succeeded in converting the log file? If so, is there any advice or suggestion that you could give? Could you post a video of converting to CSV on youtube Digilentinc as it is very ridiculous for the OpenLogger to produce a file which can not be read in Matlab?
  3. Hi, I have a vibration sensor with an SPI interface. Can i use the Analog Discovery 2 to record the measurements to a file? if so, could you point me to some documentation that explains this? Thanks in advance! Luis
  4. Dear forum I'm trying to log the activity on the I2C bus using my Analog Discovery 2 and the Logic Analyzer tool. I remember someone posted a script that will let you log all of the data. Can someone refer me to that post? Also, the specific protocol that I'm trying to decode is SVID (Serial voltage ID, Intel) that is based on I2C but with lower voltage threshold (0 to ~1V). I cannot find the option to change the threshold in Logic Analyzer. Within a script, could this be achieved? Thanks !