Replies: 2 comments 2 replies
-
The idea with the current setup is that hobbyists can quickly program something and try it out. This means that the settings should be pretty comprehensive as to not restrict somebody. That's why you can select the data mode and also the EOL character, baud and stuff like that. I fully aggree with you that a more robust data format would be better suited for ease-of-use and meta data transfer (that would presume that every device is in accordance with the exact requirements proposed by Gamma MCA, which would be more restrictive than now). However, at the moment there is no way to actually save any data coming from the serial port other than actual raw spectrometry data. If you wanted to implement something like this, you'd also need to keep all the devices in mind that work just fine now. These would all need to be updated (flashed) with new software to keep working. Maybe an override option would be needed? 🤔 |
Beta Was this translation helpful? Give feedback.
-
We made attempt to simple implementation of our device's output format. The first iteration is selectable as a new input variant by the radio button. Currently is parsing the histogram only. |
Beta Was this translation helpful? Give feedback.
-
Hello,
currently, the Gamma MCA uses only a very simple data transfer protocol, which does not contain any metadata. That solution transfers the decision about the used data format to the user choice. The user is therefore obliged to select the correct data format e.g. Histogram or Chronological stream and also the correct number of channels and delimiter.
I suggest improving the situation by introducing a more sophisticated data format.
We successfully used NMEA-like strings, which have numerous advantages:
As a reference there are links to two instruments with the description of the messages:
The use of the NMEA format is beneficial in the possible mix with standard outputs from GPS receivers. The resulting stream could be also parsed by existing javascript libraries like following:
Beta Was this translation helpful? Give feedback.
All reactions