Hello all.
I want to create a set of configuration files (probably json, yaml or even txt) that i can make my IOC read and put the values into PVs. I could swear i read something about reading configuration files in EPICS documentation before but i cant for the life of
me find it again.
Desired functionality would be something like:
file config0.yaml has: {"my_var" : 0}
file config1.yaml has: {"my_var" : 1}
And then i would have a record, say MYRECORD:Output that when i do:
caput MYRECORD:Output "config0.yaml"
the record would output 0 to its output link. And
caput MYRECORD:Output "config1.yaml"
the record would output 1 to its output link.
Is there any module or record that offers similar functionality?
Thanks in advance,
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.
|