Hi,
I see some strange behavior when I want to comment
a field in a record if there there are different macros in it
E.g.
record(ai, "$(user):PiraniGauge") {
field(DESC, "Readback form Pirani Gauge")
field(EGU, "Torr")
field(VAL, 4e-07)
#field(SIML, "$(test):SimulationMode")
}
When then I load the db,
I must defined also the macro $test even if I don’t use it (its commented),
Otherwise I will get this warning from the iocsh
…………
macLib: macro test is undefined (expanding string # field(SIML, "$(test):SimulationMode")
………..
i.e. I have to write
dbLoadRecords("piranig.db","user=me, test=mytest")
Is this normal ? why it does not skip the entire commented line ?
Thanks
Best
PhD Alfio Rizzo
Control System Integrator
Integrated Control Systems Division
European Spallation Source ERIC
Telephone: +46(0)721792342
Mail Address: P.O Box 176, SE 221 00 Lund, Sweden
Visiting address: Odarslövsvägen 113, Lund
https://europeanspallationsource.se/