...
Turn for electrons | Turn for positrons |
---|---|
Figure 1-a: The sequence [0,1,2,3] is sorted according to the direction of the electrons beam: starting from rack 063 (DEVIL364 > 365 > 366 > 367) | Figure 1-b: The sequence [1,0,3,2] is sorted according to the direction of the positrons beam:, starting from rack 071 (DEVIL365 > 364 > 367 > 366) |
Each one of the 4 DEVILs has a circular buffer of 1927 lines named "sockets". The four circular buffers write operations are synchronized with a common stobe so that the four write pointes are always alligned. At each strobe, each DEVIL store a socket composed as: DBL Acquisition number [0, 1927] | |
Details
---
Examples
---
GRawBuffer.vi
...
Data type | Name | Description |
---|---|---|
I32 | DEVILIndex | Index in the range [0, 1, 2, 3] corresponding to: INDEX 0, 1, 2, 3 |
enum | mode | [init, read, write] (read) init: the internal shift register are initialized (all zeros) |
[DBL] | part X | Array of 32 DBL components containing the raw values of the X signals coming from both electron and positron BPMs. The components are in the same order of the values in the DEVIL memory locations. |
[DBL] | part X | Array of 32 DBL components containing the raw values of the Y signals coming from both electron and positron BPMs. The components are in the same order of the values in the DEVIL memory locations. |
errorCluster | errorIn |
Indicators
Data type | Name | Description |
---|---|---|
[DBL] | part X | See corresponding control description above. The X array is returned both for read and write operations. |
[DBL] | part X | See corresponding control description above. The Y array is returned both for read and write operations. |
errorCluster | errorOut |
Details
This VI stores and returns the last socket acquired from the 4 DEVILs. It doesn't perform any reordering.
Examples
---
readDEVILBufferLine.vi
Controls
Data type | Name | Description |
---|---|---|
boolean | init | T = initialize, F = regular run init = F: reads the socket "socketNumber" from the VME memory of the DEVIL "DEVILIndex" |
I32 | DEVILIndex | Index in the range [0, 1, 2, 3] corresponding to: INDEX 0, 1, 2, 3 |
I32 | socketNumber | Pointer to the acquisition buffer in the range [0, 1926] |
[DBL] | part X | Array of 32 DBL components containing the raw values of the X signals coming from both electron and positron BPMs. The components are in the same order of the values in the DEVIL memory locations. |
[DBL] | part Y | Array of 32 DBL components containing the raw values of the Y signals coming from both electron and positron BPMs. The components are in the same order of the values in the DEVIL memory locations. |
errorCluster | errorIn |
Indicators
Data type | Name | Description |
---|---|---|
[DBL] | part X | See corresponding control description above. The X array is returned both for read and write operations. |
[DBL] | part X | See corresponding control description above. The Y array is returned both for read and write operations. |
errorCluster | errorOut |
Details
This VI stores and returns the last socket acquired from the 4 DEVILs. It doesn't perform any reordering.
Examples
---
Jira | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...