Update readme

This commit is contained in:
2024-03-05 14:41:05 +01:00
parent 480bf1f0d8
commit d0c0d54d62

View File

@@ -46,7 +46,6 @@ ${SCRIPTEXEC} ${ecmc_plugin_daq_DIR}ecmcDAQAddArray.cmd, "NAME=TestArray
```
This will an empty array object named "TestArray01"
This "NAME" parameter is also used to define the asyn port name and the asyn parameter name for for accessing the waveform data.
### Adding a channel in the array
@@ -142,25 +141,25 @@ 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
0. Channel count : 3
1. EtherCAT dc time in micro 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 of size 100)
13. Spare : -1
14. First data element of first ch. "1234" : 4293967
15. Second data element of first ch. : 0
...
...
25. Data start element for teh third channel (with type 3702) = -5
25. Data start element for third ch. : -5
...
...
```