Wiki source code of Data PostProcessing Examples

Version 4.1 by Hera Guo on 2025/10/13 11:56

Show last authors
1 == 1. Calcaute Data Delta in different uplink ==
2
3 === 1.1 Use the script node ===
4
5 [[image:1760325448266-905.png]]
6
7 [[image:1760325834320-734.png]]
8
9 [[image:1760325888128-284.png]]
10
11 ==== The calculation code is as follows: ====
12
13 ==== The calculated difference result is saved to State and uploaded to telemetry for display. ====
14
15 ==== If the normal increment occurs without packet loss, State ~= 1; ====
16
17 ==== if packet loss occurs, State ~= 0. ====
18
19 [[image:1760325860551-151.png]]
20
21
22 [[image:1760325531412-428.png]]
23
24 === 1.2 Use the calculate delta node ===
25
26 [[image:1760326967669-999.png]]
27
28 [[image:1760327789972-615.png]]
29
30
31