Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Muon Kicker: Display Status of Kicker PSU #3404

Open
kjwoodsISIS opened this issue Jul 30, 2018 · 8 comments
Open

Muon Kicker: Display Status of Kicker PSU #3404

kjwoodsISIS opened this issue Jul 30, 2018 · 8 comments

Comments

@kjwoodsISIS
Copy link
Contributor

kjwoodsISIS commented Jul 30, 2018

As a muon scientist, I need to see the current status of the Kicker PSU, so that I can monitor its behaviour.

Acceptance Criteria

  1. I can view whether the Kicker PSU is currently switched ON or OFF
  2. I can view the voltage readback of the Kicker PSU (measured in kV).
  3. I can view the current readback of the Kicker PSU (measured in mA).

Notes

  1. required by Muon Front End: Monitor Kicker #3071
  2. The Kicker PSU is controlled by a National Instruments DAQ device (DAQ-Mx).
    1. See Kicker_Separator_Schematics.
  3. The ON/OFF status of the Kicker PSU is read from a PLC.
    1. The PLC is a Schneider Electric M580 device
  4. The Kicker PSU voltage & current can only be read from the DAQ-Mx. At the present time, they cannot be set (hardware limitation).
  5. Note: IBEX does not communicate directly with the Kicker PSU. It communicates with the NI DAQ-Mx. In order to read or set the voltage and/or current on the PSU, there needs to be some sort of calibration or lookup between the NI DAQ-Mx and the PSU.
    • The calibration (scaling) relationship is:
      • Kicker Voltage: 0-10V (DAQ) = 0-45kV (PSU)
      • Kicker Current: 0-10V (DAQ) = 0-15mA (PSU)
@Tom-Willemsen
Copy link
Contributor

Glad there was success, let’s assume it’s the need for up to date DAQ until proven otherwise.

Luckily the muon front end can have a recent DAQmx install, which is where we need to use the 4 slot chassis on a live system

Tom, could you add that comment to the appropriate ticket?

Kathryn


Hi,

Ok, after updating to daqmx 18.0 it has worked. The problem I got was as per https://forums.ni.com/t5/Multifunction-DAQ/cDAQ-9184-201401-Error/td-p/3608487 in their case they restarted the unit and unplugged a module while running, this then prompted a “installing device driver box” and it then worked. In my case after a upgrade to 18.0 and restart I still had a light grey funny looking cDAQ-9185 as before, however this time when I right clicked “add device” it went into find new hardware and installed a driver, and now I see all the cards OK. SO I don’t know if it was my version of max/daqmx got in a funny state, or whether you need daqmx 18.0, but I can see all the cards now at least

Freddie

@ghost
Copy link

ghost commented Aug 21, 2018

  • I have created an OPI for the kicker (Muon Kicker: Monitor Oscilloscope Trace #3406 needs reviewing first) (https://github.com/ISISComputingGroup/ibex_gui/tree/Ticket3071_Add_IOC_KICKER branch)
  • The IOC created ( Ticket3071_Add_IOC_KICKER branch on IOC, IOCTestFramework and EPICS-Kicker, Ticket3071_Add_IOC_KICKER_submodule on EPICS branch) works as required (tested with the DAQ). Just needs checking that it works from within the client with the OPI.
  • There is some boilerplate code to connect to the Schneider Electric M580 PLC using Modbus to read the ON/OFF status of the Kicker PLC. I have not tested this code and we don't know how we will talk to the device. This feature probably doesn't work currently.

@ghost
Copy link

ghost commented Aug 28, 2018

Related pull requests:

@ghost
Copy link

ghost commented Sep 7, 2018

Updated the above pull requests with requested changes.

Added DBunit checker pull request.

@ghost ghost added review and removed in progress labels Sep 7, 2018
@ghost ghost added impeded and removed review labels Sep 18, 2018
@kjwoodsISIS kjwoodsISIS added ready and removed ready labels Oct 30, 2018
@ghost
Copy link

ghost commented Nov 13, 2018

This ticket is in impeded until the Kicker is connected up to the DAQ on MUONFE.

@kjwoodsISIS kjwoodsISIS removed this from the SPRINT_2018_10_30 milestone Jan 24, 2019
@kjwoodsISIS
Copy link
Contributor Author

Moving to backlog until we are ready to do something with the Kicker.

@DominicOram
Copy link
Contributor

@KathrynBaker, @JamesKingWork and @rerpha. As people that know about Muons, any idea on the state of this?

@JamesKingWork
Copy link
Contributor

@KathrynBaker, @JamesKingWork and @rerpha. As people that know about Muons, any idea on the state of this?

@DominicOram I'm afraid I don't, it hasn't been mentioned in the snags list, but as it's for MUONFE they may not have thought it the right place to bring it up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants