...
Here you have to instruct how the yaml expand in the st.cmd of your IOC. For rx
| Code Block | ||||
|---|---|---|---|---|
| ||||
# yaml-language-server: $schema=https://github.com/epics-containers/ibek/releases/download/3.1.2/ibek.support.schema.json module: caenelsmynewsupportname entity_models: - name: histarmycontroller description: |- ThisCreate willa create an instance of CAENELS HiStar PSmy controller parameters: Pname: type: strid description: Device Prefix|- R: The name of the type:controller str and its Asyn description: Device SuffixPort Name IPP: type: str description: |- IP address of the Power Supply default: 127.0.0.1 ## localhostDevice PV Prefix IP: TCPPORT: type: intstr description: |- TCPIP PORTaddress of the Power Supplyethernet2serial default: 10001127.0.0.1 ## localhost rangeTCPPORT: type: int description: |- CurrentPort of channelsthe rangeethernet2serial default: 30 4001 OMAXASYNPRIO: type: int description: |- Output MAXASYN PRIORITY, Default : 0 default: 0 IMAXAUTOCONNECT: type: int description: |- Asyn Currentauto MAXconnect default 0: 0Auto connection pre_init: - value1: | no Auto connection default: 0 NOPRECESSESOS: drvAsynIPPortConfigure("{{R}}_ASYN", "{{IP}}:{{TCPPORT}}", 0,0,0) type: int description: |- ASYN noProcessEos, Default : 0 epicsEnvSet "STREAM_PROTOCOL_PATH", "/epics/support/configure/protocol/" databases: https://epics.anl.gov/tech-talk/2020/msg01705.php default: 0 TPG_UNDERRANGE_ALARM_SEVERITY_A1: type: enum description: |- underrange severity A1 values: MINOR: MAJOR: NO_ALARM: default: MINOR TPG_UNDERRANGE_ALARM_SEVERITY_A2: type: enum description: |- underrange severity A2 values: MINOR: MAJOR: NO_ALARM: default: MINOR TPG_UNDERRANGE_ALARM_SEVERITY_B1: type: enum description: |- underrange severity values: MINOR: MAJOR: NO_ALARM: default: MINOR TPG_UNDERRANGE_ALARM_SEVERITY_B2: type: enum description: |- underrange severity values: MINOR: - fileMAJOR: caenels-hs.db argsNO_ALARM: default: MINOR P: Rpre_init: - PORTvalue: '{{R}}_ASYN'| RANGE: '{{range}}' ## unimag interface overlay drvAsynIPPortConfigure("{{name}}", "{{IP}}:{{TCPPORT}}", 0, 0, 0) - file: unimag-histar.dbepicsEnvSet "STREAM_PROTOCOL_PATH", "/epics/support/configure/protocol/" args: Pdatabases: - R: file: <mymodule1>.db - name: fastps descriptionargs: |- This will create an instance of CAENELS FASTPSP: parameters: P:PORT: '{{name}}' type: str TPG_UNDERRANGE_ALARM_SEVERITY_A1: description: Device Prefix TPG_UNDERRANGE_ALARM_SEVERITY_A2: R: type: strTPG_UNDERRANGE_ALARM_SEVERITY_B1: description: Device Suffix TPG_UNDERRANGE_ALARM_SEVERITY_B2: IP: - typename: strmychannel description: |- Template database for IP address of the Power Supplya channel default: 127.0.0.1 ## localhostparameters: TCPPORTcontroller: type: intobject description: |- TCPa PORTreference ofto the Power Supplycontroller defaultname: 10001 rangeI: type: intstr description: |- Currentchannel channels rangeprefix default: 30 rangeVchannel: type: intenum description: |- Voltage channelsChannel range defaultvalues: 20 OMAXA1: typeA2: int descriptionB1: |- Output MAX B2: default: 0 IMAXTPG_UNDERRANGE_ALARM_SEVERITY: type: intenum description: |- Current MAX underrange default: 0 severity pre_init: - value: |values: drvAsynIPPortConfigure("{{R}}_ASYN", "{{IP}}:{{TCPPORT}}", 0,0,0) MINOR: epicsEnvSet "STREAM_PROTOCOL_PATH", "/epics/support/configure/protocol/" databasesMAJOR: - file: fastps.dbNO_ALARM: argsdefault: MINOR databases: - P:file: $(MYMODULENAME)/mydb2.template Rargs: PORTP: '{{Rcontroller.P}}_ASYN' RANGEINAME: '{{rangeIname}}' RANGEVCHAN: '{{rangeVchannel}}' ## unimag interface overlay - filePORT: unimag-fastps.db'{{controller.name}}' args: P: R: TPG_UNDERRANGE_ALARM_SEVERITY: |
Deploy on the target EPIK8S
...