Experimental Physics and
| |||||||||||||||||
|
Hi Dehong, An alternative method to the forward links is to use the "soft" event scan. For that, Stephanie's example would need the following modification: the VAL field of the event records define the soft event number that is dispatched. They should be set to the same number. The ai record could then look like this: record(ai, "Test:RecordToProcessOnEvent1or2") { field(SCAN, "Event") field(EVNT, "1") #EVNT is the soft event number ...other ai fields here... } This way you do not have to FLNK to each record, and there are also other possibilities to dispatch the events, like from a calcout record (using OEVT and OOPT). Usually this is much more flexible method for the applications. (One point to note: if you need deterministic (real-time) behaviour, the PRIO field of the records should be set to HIGH.) best regards, Timo Do you mean can one record be processed on different events? If that is what you mean, then you could FLNK to the record from both event records. For instance, if I have 2 EVR event records (for EVR card 0), I could FLNK to the same record from both of them like this: -- Timo Korhonen PSI (Paul Scherrer Institut, http://www.psi.ch) CH-5232 Villigen PSI tel + 41- 56 3103262 fax + 41 - 56 310 3383 e-mail: [email protected]
| ||||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |