Unable to upload a csv file

조회 수: 2 (최근 30일)
Aster Anthony
Aster Anthony 2021년 4월 19일
답변: Christopher Stapels 2021년 4월 20일
Im not able to upload a csv file which I have created using rpi. The csv file is as follows
datetime field1 field2 field3
2021-04-19-10:59:46 0 0 0
2021-04-19-10:59:47 122 -1 265
2021-04-19-10:59:48 123 -1 265
2021-04-19-10:59:49 115 0 266
2021-04-19-10:59:50 122 -7 265
2021-04-19-10:59:51 117 -5 265
the error I get is invalid csv file or contains duplicate timestamp or missing timestamps. If someone could point out the mistake, it would be helpful.
  댓글 수: 4
Jonas
Jonas 2021년 4월 19일
if you just want to upload a file to a platform and the file saves correctly I don't see why this should not work. Are csv files allowed in your private channel, can you upload other csv files?
Aster Anthony
Aster Anthony 2021년 4월 19일
I created a new channel with my local time zone. it worked. Thank you.

댓글을 달려면 로그인하십시오.

답변 (1개)

Christopher Stapels
Christopher Stapels 2021년 4월 20일
Duplicate values are not allowed in the channel. It is possibe that you had already written that data and tried a second time. Creating a new channel solved the problem of duplicate timestamps in the channel.
For the Format, see the channel data import page.
Format Sample Datetime
Epoch1494878628 (seconds elapsed since January 1, 1970) May 15, 2017, 20:03:48 UTC
ISO 860 12017-05-15T20:03:48-05:00 May 15, 2017, 20:03:48 EST
MySQL 2017-05-15 20:03:48 UTC May 15, 2017, 20:03:48 EST

커뮤니티

더 많은 답변 보기:  ThingSpeak 커뮤니티

카테고리

Help CenterFile Exchange에서 ThingSpeak에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by