Shop OBEX P1 Docs P2 Docs Learn Events
In what unit of measurement does it measure? — Parallax Forums

In what unit of measurement does it measure?

Hi,

I am new to Parallax. I have a simple question about the unit of the data being measured.

In my code, I have this:
Serial.println("LABEL, TIME, TIMER");

My question is. What is the use of the Timer? What is the unit of the data being shown?

On the "TIME" column, I get it that it logs the current time in my computer in this format (hh:mm:ss). But in the "TIMER" column I am getting a different one.


BTW, I am sending data from my Arduino (an ADXL345 Accelerometer is connected) to Excel using PLX-DAQ so I can plot the data in real time.

Comments

  • Hellooooo
  • I think you need to provide a LITTLE more background. You ask, "What is the use of the Timer? What is the unit of the data being shown?". I don't see any data, just a line of text that is being sent to the serial port. There is no unit of data being shown... there is no data being shown at all.

    You'll have to provide more of the code if you expect anyone to figure out what's going on.
  • Okay sir, apologies.

    Here's an image (attached) of the data I gathered using Parallax-DAQ. Do not mind the header title of each column, I just changed it to my liking.

    Anyway, my question is about column B. In what unit does it measure?

    1428 x 804 - 131K
    data.png 131.1K
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2016-01-11 06:55
    Assuming you have inserted 2 decimal places yourself but the readings look like there are 1000 /second or 1ms. So you should use 3 decimal places.
  • the two decimal places was the default number of decimal places in excel. Okay, I'll change it to 3 decimal places.
Sign In or Register to comment.