tstana / proto-cubes-obc Goto Github PK
View Code? Open in Web Editor NEWThis project forked from zethian/proto-cubes-obc
OBC software for Proto-CUBES. Running on arduino Due
License: MIT License
This project forked from zethian/proto-cubes-obc
OBC software for Proto-CUBES. Running on arduino Due
License: MIT License
After daq0773.dat
, the next file name was daq7740.dat
. The error on the serial monitor shows:
Could not open daq7742.dat, file already exists!
response: TRANSACTION SUCCESSFUL
CMD_REQ_PAYLOAD received
Obtaining latest data from SD card...
Reading data from daq7741.dat
CMD_DAQ_STOP received
response: TRANSACTION SUCCESSFUL
------- Invoking REQ_PAYLOAD ---------
response: TRANSACTION SUCCESSFUL
--------------------------------------
Could not open daq7742.dat, file already exists!
CMD_REQ_PAYLOAD received
Obtaining latest data from SD card...
Reading data from daq7741.dat
There were more files written on SD card after daq7742.dat
. It went up to daq7762.dat
but they contained same data inside i.e all HK information was same. SD card was cleared and reinserted.
On startup, the Proto-CUBES OBC tries to find the last written DAQ file on the SD card by sequencing through the currently existing files on the SD card, starting from file DAQ0000.txt
. With a large number of files, this process can be very time-consuming.
Fix by storing the last written DAQ file in EEPROM, or (probably easier) in a dedicated file on the SD card, e.g., _lastfile.txt
?
When attempting to operate Proto-CUBES with a long cable (preparing for the 2020 radiation test), one of the issues that appears is that only one histogram (of six) is written to data files.
Setup:
a37aed0
Four example data files attached (*_Citi
is data file equivalent from CitirocUI):
38 bytes is also the number of bytes sent during HK readout. It could be that the Arduino keeps this number as the recv_len
when sending the REQ_PAYLOAD
to CUBES...
This issue on a separate repo contains more details on replicating the issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.