Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Offset
[byte]

LabVIEW
type

ValueComment

00
01
02
03
04
05
06
07

DBL

elementName


08
09
10
11

I32

status


12
13
14
15

I32

consoleName


16
17
18
19

U32

errorMask


20
21
22
23

U32

errorMaskADC


24
25
26
27

U32

errorMaskDAC


28
19
30
31

U32

errorMaskIO


32

TF

onLine


33

TF

byPass


34

TF

remote


35

TF

busy


Beginning of the array of clusters ADCDynArray (Cluster structure must be known)

36
37
38
39

U32

nr. of array components

arraySize

  • for e-, e+: arraySize = 13
  • for Acc.: arraySize = 9

40
41
42
43
44
45
46
47

DBL

ADCDynArray.chName[0]
(36 + 4) + ( i * 24 )
with i from 0 to ( arraySize - 1)

First component [i=0]
First DBL

48
49
50
51
52
53
54
55

DBL

ADCDynArray.readOut[0]
(36 + 4) + ( i * 24 ) + 8
with i from 0 to ( arraySize - 1)

First component [i=0]
Second DBL

56
57
58
59
60
61
62
63

DBL

ADCDynArray.readOutRaw[0]
(36 + 4) + ( i * 24 ) + 16
with i from 0 to ( arraySize - 1)

First component [i=0]
Third DBL

...

...

...

...

End of the array

Beginning of the array of clusters DACDynArray (Cluster structure must be known)

O1
O1+01
O1+02
O1+03

U32

nr. of array components

arraySize

  • for e-, e+: arraySize = 19
  • for Acc.: arraySize = 10

The "O1" offset depends on the number of components of the preceeding arrays

  • for e-, e+: O1 = (36+4)+(12*24)+16+8 = 352
  • for Acc.: O1= (36+4)+(8*24)+16+8 = 256

O1+04
O1+05
O1+06
O1+07
O1+08
O1+09
O1+10
O1+11

DBL

DACDynArray.chName[0]
(O1 + 4) + ( i * 24 )
with i from 0 to ( arraySize - 1)

First component [i=0]
First DBL

O1+12
O1+13
O1+14
O1+15
O1+16
O1+17
O1+18
O1+19

DBL

DACDynArray.setting[0]
(O1 + 4) + ( i * 24 ) + 8
with i from 0 to ( arraySize - 1)

First component [i=0]
Second DBL

O1+20
O1+21
O1+22
O1+23
O1+24
O1+25
O1+26
O1+27

DBL

DACDynArray.settingraw[0]
(O1 + 4) + ( i * 24 ) + 16
with i from 0 to ( arraySize - 1)

First component [i=0]
Third DBL

...

...

...

...

End of the array

Beginning of the array of clusters IODynArray (Cluster structure must be known)

O2
O2+01
O2+02
O2+03

U32

nr. of array components

arraySize

  • for e-, e+: arraySize = 14
  • for Acc.: arraySize = 14

The "O2" offset depends on the number of components of the preceeding arrays

  • for e-, e+: O2 = (352+4)+(18*24)+16+8 = 812
  • for Acc.: O2= (256+4)+(9*24)+16+8 = 500

O2+04
O2+05
O2+06
O2+07
O2+08
O2+09
O2+10
O2+11

DBL

IODynArray.chName[0]
(O2 + 4) + ( i * 9 )
with i from 0 to ( arraySize - 1)

First component [i=0]
DBL

O2+12

TF

IODynArray.value[0]
(O2 + 4) + ( i * 9 ) + 8
with i from 0 to ( arraySize - 1)

First component [i=0]
LabVIEW TF (booleans) take one byte.

...

...

...


End of the array

O3
O3+01
O3+02
O3+03
O3+04
O3+05
O3+06
O3+07

DBL

tunerPosition

The "O3" offset depends on the number of components of the preceeding arrays

  • for e-, e+: O3 = (812+4)+(13*9)+9 8+1 = 942
  • for Acc.: O3= (500+4)+(13*9)+9+= 630


Details