My really simple solution was to insert a single fanout record with
PINI=1 that forced all of the necessary records to process in the
correct order. That fanout record served no other purpose, which kept
the system logically clean. Ultimately, there was a whole tree of fanout
records, but they were all controlled by the one at the root of the
tree.
Cheers,
Russell O. Redman
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Szalata, Zenon M.
Sent: Tuesday, September 30, 2008 3:09 PM
To: EPICS Techtalk
Subject: Record Initialization
Is it possible to control the order in which epics records
are initialized when the IOC starts up?
I am working on an IOC for a device and I would like to reset
this device. I have an output record which writes a number
to the device at init time (PINI=YES), which resets it. In
order that my scheme works, this record needs to be
initialized before any other record. I am using streamdevice
with asyn. I am tracing all IO and I see that the
initialization order is arbitrary.
Any help would be appreciated,
Zen