...
| Code Block |
|---|
| language | yaml |
|---|
| title | mynewsupportname.install.yml |
|---|
|
# yaml-language-server: $schema=../../ibek-support/_scripts/support_install_variables.json
module: mynewsupportname ## your git project name
version: devel ## your reversion/tag
# this module uses modbus so requires none of its own libs/dbds
organization: https://github.com/infn-epics/ ## your git organization name
dbds: ## here the dbds used by your ioc/support
- asyn.dbd
- stream.dbd
- calc.dbd
- asSupport.dbd
- sscan.dbd
- TEKMSO58LP<mynewsupportname>.dbd
libs: #here
- asyn
- stream
- calc
- autosave
- sscan
- TEKMSO58LPiocSupport <mynewsupportname>Support ## if you have support libs
protocol_files:
- db/devTektronix_MSO58LP.proto<mynewsupportname>.proto ## if you have protocols file
|
mynewsupportname.ibek.support.yaml
Here you have to instruct how the yaml expand in the st.cmd of your IOC.
| Code Block |
|---|
| language | yaml |
|---|
| title | mynewsupportname.install.yml |
|---|
|
module: caenels
entity_models:
- name: histar
description: |-
This will create an instance of CAENELS HiStar PS
parameters:
P:
type: str
description: Device Prefix
R:
type: str
description: Device Suffix
IP:
type: str
description: |-
IP address of the Power Supply
default: 127.0.0.1 ## localhost
TCPPORT:
type: int
description: |-
TCP PORT of the Power Supply
default: 10001
range:
type: int
description: |-
Current channels range
default: 30
OMAX:
type: int
description: |-
Output MAX
default: 0
IMAX:
type: int
description: |-
Current MAX
default: 0
pre_init:
- value: |
drvAsynIPPortConfigure("{{R}}_ASYN", "{{IP}}:{{TCPPORT}}", 0,0,0)
epicsEnvSet "STREAM_PROTOCOL_PATH", "/epics/support/configure/protocol/"
databases:
- file: caenels-hs.db
args:
P:
R:
PORT: '{{R}}_ASYN'
RANGE: '{{range}}'
## unimag interface overlay
- file: unimag-histar.db
args:
P:
R:
- name: fastps
description: |-
This will create an instance of CAENELS FASTPS
parameters:
P:
type: str
description: Device Prefix
R:
type: str
description: Device Suffix
IP:
type: str
description: |-
IP address of the Power Supply
default: 127.0.0.1 ## localhost
TCPPORT:
type: int
description: |-
TCP PORT of the Power Supply
default: 10001
rangeI:
type: int
description: |-
Current channels range
default: 30
rangeV:
type: int
description: |-
Voltage channels range
default: 20
OMAX:
type: int
description: |-
Output MAX
default: 0
IMAX:
type: int
description: |-
Current MAX
default: 0
pre_init:
- value: |
drvAsynIPPortConfigure("{{R}}_ASYN", "{{IP}}:{{TCPPORT}}", 0,0,0)
epicsEnvSet "STREAM_PROTOCOL_PATH", "/epics/support/configure/protocol/"
databases:
- file: fastps.db
args:
P:
R:
PORT: '{{R}}_ASYN'
RANGEI: '{{rangeI}}'
RANGEV: '{{rangeV}}'
## unimag interface overlay
- file: unimag-fastps.db
args:
P:
R:
|
Deploy on the target EPIK8S
...