02-20-2020, 12:05 PM
It looks like in your version with division, you enabled "clear" at the input and at the output of the division. This way you delete the raw data after processing and replace the old results, so you only have few or no data points in your graph. The multiplication version only clears at "the the input" of the next element, which means that the raw data is kept all the time and that the entire dataset is regenerated all the time (which is fine for these few values). Also, you have left the buffer size at the default 1000 data points, so at some point old data will be replaced (the graph starts moving to the left) - just in case you wonder about this in longer measurements.
Did you find an explanation to the division by 1000? I saw this in their example code as well, but I did not find any documentation on it. At first I thought, the results might be in µT, but this did not really work out on my device and for a signed 16 bit integer, this would mean that the range would only be +/-32µT. This would mean that the range would be too small for Earth's magnetic field by design, which did not make sense to me, so I decided to use the raw values.
Did you find an explanation to the division by 1000? I saw this in their example code as well, but I did not find any documentation on it. At first I thought, the results might be in µT, but this did not really work out on my device and for a signed 16 bit integer, this would mean that the range would only be +/-32µT. This would mean that the range would be too small for Earth's magnetic field by design, which did not make sense to me, so I decided to use the raw values.