Skip to content

Commit a1d4a8e

Browse files
committed
Keithley428 migration
1 parent 9e82237 commit a1d4a8e

File tree

7 files changed

+43
-0
lines changed

7 files changed

+43
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
# Variables for the keithley428 role
3+
deploy_ioc_template_root_path: "{{ deploy_ioc_required_module_path }}"
4+
deploy_ioc_required_module: keithley428_0000000
5+
deploy_ioc_device_specific_env: {}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Keithley428 Role
2+
3+
This role deploys an IOC for the Keithley 428 current amplifier.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
3+
keithley428-01:
4+
type: keithley428
5+
6+
environment:
7+
PREFIX: "XF:31ID1-ES{KEITHLEY428:Dev-1}"
8+
ENGINEER: "C. Engineer"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
3+
type: enum("keithley428")
4+
5+
environment:
6+
PREFIX: str()
7+
ENGINEER: str()
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
3+
- name: Install base startup script
4+
ansible.builtin.template:
5+
src: "base.cmd.j2"
6+
dest: "{{ deploy_ioc_ioc_directory }}/iocBoot/base.cmd"
7+
owner: "{{ host_config.softioc_user }}"
8+
group: "{{ host_config.softioc_group }}"
9+
mode: "0664"
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
3+
dbLoadDatabase("{{ deploy_ioc_required_module_path }}/dbd/{{ deploy_ioc_executable }}.dbd")
4+
{{ deploy_ioc_executable }}_registerRecordDeviceDriver(pdbbase)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
keithley428_0000000:
3+
name: Keithley428
4+
url: https://github.com/NSLS-II/Keithley428
5+
# TODO: Replace with actual commit hash when repo is available
6+
version: "0000000"
7+
executable: "Keithley428"

0 commit comments

Comments
 (0)