2021-11-09 11:26:44 |
Dirk Zimoch |
description |
In EPICS 3.14.12, it was possible to use hex numbers in hardware links of type VME_IO and others like "#C0 S0x8b". In EPICS 7 this does not work any longer because the string is parsed with %d instead of %i. As many of our existing IOCs use hex numbers here, this makes transition to EPICS 7 unnecessary hard. |
In EPICS 3.14.12, it was possible to use hex numbers in hardware links of type VME_IO and others like "#C0 S0x8b". (The parser used the function cvtDecimalOrHexToShort for this.) In EPICS 7 this does not work any longer because the string is parsed with %d instead of %i. As many of our existing IOCs use hex numbers here, this makes transition to EPICS 7 unnecessary hard.
Changing to %i will allow hex numbers, but will also allow octal numbers. That may a problem as C011 uses to mean 11 in 3.14, not 9.
In that case, parsing with a single sscanf is not sufficient. |
|