Do you look for the .SYNC field ?
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of "Marco A. Barra Montevechi Filho via Tech-talk" <tech-talk at aps.anl.gov>
Reply-To: "Marco A. Barra Montevechi Filho" <marco.filho at lnls.br>
Date: Friday, 28 October 2022 at 21:40
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Subject: Motor record: motion relative to .RBV
Hello all!
Im reading through the EPICS motor record to search for a field similar to .RLV. If i understand correctly, the .RLV will do something similar to summing the caputted value to .VAL instead of directly putting it into .VAL.
Is there a field that sums itself with .RBV instead and then puts this value into .VAL?
Example of expected behavior:
caget MOTOR.RBV
MOTOR.RBV 0.5
caget MOTOR.VAL
MOTOR.VAL 2 #Lets say that for some reason .VAL and .RBV are not in sync.
caput MOTOR.MISTERIOUS_FIELD 0.5
#wait for some time...
caget MOTOR.RBV
MOTOR.RBV 1
caget MOTOR.VAL
MOTOR.VAL 1
Sorry if the question is trivial but i couldnt find anything in the documentation. Thanks!
Marco
Aviso Legal: Esta mensagem e seus anexos podem conter informações confidenciais e/ou de uso restrito. Observe atentamente seu conteúdo e considere eventual consulta ao remetente antes
de copiá-la, divulgá-la ou distribuí-la. Se você recebeu esta mensagem por engano, por favor avise o remetente e apague-a imediatamente.
Disclaimer: This email and its attachments may contain confidential and/or privileged information. Observe its content carefully and consider possible querying to the sender before
copying, disclosing or distributing it. If you have received this email by mistake, please notify the sender and delete it immediately.