Skip to content

Commit

Permalink
lock ADAravis to AVT_Mako_G234B until database:file: is Jinafied
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesknap committed Sep 28, 2023
1 parent a9a5276 commit ee3653f
Showing 1 changed file with 101 additions and 102 deletions.
203 changes: 101 additions & 102 deletions ADAravis/ADAravis.ibek.support.yaml
Original file line number Diff line number Diff line change
@@ -1,118 +1,117 @@
# yaml-language-server: $schema=https://github.com/epics-containers/ibek/releases/download/1.2.0/ibek.support.schema.json
# yaml-language-server: $schema=https://github.com/epics-containers/ibek/releases/download/1.2.0/ibek.support.schema.json

module: ADAravis

defs:

- name: aravisCamera
description: |-
Creates a aravisCamera camera areaDetector driver
args:

- type: str
name: P
- name: aravisCamera
description: |-
PV Prefix
Creates a aravisCamera camera areaDetector driver
args:
- type: str
name: P
description: |-
PV Prefix
- type: str
name: R
description: |-
PV Suffix
- type: str
name: R
description: |-
PV Suffix
- type: id
name: PORT
description: |-
Port name for the camera
- type: id
name: PORT
description: |-
Port name for the camera
- type: str
name: ID
description: |-
Cam ip address, hostname, MAC address, or ID <manufacturer>-<serial>, (e.g. Prosilica-02-2166A-06844)
- type: str
name: ID
description: |-
Cam ip address, hostname, MAC address, or ID <manufacturer>-<serial>, (e.g. Prosilica-02-2166A-06844)
- type: enum
name: CLASS
description: |-
Camera class for custom commands
values:
Basler_piA640_210gm:
AVT_Manta_G319B:
AVT_Manta_G2460C:
AVT_Mako_G125B:
AVT_Mako_G125C:
AVT_Prosilica_GC1280M:
AVT_Mako_1_52:
AVT_Manta_G507B:
AVT_Manta_G145B:
AVT_Mako_G507B:
AVT_Mako_G507C:
AVT_Prosilica_GT5120:
AVT_Mako_G319C:
AVT_Manta_G419C:
AVT_Prosilica_GC1020C:
AVT_Prosilica_GC655C:
Prosilica_GC:
AVT_Manta_G125B:
AVT_Manta_G125C:
AVT_Manta_G040B:
AVT_Manta_G895B:
AVT_Mako_G158B:
AVT_Mako_G158C:
AVT_Manta_G235B:
AVT_Manta_G235C:
AVT_Manta_1_44:
AVT_Mako_G234C:
AVT_Mako_G234B:
AVT_Manta_G609B:
- type: enum
name: CLASS
description: |-
Camera class for custom commands
values:
Basler_piA640_210gm:
AVT_Manta_G319B:
AVT_Manta_G2460C:
AVT_Mako_G125B:
AVT_Mako_G125C:
AVT_Prosilica_GC1280M:
AVT_Mako_1_52:
AVT_Manta_G507B:
AVT_Manta_G145B:
AVT_Mako_G507B:
AVT_Mako_G507C:
AVT_Prosilica_GT5120:
AVT_Mako_G319C:
AVT_Manta_G419C:
AVT_Prosilica_GC1020C:
AVT_Prosilica_GC655C:
Prosilica_GC:
AVT_Manta_G125B:
AVT_Manta_G125C:
AVT_Manta_G040B:
AVT_Manta_G895B:
AVT_Mako_G158B:
AVT_Mako_G158C:
AVT_Manta_G235B:
AVT_Manta_G235C:
AVT_Manta_1_44:
AVT_Mako_G234C:
AVT_Mako_G234B:
AVT_Manta_G609B:

- type: enum
name: PV_ALIAS
description: |-
Use alias template to keep some key PV names the same
values:
'1':
'0':
- type: enum
name: PV_ALIAS
description: |-
Use alias template to keep some key PV names the same
values:
"1":
"0":

- type: int
name: BUFFERS
description: |-
Maximum number of NDArray buffers to be created for plugin callbacks
default: 50
- type: int
name: BUFFERS
description: |-
Maximum number of NDArray buffers to be created for plugin callbacks
default: 50

- type: int
name: MEMORY
description: |-
Max memory to allocate, should be maxw*maxh*nbuffer for driver and all attached plugins
default: -1
- type: int
name: MEMORY
description: |-
Max memory to allocate, should be maxw*maxh*nbuffer for driver and all attached plugins
default: -1

- type: str
name: TIMEOUT
description: |-
Timeout, default 1
default: '1'
- type: str
name: TIMEOUT
description: |-
Timeout, default 1
default: "1"

- type: str
name: ADDR
description: |-
Asyn Port address, default 0
default: '0'
- type: str
name: ADDR
description: |-
Asyn Port address, default 0
default: "0"

databases:
- file: $(ADARAVIS)/db/aravisCamera.template
args:
P:
R:
PORT:
TIMEOUT:
ADDR:
- file: $(ADGENICAM)/db/AVT_Mako_1_52.template
args:
P:
R:
PORT:
TIMEOUT:
ADDR:
databases:
- file: $(ADARAVIS)/db/aravisCamera.template
args:
P:
R:
PORT:
TIMEOUT:
ADDR:
# TODO replace AVT_Mako_G234B and make is so ibek will substitue CLASS in
- file: $(ADGENICAM)/db/AVT_Mako_G234B.template
args:
P:
R:
PORT:
TIMEOUT:
ADDR:

pre_init:
- value: |
aravisConfig(const char *portName, const char *cameraName, size_t maxMemory, int priority, int stackSize)
aravisConfig("{{PORT}}", "{{ID}}", {{MEMORY}}, 0, 1)
pre_init:
- value: |
aravisConfig(const char *portName, const char *cameraName, size_t maxMemory, int priority, int stackSize)
aravisConfig("{{PORT}}", "{{ID}}", {{MEMORY}}, 0, 1)

0 comments on commit ee3653f

Please sign in to comment.