Changeset 20082 for trunk/FACT++


Ignore:
Timestamp:
04/19/21 11:20:33 (4 years ago)
Author:
tbretz
Message:
Trying to setup to use the new miniftm for fad reset.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/scripts/crateReset.js

    r18219 r20082  
    3737        [
    3838         [ "MCP" ],
    39          [ "FTM_CONTROL" ],
     39         [ "FPGAFTM_CONTROL" ],
    4040         [ "FAD_CONTROL" ],
    4141        ];
    4242    if (!checkStates(table, 3000))
    43         throw new Error("Either MCP, FTM_CONTROL or FAD_CONTROL not online.");
     43        throw new Error("Either MCP, FPGAFTM_CONTROL or FAD_CONTROL not online.");
    4444
    4545    // No data taking should be in progress
     
    6464         [ "MCP", [ "Idle", "Connected" ]],
    6565         [ "FTM_CONTROL", [ "Valid" ] ],
     66         [ "FPGAFTM_CONTROL", [ "Valid" ] ],
    6667         [ "FAD_CONTROL", [ "Disengaged", "Disconnected", "Connecting", "Connected" ] ],
    6768        ];
    6869    if (!checkStates(table, 3000, true))
    69         throw new Error("Either MCP, FTM_CONTROL or FAD_CONTROL not in a state in which it ought to be.");
     70        throw new Error("Either MCP, FTM_CONTROL, FPGAFTM_CONTROL or FAD_CONTROL not in a state in which it ought to be.");
    7071
    7172    // FTUs must be switched off
     
    102103
    103104    dim.log("Sending reset.");
    104 
     105    dim.send("FTM_CONTROL/FAD_RESET");
     106/*
    105107    if (cnt==4)
    106108        dim.send("FTM_CONTROL/RESET_CAMERA");
     
    114116            }
    115117    }
     118*/
     119
     120
    116121
    117122    // We have to wait a bit
Note: See TracChangeset for help on using the changeset viewer.