-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
30a845f
commit f513e96
Showing
5 changed files
with
67 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
record(ai, "BL01T-EA-IOC-02:TEST") { | ||
field(DESC, "Test record") | ||
field(DTYP, "Soft Channel") | ||
field(SCAN, "Passive") | ||
field(VAL, "1") | ||
} |
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,27 @@ | ||
############################################################################# | ||
# DB substitution file generated by http://github.com/epics-containers/ibek # | ||
############################################################################# | ||
|
||
file "$(ADSIMDETECTOR)/db/simDetector.template" { | ||
pattern | ||
{ "P", "R", "PORT", "TIMEOUT", "ADDR" } | ||
{ "BL01T-EA-TST-02", ":DET:", "DET.DET", "1", "0" } | ||
} | ||
|
||
file "$(ADCORE)/db/NDPva.template" { | ||
pattern | ||
{ "NDARRAY_PORT", "ADDR", "SCANRATE", "NDARRAY_ADDR", "ENABLED", "P", "R", "TIMEOUT", "PORT" } | ||
{ "DET.DET", "0", "I/O Intr", "0", "0", "BL01T-EA-TST-02", ":PVA:", "1", "DET.PVA" } | ||
} | ||
|
||
file "simDetector.pvi.template" { | ||
pattern | ||
{ "prefix" } | ||
{ "BL01T-EA-TST-02:DET:" } | ||
} | ||
|
||
file "NDPluginPva.pvi.template" { | ||
pattern | ||
{ "prefix" } | ||
{ "BL01T-EA-TST-02:PVA:" } | ||
} |
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,18 @@ | ||
# yaml-language-server: $schema=https://github.com/epics-containers/ioc-adsimdetector/releases/download/2024.1.1/ibek.ioc.schema.json | ||
|
||
ioc_name: bl01t-ea-ioc-02 | ||
description: Example simulated camera for BL01T | ||
|
||
entities: | ||
- type: ADSimDetector.simDetector | ||
PORT: DET.DET | ||
P: BL01T-EA-TST-02 | ||
R: ":DET:" | ||
- type: ADCore.NDPvaPlugin | ||
PORT: DET.PVA | ||
PVNAME: BL01T-EA-TST-02:PVA:OUTPUT | ||
P: BL01T-EA-TST-02 | ||
R: ":PVA:" | ||
NDARRAY_PORT: DET.DET | ||
- type: epics.StartupCommand | ||
command: dbLoadRecords(config/extra.db) |
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 @@ | ||
# EPICS IOC Startup Script generated by https://github.com/epics-containers/ibek | ||
|
||
cd "/epics/ioc" | ||
dbLoadDatabase dbd/ioc.dbd | ||
ioc_registerRecordDeviceDriver pdbbase | ||
|
||
# simDetectorConfig(portName, maxSizeX, maxSizeY, dataType, maxBuffers, maxMemory) | ||
simDetectorConfig("DET.DET", 1280, 1024, 1, 50, 0) | ||
# NDPvaConfigure(portName, queueSize, blockingCallbacks, NDArrayPort, NDArrayAddr, pvName, maxBuffers, maxMemory, priority, stackSize) | ||
NDPvaConfigure("DET.PVA", 2, 0, "DET.DET", 0, BL01T-EA-TST-02:PVA:OUTPUT, 0, 0, 0, 0) | ||
startPVAServer | ||
|
||
dbLoadRecords $(RUNTIME_DIR)/ioc.db | ||
iocInit | ||
|
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 @@ | ||
image: ghcr.io/epics-containers/ioc-adsimdetector-linux-runtime:2024.1.1 |