Dear all,
I have to perform a conversion of a set of coordinates using an aSub record.
I have set the SCAN field of the record to passive and any change in a bi record
($(SYS):$(MOD):CONVERT_CMD) triggers the processing.
This is an extract of the database:
record(bi, "$(SYS):$(MOD):CONVERT_CMD") {
field(DESC, "Convert command.")
field(PINI, "NO")
field(UDF, "0")
field(FLNK, "$(SYS):$(MOD):COORD_CONVERTER")
field(VAL, "0")
field(ZNAM, "DONE")
field(ONAM, "CONVERT")
}
record(aSub, "$(SYS):$(MOD):COORD_CONVERTER") {
field(INAM, "convAsubInit")
field(SNAM, "convAsubProcess")
field(FTA, "DOUBLE")
field(INPA, "$(SYS):$(MOD):SRVY:RA_SET_POS PP")
field(DESC, "Coordinate converter.")
field(SCAN, "Passive")
field(INPB, "$(SYS):$(MOD):SRVY:DEC_SET_POS PP")
field(INPC, "$(SYS):$(MOD):SRVY:X_SET_POS PP")
field(INPD, "$(SYS):$(MOD):SRVY:Y_SET_POS PP")
field(INPE, "$(SYS):$(MOD):SRVY:Z_SET_POS PP")
field(INPF, "$(SYS):$(MOD):SRVY:START_TIME PP")
field(INPM, "$(SYS):$(MOD):CONVERT_CMD")
field(FTB, "DOUBLE")
field(FTC, "DOUBLE")
field(FTD, "DOUBLE")
field(FTE, "DOUBLE")
field(FTF, "DOUBLE")
field(FTM, "ENUM")
}
Is this the proper way to achieve this task?
How to reset the $(SYS):$(MOD):CONVERT_CMD value to 0 from the C code of the convAsubProcess function?
Does this change from 1 (CONVERT) to 0 (DONE) will trigger an additional call to convAsubProcess?
Thanks for your help.
Luca
________________________________
<< Le informazioni contenute in questo messaggio di posta elettronica e relativi allegati sono riservate e confidenziali e ne è vietata la diffusione in qualunque modo eseguita. Qualora Lei non fosse la persona a cui il presente messaggio è destinato, La invitiamo ad eliminarlo e a darcene gentile comunicazione. Quanto precede ai fini del rispetto delle Legge 675/96 e del Decreto Legislativo 30/06/2003 n.196, sulla tutela dei dati personali >>
<< This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify us immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your co-operation. Please contact our IT Helpdesk on +3902380481 or email [email protected] if you need assistance >>
- Replies:
- RE: Trigger aSub record from bi record reflecting status Mooney, Tim M.
- Re: Trigger aSub record from bi record reflecting status Luca Cavalli
- Navigate by Date:
- Prev:
Re: AndorCCD binning Hinxx
- Next:
RE: AndorCCD binning Mark Rivers
- 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:
Re: EPICS archiver appliance redundancy Phillip Sorensen
- Next:
RE: Trigger aSub record from bi record reflecting status Mooney, Tim M.
- 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
|