Versions Compared

Key

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

...

LanguageRequired Add ons/Plugins/Extensions/Libraries
LabVIEW 12.0.1f5 (32-bit)

liblv2vmechaos.lvlib (for SIS3153 usage)
git repo: https://baltig.infn.it/chaos-lnf-control/lv-vme-chaos-driver.git

Description

Info

Due to safety reasons, the development of the new DEVIL204 takes place on the virtual machine vldantedev038 that temporarily mounts a copy of the dcs_lv12/source_linux actual directory.
Any VIs and data files created/modified/removed concern the directories:

/u2/dcs/source_linux//0_classes/GOD/
/u2/dcs/source_linux/devils/DISARMED/DEVIL204-NEW/
/u2/dcs/source_linux/lib/lv-vme-chaos-driver/

Any derogation from this assumption will be highlighted below.

Repo git clonato in: /u2/dcs/source_linux/lib/lv-vme-chaos-driver
(dovrebbe essere creato nella /usr/local/natinst/LabVIEW-2012/user.lib/ ma questo andrebbe poi fatto su tutte le macchine. Messo invece nella .../source_linux/lib/ , vale per tutti).


Info
titleWarnings

GGODSta.vi and GGODDyn.vi have the "append" and "write" cases DISABLED to avoid memcached real write operations

...

Data type

Name

Type

Description

abcDEVILconstant[ 364, 365 ,366, 367 ]
The sequence is sorted according to the direction of the beam for the electronic mode: clockwise, starting from rack 063 (DEVIL364)
abcelementconstant

[ ORBRAK63, ORBRAK71, ORBRAK70, ORBRAK66 ]
clockwise direction for electrons

abccontrollerIPconstant[ 192.168.192.91, 192.168.192, 192.168.192.92, 192.168.192.93, 192.168.192.94 ]
U32vme handle
written Written at startup by the initHWGOD.vi
U32DEVILBaseAddressconstant0xE0000000 for all 4 DEVILs
U32DEVILBufferOffsetconstant0x200000 (2 MB) for all 4 DEVILs
abcHCIDynDescriptorconstant

It varies depending on the DEVIL36X.DBDyn content

In order to fill the ORBHCIDyn cluster with data read from the SIS3153 interface, we read "HCIDynNumOfLongwords" longwords starting from "HCIDynOffset. Data are then passed to the VI
.../0_classes/GOD/library/VMEMemToORBDyn.vi
that reconstructs the ORBHCIDyn cluster by using the "HCIDynDescriptor".

U32HCIDynOffsetconstantposition Position of the dynamic fork in the DEVIL memory. It varies depending on the lenght of the static fork which is other data written before in memory
U32HCIDynNumOfLongwordsconstantThe 4 HCIDyn have different length but we use a safe value to fetch any of them without missing any piece of data. The value is set to 64 longwords.
abcHCIStaDescriptorconstant

 It varies depending on the DEVIL36X.DBSta content

In order to fill the ORBHCISta cluster with data read from the SIS3153 interface, we read "HCIDynNumOfLongwordsHCIStaNumOfLongwords" longwords starting from "HCIStaOffset".../0_classes/GOD/library/fetchORBSta.vi
           . Data are then passed to the VI
.../0_classes/GOD/library/VMEMemToORBSta.vi
used that reconstructs the ORBHCISta cluster by the .../0_classes/GOD/library/bundleORBSta.vi to interpreter the using the "HCIStaDescriptor".

U32HCIStaOffsetconstantPosition of the static fork in the DEVIL memory. It varies depending on the lenght of other data written before in memory.
U32HCIStaNumOfLongwordsconstantThe 4 HCISta have different length but we use a safe value to fetch any of them without missing any piece of data. The value is set to 240 longwords.


Turn for positronsTurn for electrons


Picture 1-a: The sequence is sorted according to the direction of the electrons beam: counterclockwise, starting from rack 071 (DEVIL365 > 364 > 367 > 366)

Picture 1-b: The sequence is sorted according to the direction of the positrons beam: clockwise, starting from rack 063 (DEVIL364 > 365 > 366 > 367)

...