Changing the st.cmd file got only two records to change:
epics> dbl
bruno.martinsHost:aiExample
bruno.martinsHost:aiExample1
bruno.martinsHost:aiExample2
bruno.martinsHost:aiExample3
bruno:aSubExample
bruno.martinsHost:calc1
bruno.martinsHost:calc2
bruno.martinsHost:calc3
bruno.martinsHost:calcExample
bruno.martinsHost:calcExample1
bruno.martinsHost:calcExample2
bruno.martinsHost:calcExample3
bruno.martinsHost:compressExample
bruno:subExample
bruno.martinsHost:xxxExample
I suspected the files user.substitutions and userHost.substitutions were the responsibles, changed "bruno.martinsHost" and "bruno.martins" to "bruno", ran st.cmd again, same results.
Only when I recompiled all changes took effect:
epics> dbl
bruno:ai1
bruno:ai2
bruno:ai3
bruno:aiExample
bruno:aiExample1
bruno:aiExample2
bruno:aiExample3
bruno:aSubExample
bruno:calc1
bruno:calc2
bruno:calc3
bruno:calcExample
bruno:calcExample1
bruno:calcExample2
bruno:calcExample3
bruno:compressExample
bruno:subExample
bruno:xxxExample
Is this recompilation really necessary? The way I see, the st.cmd file is a script that loads these *.substitutions files and parse them dinamically, but seems not quite like that.
On Tue, Jul 31, 2012 at 11:19 AM, Benjamin Franksen
<[email protected]> wrote:
On Tuesday, July 31, 2012, Bruno Seiva Martins wrote:
> I don't know if this is the place for a begginer question, but here I go.
It is, and you are welcome.
> I'm starting out using EPICS, following basic tutorials. I was able to
> compile epics base without a problem. Then I created the example IOC
> using makeBaseApp.pl.
>
> Everything went fine, and I got the IOC to run:
>
> epics> dbl
> bruno.martinsHost:aiExample
> bruno.martinsHost:aiExample1
> bruno.martinsHost:aiExample2
> bruno.martinsHost:aiExample3
> bruno.martinsHost:aSubExample
> bruno.martinsHost:calc1
> bruno.martinsHost:calc2
> bruno.martinsHost:calc3
> bruno.martinsHost:calcExample
> bruno.martinsHost:calcExample1
> bruno.martinsHost:calcExample2
> bruno.martinsHost:calcExample3
> bruno.martinsHost:compressExample
> bruno.martinsHost:subExample
> bruno.martinsHost:xxxExample
>
> But then, when I tried to get more details about one of these PV's, I
> got:
>
> epics> dbpr bruno.martinsHost:aiExample3
> Record 'bruno.martinsHost:aiExample3' not found
>
> I got this message for every PV I tried, and I don't really know what
> went wrong, since the PV's are being listed...
As otehr have noted, dot ('.') is not allowed in record names.
However, your db file should have been rejected when loading, and not when
trying to find the record. So this is actually a bug in EPICS base.
Cheers
Ben
--
Bruno Seiva MartinsDepartamento de Computação
Universidade Federal de São Carlos - UFSCar