-
Notifications
You must be signed in to change notification settings - Fork 4
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
40 changed files
with
1,169 additions
and
1,195 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# yaml-language-server: $schema=../schemas/motorSim.ibek.ioc.schema.json | ||
|
||
ioc_name: test-bad-defaults-ioc | ||
description: an example for testing missing non-default values | ||
|
||
entities: | ||
# deliberately do not specify port to test failure case | ||
- type: asyn.AsynIP | ||
name: controllerOnePort |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# yaml-language-server: $schema=../schemas/motorSim.ibek.ioc.schema.json | ||
|
||
ioc_name: test-multiple-ioc | ||
description: demo bad object reference | ||
|
||
entities: | ||
- type: asyn.AsynIP | ||
name: controllerOnePort | ||
port: 192.168.0.55:2002 | ||
|
||
- type: motorSim.simMotorController | ||
port: controllerOnePort_BAD_REF | ||
controllerName: controllerOne | ||
numAxes: 4 | ||
P: "IBEK-MO-TST-01:" |
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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# yaml-language-server: $schema=../schemas/motorSim.ibek.ioc.schema.json | ||
|
||
ioc_name: "{{ ioc_yaml_file_name }}" | ||
description: Example simulated motion IOC for Testing ibek | ||
|
||
entities: | ||
- type: asyn.AsynIP | ||
name: controllerOnePort | ||
port: 192.168.0.55:2002 | ||
|
||
- type: motorSim.simMotorController | ||
port: controllerOnePort | ||
controllerName: controllerOne | ||
numAxes: 4 | ||
P: "IBEK-MO-TST-01:" | ||
|
||
- type: motorSim.simMotorAxis | ||
controller: controllerOne | ||
# Use ADDR in other fields to verify jinja templating between Args | ||
M: M{{ADDR}} | ||
ADDR: 0 | ||
# Also use ioc_name to verify jinja templating of ioc_name | ||
DESC: "Motor {{ADDR}} for ioc {{ioc_name}}" | ||
home: 500 | ||
|
||
- type: motorSim.simMotorAxis | ||
controller: controllerOne | ||
M: M{{ADDR}} | ||
ADDR: 1 | ||
# verify escaping for jinja templating | ||
DESC: "Motor {{ADDR}} {% raw %} {{enclosed in escaped curly braces}} {% endraw %}" | ||
home: 500 | ||
|
||
- type: motorSim.simMotorAxis | ||
controller: controllerOne | ||
M: M{{ADDR}} | ||
ADDR: 2 | ||
# testing default DESC | ||
home: 1500 | ||
|
||
- type: motorSim.simMotorAxis | ||
controller: controllerOne | ||
M: M{{ADDR}} | ||
ADDR: 3 | ||
DESC: "Motor {{ADDR}}" | ||
home: 2500 | ||
|
||
- type: motorSim.simMotorAxis | ||
controller: controllerOne | ||
M: CS_M{{ADDR}} | ||
ADDR: 1 | ||
DESC: "CS Motor {{ADDR}}" | ||
home: 100 | ||
CS_NUM: 3 | ||
is_cs: true | ||
|
||
- type: motorSim.simMotorAxis | ||
controller: controllerOne | ||
M: CS_M{{ADDR}} | ||
ADDR: 2 | ||
DESC: "CS Motor {{ADDR}}" | ||
home: 100 | ||
CS_NUM: 3 | ||
is_cs: true |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.