-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
0bugre-requestedIssue that has been requested again by a user.Issue that has been requested again by a user.training
Milestone
Description
If the block name is too long it does not get passed correctly to addToSet. It gets truncated in the run control settings file:
[2018-10-09 15:30:08] dbLoadRecords("C:/Instrument/Apps/EPICS/support/RunControl/master/db/runcontrol.db","P=TE:NDW1032:,PV=TE:NDW1032:CS:SB:rcptt_d5436e501bad4797b281a0ee")
[2018-10-09 15:30:08] Can't set "TE:NDW1032:CS:SB:rcptt_d5436e501bad4797b281a0ee:RC:_SEQ.STR2" to "TE:NDW1032:CS:SB:rcptt_d5436e501bad4797b281a0ee"
If it is much too long then you get:
[2018-10-09 16:50:54] Can't create record "TE:NDW1798:CS:SB:a23456789012345678901234567890123456789012345678901234567890123456789012345678901245678901234568789012345678901234567801234567865604:RC:HIGH" of type "ao"
- Find out what the limit is for this and place a restriction in the gui configuration.
- Write a test which checks that the run control works for long pv names.
- Check all current configurations for blocknames that are too long.
Work out what addToSet (EPICS\support\asubFunctions\master\asubFunctionsApp\src\setFunctions.c) does and add documetnations to function and to records (record(aSub, "$(PV):RC:_OUT:DO"), record(sseq, "$(PV):RC:_SEQ") that calls it (in EPICS\support\RunControl\master\db\runcontrol.db).
See #2773 for limit in archiver
Metadata
Metadata
Assignees
Labels
0bugre-requestedIssue that has been requested again by a user.Issue that has been requested again by a user.training