...
The WCM class has two live buffers of acquired data: one for the monitors crossed by the elecrons beam and one for the monitors crossed by the positrons beam.
Each buffer is a LabVIEW 2D-array DBL.
Excerpt | |
---|---|
General information on LabVIEW 2D-arraysLabVIEW 2D-arrays are written in memcached as two I32 numbers (number of rows and number o columns) followed by a series of DBL numbers (ordered row by row). The following example, reports the representation of a 2-rows, 3-cols array with the values: row 0 = [0,1,2], row 1 = [10,11,12]
|
Specific information on WCM 2D-arrays
In the WCM class case, the two 2-D arrays dimesions are: #rows = 4, #cols=9, so both arrays begin with:
...
The two WCM arrays are written, one after the other, at the end of the dynamic fork, after the two I16 values "mode" and "status". Each array consists of (4 * 9) = 36 DBL components = 288 byte, plus the two I32 leading values for the two dimensions, for a total of 296 byte.
- "mode" I32 (0=electronspositrons, 1=positronselectrons) at offset 10910 [byte]
- "status" iI32 I32 (0=LSP, 1=LBT, 2=LTA, 3=AMR / LSP+AMR) at offset 11110 [byte]
- First array starting at offset 11310 [byte]
- Second array starting at offset 40910 [byte]
...