I am trying to give value = 1 to a PV (bo) using a boolean button on CSS. When I push the button the action should be write 1 to a PV, but in the Windows IOC it appears the message: "Illegal Choice PV : 'pv name' 1". Why?.
I am using AsynPortDriver to use a variable that matchs with the pv. So, I want to use the value of the variable to block / unblock writing parameters in a LLRF register. If user push the boolean, then I send a 1 to a PV and then I write a C++ loop that if the variable is 1 then block parameters.
Am I explaining correctly?.
Thank you for your