Update readme

This commit is contained in:
2024-03-05 14:36:50 +01:00
parent f665a483b2
commit 480bf1f0d8

View File

@@ -136,11 +136,37 @@ c6025a:DAQ-Testing1-DataAct
c6025a:DAQ-Testing2-DataAct
```
Array data:
Array data "Testing1":
```
caget -t c6025a:DAQ-Testing1-DataAct
14:22:04.745986 c6025a:DAQ-Testing1-Data-Act 3 2134284536 1234 14 6 -1 4321 20 5 -1 3702 25 200 -1 4293967 0 0 0 0 0 4293967 0 0 0 0 -5 -8 -7 -5 -5 -5 -7 -5 -7 -5 -7 -7 -5 -7 -7 -3 -5 -5 -9 -4 -5 -5 -9 -5 -8 -8 -7 -7 -7 -8 -5 -4 -8 -8 -7 -5 -7 -4 -5 -9 -8 -8 -11 -7 -4 -5 -8 -8 -8 -9 -5 -7 -4 -4 -5 -9 -7 -4 -10 -7 -7 -8 -8 -5 -5 -7 -8 -8 -5 -5 -8 -7 -7 -7 -8 -8 -7 -4 -7 -8 -8 -7 -8 -7 -5 -9 -8 -7 -8 -9 -9 -5 -7 -7 -8 -5 -9 -8 -9 -5 -5 -3 -5 -4 -6 -4 -6 -5 -5 -5 -6 -6 -4 -5 -4 -6 -6 -6 -5 -6 -4 -4 -5 -6 -7 -7 -6 -4 -7 -4 -6 -6 -8 -6 -5 -4 -4 -5 -4 -6 -6 -6 -6 -5 -4 -6 -3 -4 -7 -9 -6 -4 -3 -4 -6 -6 -5 -5 -7 -5 -5 -4 -6 -5 -3 -6 -6 -6 -5 -4 -4 -5 -3 -4 -5 -5 -6 -5 -5 -6 -6 -5 -4 -7 -3 -6 -6 -5 -6 -6 -5 -5 -3 -4 -6 -6 -5 -7 -6 -5
In this case the header is "3 2134284536 1234 14 6 -1 4321 20 5 -1 3702 25 200 -1":
0. Channel count =3
1. EtherCAT dc time in micor seconds: 2134284536
2. Type of first channel = 1234
3. Data starts at element 14
4. Data element count = 6
5. Spare = -1
6. Type of second channel = 4321
7. Data starts at element 20
8. Data element count = 5
9. Spare = -1
10. Type of third channel = 3702
11. Data starts at element 25
12. Data element count = 200 (two oversampling arrays)
13. Spare = -1
14. First data element of first channel "1234" = 4293967
15. Second data element of first channel = 0
...
...
25. Data start element for teh third channel (with type 3702) = -5
...
...
```
Array data "Testing2":
```
caget -t c6025a:DAQ-Testing2-DataAct
14:21:22.652988 c6025a:DAQ-Testing2-Data-Act 2 2092191543 1234 10 6 -1 4321 16 5 -1 4293967 0 0 0 0 0 4293967 0 0 0 0
```
```