Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array callbacks have no effect when called during iocInit #191

Open
ericonr opened this issue Aug 29, 2023 · 0 comments
Open

Array callbacks have no effect when called during iocInit #191

ericonr opened this issue Aug 29, 2023 · 0 comments

Comments

@ericonr
Copy link
Contributor

ericonr commented Aug 29, 2023

Hi!

I have an IOC with array records that are written to hardware, and read back, using asyn. The setpoints are in autosave and have PINI=YES. Their values are written to hardware correctly right after iocInit (I added a debug print right after the write, in writeInt32Array/writeFloat64Array, to be sure), but the readback PVs, which are updated via doCallbacksInt32Array/doCallbacksFloat64Array, aren't updated with the value from the setpoint (and in fact are UDF/INVALID).

The readback records use SCAN=I/O Intr, and they are updated when the setpoint PV is written to during operation, or when I write 1 into setpoint.PROC. The issue seems to be exclusively with the processing during IOC initialization.

I might have observed a similar issue with asynOctet as well, but I haven't prepared a reproducer for it yet, so I don't think it's relevant here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant