[SR-Users] update max_while_loops in config

2021-04-12 Thread Juha Heinanen
It is possible to update value of max_while_loops dynamically in config file? For example, there could be a need to increase the max in some while loop, but after the loop is done, decrease it again for other loops. There exists an rpc command to do that, but I haven't found how to do it in

Re: [SR-Users] update max_while_loops in config

2021-04-12 Thread Daniel-Constantin Mierla
On 12.04.21 14:52, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > >> the jsonrpcs module exports a function that executes rpc commands from >> command line, jsonrpcs_exec() iirc. > Thanks for the tip. It sounds a bit heavy weight though. It is like the rpc command, but faster,

Re: [SR-Users] update max_while_loops in config

2021-04-12 Thread Daniel-Constantin Mierla
On 12.04.21 14:42, Daniel-Constantin Mierla wrote: > Hello, > > On 12.04.21 12:40, Juha Heinanen wrote: >> It is possible to update value of max_while_loops dynamically in config >> file? >> >> For example, there could be a need to increase the max in some while >> loop, but after the loop is

Re: [SR-Users] update max_while_loops in config

2021-04-12 Thread Daniel-Constantin Mierla
Hello, On 12.04.21 12:40, Juha Heinanen wrote: > It is possible to update value of max_while_loops dynamically in config > file? > > For example, there could be a need to increase the max in some while > loop, but after the loop is done, decrease it again for other loops. > > There exists an rpc

Re: [SR-Users] KEMI - Set message body to Bytes / Prevent parsing PV?

2021-04-12 Thread Daniel-Constantin Mierla
Hello, On 11.04.21 05:23, Nick wrote: > Hi all, > > I'm trying in KEMI & Python to set a Pseudo Variable to the value of > another PV (simple enough) but the value of the PV is not a string or > an integer, > > For example the SMSops >