You need to use the calcout record which can generate an event as spec'd
in the OEVT field. The event record and perhaps a few other record types
can generate events, which by the way are local to the IOC.
-ps
On 09/04/2009 10:46 AM Csaba Gajo wrote:
Hello,
I was reading the documentation about events, and was trying to make a
simple program to see how it works. In it I have a calc record, which
increments itself by 1 each second. When the values is 10, it raises a
HIHI signal.
I also have another calc record, whose SCAN field is Event, and it's
supposed to react when the value of the first calc reaches 10.
In the documentation, I was reading that when a user-defined event is
thrown, "all records will be processed whose SCAN field specifies
event and whose event number is the same as the generated event". So,
obviously HIHI is not a user-defined event. How should I throw an
event when the value of calc1 reaches 10?
Regards, Csaba
- References:
- Events Csaba Gajo
- Navigate by Date:
- Prev:
Events Csaba Gajo
- Next:
Re: Events nda
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Events Csaba Gajo
- Next:
Re: Events Ralph Lange
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|