Skip to content

motionsetpoints: undefind macros on LARMOR #2978

@FreddieAkeroyd

Description

@FreddieAkeroyd

The new version of motionSetPoints.db does not default all macros leading to some fields not being assigned in the DB file on load

dbLoadRecords("C:/Instrument/Apps/EPICS/support/motionSetPoints/master/db/motionSetPoints.db","P=IN:LARMOR:LKUP:SAMPLE:,TARGET_PV1=IN:LARMOR:MOT:MTR0703,TARGET_RBV1=IN:LARMOR:MOT:MTR0703.RBV,TARGET_DONE=IN:LARMOR:MOT:MTR0703.DMOV,TARGET_PV2=IN:LARMOR:MOT:STACK:ZLO:MTR,TARGET_RBV2=IN:LARMOR:MOT:STACK:ZLO:MTR.RBV,TARGET_DONE2=IN:LARMOR:MOT:STACK:ZLO:MTR.DMOV,TOL=1,LOOKUP=LOOKUPFILE3")

[2018-02-15 15:13:42] macLib: macro AXIS1 is undefined (expanding string alias("$(AXIS1):MTR","$(P)COORD1:MTR")

[2018-02-15 15:13:42] )

[2018-02-15 15:13:42] Warning: 'C:/Instrument/Apps/EPICS/support/motionSetPoints/master/db/motionSetPoints.db' line 14 has undefined macros

[2018-02-15 15:13:42] Alias "IN:LARMOR:LKUP:SAMPLE:COORD1:MTR" refers to unknown record "$(AXIS1,undefined):MTR"

[2018-02-15 15:13:42] Error at or before ")" in file "C:/Instrument/Apps/EPICS/support/motionSetPoints/master/db/motionSetPoints.db" line 14

[2018-02-15 15:13:42] macLib: macro AXIS1 is undefined (expanding string alias("$(AXIS2=$(AXIS1)):MTR","$(P)COORD2:MTR")

[2018-02-15 15:13:42] )

[2018-02-15 15:13:42] Warning: 'C:/Instrument/Apps/EPICS/support/motionSetPoints/master/db/motionSetPoints.db' line 15 has undefined macros

[2018-02-15 15:13:42] Alias "IN:LARMOR:LKUP:SAMPLE:COORD2:MTR" refers to unknown record "$(AXIS1,undefined):MTR"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions