diff --git a/init/databuffer-ess.json b/init/databuffer-ess.json index 0175781bdd41b3bd28aa070fecf9022ff8a2276c..518e72568acbfad594fdc9edf0846842c37158fd 100644 --- a/init/databuffer-ess.json +++ b/init/databuffer-ess.json @@ -1,7 +1,7 @@ { - "ProtocolNumber": 1, - "ProtocolVersion": 1, - "Modes": { + "ProtNum": 1, + "ProtVer": 1, + "PBMod": { "None": { "id": 0, "events": "None", @@ -119,7 +119,7 @@ "pv": "PBMod" } }, - "Destination": { + "PBDest": { "None": { "id": 0 }, diff --git a/supercycles/README.md b/supercycles/README.md index 4706dc640d4d0082ba467296a234c89cae4cd862..ac49059080fce1c04326b05c79416f0ea1f33ffb 100644 --- a/supercycles/README.md +++ b/supercycles/README.md @@ -8,5 +8,7 @@ ESS Supercycle Tables # Design Guide * Place a supecycle table in this directory. * Use "libreoffice" or "Microsoft Excel" to create/edit .csv files (comma-separated values). -* Each table should have a unique name (name).csv. +* Each table should have a unique name {name}.csv. * Fist "row" defines keys for each dataset within its collumn (key). +* The keywords are the same as Data Buffer PVs (PBDest, PBMod, ...) and Event Codes (BPULSE_ST, BPULSE_END, ...). +* Each row requires a unique Id number (the reference purpose). diff --git a/supercycles/example01.csv b/supercycles/example01.csv index ae5919409421c5f96505de969e01ae6316cc7d79..0815d8502234ebfc1742c2d9d16ed031201ec999 100644 --- a/supercycles/example01.csv +++ b/supercycles/example01.csv @@ -1,4 +1,4 @@ -Id,Modes,Destination,EVT_BPULSE_ST,EVT_BPULSE_END +Id,PBMod,PBDest,BPULSE_ST,BPULSE_END 1,Conditioning,ISrc,0,50 2,Conditioning,LEBT,50,100 3,Conditioning,MEBT,100,150 diff --git a/supercycles/example02.csv b/supercycles/example02.csv index 3a8b020d8e6d471c758c49480209a36adeb74b4c..b9b672763f76f1e01d4cb3f7c888c290d40dacf7 100644 --- a/supercycles/example02.csv +++ b/supercycles/example02.csv @@ -1,4 +1,4 @@ -Id,Modes,Destination,EVT_BPULSE_ST,EVT_BPULSE_END +Id,PBMod,PBDest,BPULSE_ST,BPULSE_END 1,Conditioning,ISrc,0,5 2,Conditioning,LEBT,0,50 3,Conditioning,MEBT,0,100