Skip to content

Commit

Permalink
add stream-protocol to stream devices
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Dec 18, 2024
1 parent c51c413 commit 5dcd084
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions digitelMpc/digitelMpc.ibek.support.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,10 @@ entity_models:
Template argument
default: $(device)

pre_init:
- value: |
epicsEnvSet "STREAM_PROTOCOL_PATH", "$(DIGITELMPC)/digitelMpcApp/protocol/"
databases:
- file: $(DIGITELMPC)/db/digitelMpcIonp.template
args: { device: null, port: "{{MPC.port}}", unit: "{{MPC.unit}}", pump: null, size: null, sp1on: null, sp1off: null, sp2on: null, sp2off: null, alh: null, text: null, proto: null, disptext: null }
Expand Down Expand Up @@ -409,6 +413,12 @@ entity_models:
duration- On duration (s) - new addition May 2010 for dual TSP systems on MPCe - defaults to 10
default: 20

pre_init:

- value: |
epicsEnvSet "STREAM_PROTOCOL_PATH", "$(STREAM_PROTOCOL_PATH):$(DIGITELMPC)/digitelMpcApp/protocol/"
when: Once
databases:
- file: $(DIGITELMPC)/db/digitelMpcTsp.template
args: { device: null, port: null, unit: null, ctlsrc: null, protocol: null, totmax: null, tcmax: null }
4 changes: 4 additions & 0 deletions mks937a/mks937a.ibek.support.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,10 @@ entity_models:
device: "{{eguInputPV}}"
p_egu_pv: "{{input}}"

pre_init:
- value: |
epicsEnvSet "STREAM_PROTOCOL_PATH", "$(MKS937A)/mks937aApp/protocol/"
- name: mks937aGaugeGroup
description: |-
Template database for a group of up to 8 MKS937A
Expand Down
4 changes: 4 additions & 0 deletions mks937b/mks937b.ibek.support.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@ entity_models:
description: |-
Controller address (001 .. 253)
pre_init:
- value: |
epicsEnvSet "STREAM_PROTOCOL_PATH", "$(MKS937B)/mks937bApp/protocol/"
databases:
- file: $(MKS937B)/db/mks937b.template
args:
Expand Down

0 comments on commit 5dcd084

Please sign in to comment.