Experimental Physics and
| |||||||||||||||
|
Hi everyone,
I have a DB with protocol in this manner: record (ao, "RF:Setth_a0") { field (DESC, "Setting threshold accelerator") field (DTYP, "stream") field (OUT, "@MDO.proto setth_a0 $(PORT)") field (DRVL, "0") field (DRVH, "11230") field (LOPR, "0") field (HOPR, "11230") field (PREC, "0") } setth_a0 { out "SET VOLT %.0f"; } With CS Studio I have a spinner associated to this PV, but when the user want send a value like 100 I want to send 10 to the device. How can I do this calculation before sending the value? I tried SET VOLT (%.0f/10) but it doesn't work. Thank you.
| ||||||||||||||
ANJ, 20 Jan 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |