pcdshub / lcls-twincat-pmps

Photon Machine Protection System (PMPS) TwinCAT library for LCLS-II
https://pcdshub.github.io/lcls-twincat-pmps
Other
2 stars 7 forks source link

JsonToDoc - JsonDocToBP #116

Closed ghalym closed 1 year ago

ghalym commented 2 years ago

Create a FB_JsonToDoc That will:

  1. Read a local json file (check the file is correct)
  2. Parse the file into a global PMPS.JsonDoc, that will be available to all devices to load their states BP.

Create a FB_JsonDocToBP That will:

  1. Parse the global JsonDoc object, find the device/state data and load them to the PB structrue.