-
Notifications
You must be signed in to change notification settings - Fork 3
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
fb_epid: I/O Intr not valid (no DSET) #10
Comments
This is the expected result of setting the SCAN field of a sseq record to "I/O Intr". I/O Intr scanning requires device support that has implemented code described here: https://epics.anl.gov/base/R3-14/12-docs/AppDevGuide/node18.html#12357. The sseq record has no device support that I know of.
Tim Mooney ***@***.***) (630)252-5417
Beamline Controls Group (www.aps.anl.gov)
Advanced Photon Source, Argonne National Lab
…________________________________
From: Pete R Jemian ***@***.***>
Sent: Thursday, May 13, 2021 3:58 PM
To: epics-modules/optics ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [epics-modules/optics] fb_epid: I/O Intr not valid (no DSET) (#10)
from prjemian/epics-docker#43<prjemian/epics-docker#43>
after iocInit: PV: xxx:epid1:outpv scanAdd: I/O Intr not valid (no DSET)
The code in the fb_epid.db<https://github.com/epics-modules/optics/blob/master/opticsApp/Db/fb_epid.db> database has this:
grecord(sseq, "$(P):outpv") {
field(DESC, "follow OUT PV name")
field(SCAN, "I/O Intr")
field(DOL1, "$(P):out.OUTN")
field(DLY1, "0")
field(LNK1, "$(P):resume.INBN")
}
The SCAN field is triggering the message above.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#10>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABT6PF7BMRQYR5BUNKIMETTTNQ4NTANCNFSM443HTLTA>.
|
Note that the swait record in that database also have SCAN=I/O Intr. Is that also an error? How did this database ever work? Should these lines all be deleted so that it defaults to SCAN=PASSIVE? |
From the comments in the code, it appears that the intended function would be to set
and
|
I could try to test this in my simulation IOC by modifying the database locally. |
Looks as if this |
Could be tested by constructing a temperature controller simulation. Here's an example of that using an swait record (as setup for bluesky): calcs.calc8.reset() # remove any prior configuration
self.description.put("temperature")
self.report_dmov_changes.put(report_dmov_changes)
self.previous_value_pv.put(self.readback.pvname)
if setpoint is not None:
self.setpoint.put(setpoint)
self.readback.put(setpoint)
self.noise.put(noise)
self.max_change.put(max_change)
self.tolerance.put(tol)
self.scanning_rate.put(rate) # 1 second
self.calculation.put("A+max(-D,min(D,(B-A)))+C*(RNDM-0.5)") |
Also, there's no button for fb_epid.adl on the XXX green button screen. |
Indeed: such simulation is noted in the database: optics/opticsApp/Db/fb_epid.db Lines 236 to 270 in fdf5bc3
|
Time for an overhaul of the |
from prjemian/epics-docker#43
The code in the
fb_epid.db
database has this:The
SCAN
field is triggering the message above.The text was updated successfully, but these errors were encountered: