Experimental Physics and
| |||||||||||||||
|
Hello, I have some questions regarding the luascript record. I am using luascript record which is being loaded via a dbLoadRecords call from the iocsh. I wish to modify the CODE field during operation. I have configured RELO to Every Processing I am having a separate luascript file which is invoked from the CODE field. 1) When the record.PROC is initiated from the phoebus the gui freezes till the complete script gets executed. Is the CA set to PROC field a blocking call?? 2) After the completion of execution all the missed data is seen in phoebus databrowser. I guess the data is captured but the GUI is not refreshed. 3) will handling of the luascript record in a separate thread help (ie in IOC or phoebus)?? lets say using something like luaspawn. 4) can we use pcall for handling exceptions/errors. As from my experience I see that the record processing freezes in case of any exception(say a nil value access)/errors even write to FRLD is not helping. That can we recover from exceptions in luascript record without restarting the IOC? Any other way to solve the issue will also be welcomed. Regards and thank you in advance Kuldeep Joshi
| ||||||||||||||
ANJ, 19 Feb 2021 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |