Versions Compared

Key

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

...

Subsystem version

DeveloperVersionRelease datedatesLast update

2020

...

.2

27/08/2020 (DEVIL)

18/02/2021 (First Level Interface)

 

Subsystem description & Hardware location

This documentation is related to the new DAFNE SIP system with DEVIL Windows and NI COMPAQ DAQ.

TypeDescription
Devil To be defined
Devils (Windows)687
CPU type (Low-Level demon)Virtual Machine
CPU name (Low-Level demon)

vwdantedev02 (192.168.198.160) 

users: dante, dafne

Manual Controller (Light Devil style)3.0 (stable version), 4.1_rc (release candidate)
Number of SIP elements (MVC)128
Racks Location

Rack 089 (Dafne Hall - Ground Flour)      Image Added


Rack 088 (Dafne Hall - Ground Flour)     Image Added


Rack 085 (Dafne Hall - Ground Flour)     Image Added


Rack 092 (Dafne Hall - Ground Flour)   Image Added

Front-end Hardware access (NI cDAQ-9189)

(warning) The front-end can be accessed by opening the rear door of the corresponding rack

Technical Documentation

http://Sharepoint INFN - Gruppo Controlli DA - Controllo SIP Folder



Image Added (devil first run 27/08/2020)

Programming languages

LanguageRequired Add ons/PlugingsPlugins/Extensions/Libraries
LabVIEW 2019 SP1 1901f3 (64-bit) Windows - Low Level Devil

DCS environment, NI DAQmx

LabVIEW 2019 (64-bit) - High 7.0 Sun Solaris - High-Level InterfaceDCS environment

...

Repository

Type

Details

Project

branch : master

clone with SSH : git@baltig.infn.it:lnf-da-control/dcs-source-windows.git

clone with HTTPS : https://baltig.infn.it/lnf-da-control/dcs-source-windows.git

link: https://baltig.infn.it/lnf-da-control/dcs-source-windows/

Database

branch : master

clone with SSH : git@baltig.infn.it:lnf-da-control/dcs-db.git

clone with HTTPS : https://baltig.infn.it/lnf-da-control/dcs-db.git

link: https://baltig.infn.it/lnf-da-control/dcs-db

Preferences

branch : master

link: https://baltig.infn.it/lnf-da-control/dcs-prefs.git

Script windows

branch : master

link: https://baltig.infn.it/lnf-da-control/dcs-script-windows

First Level Interface

Image Added

You can select different Image Added of the DAFNE complex using


the relative selector:

Image Added


if you press the  Image Added button, 

a window "GraphSIP_v5.vi" will open. It graphically shows the value of "Pressure", 
"Current" and "High Voltage" (selectable through the Ring control)


Image Added

Pressure (torr) - scale: Log


Image Added

Current (mA) - scale: Log


Image Added

HV (kV) - scale: Linear



Devil Description

Classes: SIP (ID=8)

Devils : 687


DCS SIP Class 

Database record

Satic Static Fork

Dynamic Fork

Image AddedImage Removed

Image AddedImage Removed


ControlTypes references:

  • SPIHCISta.ctl
  • SIP_ADC_readOut_cluster.ctl
  • readOut (/common/controlTypes/generic values/readOutSta.vi)
    • SIP_IO_cluster.ctl (direction 0 = Output, 1 = Input)

    ControlTypes references:

    • sysFlags.ctl ( /common/controlTypes/miscellaneus/sysFlags.vi)

    sample of one laboratory element:

    *======================================================*
    * DANTE Control System
    * Element Descriptive Record File
    * Static RTDB
    * CPUName: DEVIL687
    * Type: Windows
    * Version: configuration lab
    * Classes: SIP
    * System: CompaqDAQ, MVC
    * data: 24.07.2020
    * last: 11.08.2020
    *======================================================*
    %SIP
    #SIPLB001
    @HCI(S)[(I32),(DBL),DI32,DBL:1]
    SIP,SIPLB001,1000,0.0
    @SIP_ADC_readOut_array(A)
    [abc,DBL,DBL,DBL,DBL,DBL,DBL,abc,DBL,DBL]
    IRLowSen,3021.0,.99999033,0.0,10000,.0001,0.0,
    cDAQ9188-18F6C4AMod2/ai2,10.0,-10.0
    IRHigSen,3021.0,.99999033,0.0,10000,.0001,0.0,
    cDAQ9188-18F6C4AMod3/ai1,10.0,-10.0
    VoltageR,1.0,0.0,0.0,10000,.0001,0,
    cDAQ9188-18F6C4AMod2/ai3,10.0,-10.0
    @SIP_polynomial_coefficients(S)[DBL,DBL,DBL,DI32]
    1.1,2.2,3.3,1
    @SIP_IO_array(A)(A)[abc,abc,DU32,TF]
    HWPowerOn,cDAQ9188-18F6C4AMod1/port0/line1,1,0
    @SIPExtraSta(S)[HU32,HU32]
    0,0

    sample of one laboratory element:

    *======================================================*
    * DANTE Control System
    * Element Descriptive Record File
    * Dynamic RTDB
    * CPUName: DEVIL687
    * Type: Windows
    * Version: configuration lab
    * Classes: SIP
    * System: CompaqDAQ, MVC
    * data: 24.07.2020
    * last: 11.08.2020
    *======================================================*
    %SIP
    #SIPLB001
    @HCI(S)
    [(DBL),DI32,DI32,DU32,DU32,DU32,DI32,TF,TF,TF,TF,DI32,
    DBL,DBL,DBL,DBL]
    SIPLB001,0,000,0,0,1000,0,1,0,1,0,0,0.0,0.0,0.0,0.0


    Devil APIs

    loader

    Image Added

    initHW

    Image Added

    control

    Image Added

    command

    Image Added

    close

    Image Added

    Control

    Image Added

    i.e. SIPCtrl - 2 elements, 2 ADC tasks (2xNI9205) , 6 ADC CHs (4xCHs for task1, 2xCHs for task2), 3 number of samples for ADC,

    2 I/O tasks (1xNI9403).

    Image Added v4.0_rc with error handling.

    Manual Controller

    Image Added

    C:\control\source_windows\0_classes\SIP\console\manual_controller\SIP_manualController_v1.1.vi (stable version)

    In the figure you can see the Manual Controller that loads the DBfiles of the DEVIL688 (now is 687).

    It is predisposed to control only two SIP elements (laboratory test version).

    Image Added

    Image Added

    C:\control\source_windows\0_classes\SIP\console\manual_controller\SIP_manualController_3.4_rc.vi

    In the test configuration seen above, access is made to 4 CompaqDAQs, for a total of 32x4 (128) I/O channels

    and 32x3x4 (384) ADC channels.


    Hardware characterization

    A

    B1

    B2

    Pump type


    Polynomial

    -3.15608

    1.18997

    0.03988

    150


    log P = A+B1 log I+ B2 (log I)^2

    -2.46559

    1.31205

    0.04945

    55



    -2.07947

    1.3501

    0.0528

    20



    -3.49247

    1.04077

    0.02558

    200



    Currently, all SIPs are characterized according to the 150 pump type.

    Hardware Front-end


    Image Added

    Image Added

    Mini Vac Controller (Model 929-0196)

    Out 1 (Lw res) : 10V correspond to 10mA

    Out 2 (Hi res) : 10V correspond to 1mA


    For the first configuration of NI cDAQ-9189, check NI cDAQ-9189 Configuration page.

    NI cDAQ-9189

    Image Added

    Image Added

    Image Added

    4 x CompaqDAQ Controller (NI cDAQ9189)


    1 x I/O module (NI 9403), for each CompaqDAQ


    3 x ADC module (NI 9205), for each CompaqDAQ
    • IP: 192.168.190.31 - Rack: 089 (32 MVC)
    • IP: 192.168.190.32 - Rack: 088 (32 MVC)
    • IP: 192.168.190.33 - Rack: 085 (31 MVC)
    • IP: 192.168.190.34 - Rack: 092 (32 MVC)
    • Image Added

    Image Added

    Protections : overvoltage, overcurrent, and short-circuit protection

    Image Added

    RSE (Referenced Single-Ended) Configuration




    Configuration the Firewall of a DEVIL Windows

    To ensure the commands sent by the first level of DANTE Control System are received by the DEVIL Windows, we must "switch off" the Firewall:

    Settings > Update & Security > Windows Security > Firewall & Network Protection

    Image Added


    Concerting files from Windows to Unix-like operating system

    Code Block
    tr -d '\r' < DEVILXXX.DBXXX > DEVILXXX.DBXXX
    
    

    Note: Before issuing the command, check the correct file structure.

    Remember:

    Windows: CR+LF
    Linux: LF
    OS X: CR


    !CHAOS Acquisition

    The CU that acquire SIP is in production http://chaos-hawebui.lnf.infn.it/chaos_dashboard/index.php and the name of the CU is DAFNE/IMPORT/DAFNE_SIP