From 480bf1f0d8fd529b13f795f5a33a9e289ad60636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Sandstr=C3=B6m?= Date: Tue, 5 Mar 2024 14:36:50 +0100 Subject: [PATCH] Update readme --- README.md | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 578150c..8dac5f9 100644 --- a/README.md +++ b/README.md @@ -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 -``` +``` \ No newline at end of file