-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
71 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,65 +1,65 @@ | ||
# yaml-language-server: $schema=https://github.com/epics-containers/ibek/releases/download/1.5.3/ibek.support.schema.json | ||
# yaml-language-server: $schema=../schemas/ibek.support.schema.json | ||
|
||
module: gauges | ||
|
||
# Pretend support for vacuum space to test initialisation of a gauge group | ||
|
||
defs: | ||
- name: Mks937bGauge | ||
description: |- | ||
MKS 937b Gauge controller | ||
params: | ||
port: | ||
type: object | ||
description: |- | ||
Asyn port that connects to the device | ||
name: | ||
type: id | ||
description: |- | ||
name for the Device | ||
P: | ||
type: str | ||
description: |- | ||
PV prefix | ||
- name: Mks937bGauge | ||
description: |- | ||
MKS 937b Gauge controller | ||
params: | ||
port: | ||
type: object | ||
description: |- | ||
Asyn port that connects to the device | ||
name: | ||
type: id | ||
description: |- | ||
name for the Device | ||
P: | ||
type: str | ||
description: |- | ||
PV prefix | ||
- name: GaugeGroup | ||
description: |- | ||
Group of gauges | ||
params: | ||
name: | ||
type: id | ||
description: |- | ||
name for the | ||
gauge1: | ||
type: object | ||
description: |- | ||
First gauge | ||
gauge2: | ||
type: object | ||
description: |- | ||
Second gauge | ||
# default to the id of the gauge object we want as default | ||
default: |- | ||
{{gauge1.name}} | ||
gauge3: | ||
type: object | ||
description: |- | ||
Third gauge | ||
default: | | ||
{{gauge1.name}} | ||
gauge4: | ||
type: object | ||
description: |- | ||
Fourth gauge | ||
default: | | ||
{{gauge1.name}} | ||
- name: GaugeGroup | ||
description: |- | ||
Group of gauges | ||
params: | ||
name: | ||
type: id | ||
description: |- | ||
name for the | ||
gauge1: | ||
type: object | ||
description: |- | ||
First gauge | ||
gauge2: | ||
type: object | ||
description: |- | ||
Second gauge | ||
# default to the first gauge object | ||
default: |- | ||
{{gauge1}} | ||
gauge3: | ||
type: object | ||
description: |- | ||
Third gauge | ||
default: | | ||
{{gauge1}} | ||
gauge4: | ||
type: object | ||
description: |- | ||
Fourth gauge | ||
default: | | ||
{{gauge1}} | ||
pre_init: | ||
- value: |2 | ||
pre_init: | ||
- value: | | ||
# GAUGE GROUP GAUGE DEFAULTS TEST | ||
# gauge1 P is {{gauge1.P}} | ||
# gauge2 P is {{gauge2.P}} | ||
# gauge3 P is {{gauge3.P}} | ||
# gauge4 P is {{gauge4.P}} | ||
# gauge4 baud is {{gauge4.port.baud}} | ||
# GAUGE GROUP GAUGE DEFAULTS TEST | ||
# gauge1 P is {{gauge1.P}} | ||
# gauge2 P is {{gauge2.P}} | ||
# gauge3 P is {{gauge3.P}} | ||
# gauge4 P is {{gauge4.P}} | ||
# gauge4 baud is {{gauge4.port.baud}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters