As part of experimenting with EPICS Qt with EPICS Base 126.96.36.199, I came to the need to write a function that writes values to PVs. Here is my attempt:
status = ca_pend_io(1); // Already checking if status != ECA_NORMAL
ca_put(type, id, &value); // type can be DBF_STRING, DBF_DOUBLE, etc.
This is already working fine but I have some questions:
I used to have
ca_task_exit but my Qt application
always crashes on executing the function, the value is written but the app crashes. I thought since CA is already initialized and cleaned-up within EPICS Qt I removed both functions and the app works fine. Is this a correct behavior?
When do I really need the synchronous group version of
Tel: (+962-5) 3511348 , ext. 265
Fax: (+962-5) 3511423