If you had used double-quotes in your first .db file this should have worked:
field(VAL, "blabberblabberblub")
Should have, but doesn't.
With test.db being
record(lso, "lso:short") {
field(VAL, "this is a short string")
}
record(lso, "lso:long") {
field(SIZV, 100)
field(VAL, "this is a very long string that would NEVER fit into 40 characters")
}
record(stringout, "so") {
field(VAL, "this is a short string")
}
I am getting
ralph@debian-12:~/work/EPICS$ ./3.15.9/base/bin/linux-x86_64/softIoc -d test.db
Can't set "lso:short.VAL" to "this is a short string"
Error at or before ")" in path "." file "test.db" line 2
Can't set "lso:long.VAL" to "this is a very long string that would NEVER fit into 40 characters"
ErrordbLoadRecords: failed to load test.db
ralph@debian-12:~/work/EPICS$ ./7.0/base/bin/linux-x86_64/softIoc -d test.db
Can't set "lso:short.VAL" to "this is a short string" : Error (512,11)
ERROR: at or before ')' in path "." file "test.db" line 2
2 | field(VAL, "this is a short string")
Can't set "lso:long.VAL" to "this is a very long string that would NEVER fit into 40 characters" : Error (512,11)
ERROR:
7 | field(VAL, "this is a very long string that would NEVER fit into 40 characters")
ERROR failed to load 'test.db'
ERROR: Failed to load: test.db
(Note the double "failed to load" message which is also a - minor - bug.)
I have created issue tickets
#548 and
#549.
Cheers,
~Ralph