Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • S SCONE
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • scouting-demonstrator
  • SCONE
  • Issues
  • #24
Closed
Open
Created Nov 01, 2021 by Dinyar Rabady@dinyarOwner

Make it possible to set multiple registers in one POST request

It would be convenient if we could handle multiple reg:value pairs in one POST request. It should be clarified if this is already the case.

So, it looks like this isn't currently possible because we allow register writes using e.g.

curl -X POST -F "value=20" 127.0.0.1:8080/kcu1500_demux/scoutDemux_zs_threhold_eg_0p5GeV/write

It may however be nice for the control software to have an interface that receives a list of register:value pairs as json to a single HTTP endpoint.

A possible interface could be something like

url -X POST -F "[{register=scoutDemux_zs_threhold_eg_0p5GeV, value=20}, {register=scoutDemux_zs_threhold_tau_0p5GeV, value=100}]"   127.0.0.1:8080/kcu1500_demux/write

alternatively could check how it's done with forms etc.

Edited May 04, 2022 by Dinyar Rabady
Assignee
Assign to
Time tracking