Skip to content

Running cs web proto against Coniql

Will Rogers edited this page Oct 29, 2019 · 10 revisions

Coniql (Github) is a prototype server that converts control system data (currently from PVAccess) into a GraphQL protocol that can be understood by cs-web-proto if it uses the Coniql plugin.

Set up Coniql

  • Clone the coniql repo from the Github link above
  • Run pipenv install
  • Run pipenv run python -m coniql.server

This will provide sim:// PVs only. To enable PVAccess PVs:

  • set the EPICS7_BASE environment variable to the directory of an EPICS7 build
  • pipenv install p4p

Now with pipenv run python -m coniql.server you should also see data from PVAccess PVs.

Load the ConiqlPlugin inside cs-web-proto

  • copy src/settings.ts.template to src/settings.ts
  • edit src/settings.ts to set the correct URL
Clone this wiki locally