Skip to content

Commit 9e10f23

Browse files
committed
Add 'callbackSetQueueSize' function
This function is used to change the callback buffer limit. See Epics AppDevGuide, Callback Queue section (16.2.4) https://epics.anl.gov/base/R3-14/12-docs/AppDevGuide/node17.html
1 parent 97cf8d6 commit 9e10f23

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

softioc/imports.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ def from_param(cls, value):
8686
dbLoadDatabase.argtypes = (auto_encode, auto_encode, auto_encode)
8787
dbLoadDatabase.errcheck = expect_success
8888

89+
callbackSetQueueSize = dbCore.callbackSetQueueSize
90+
callbackSetQueueSize.argtypes = (c_int,)
91+
callbackSetQueueSize.errcheck = expect_success
8992

9093
# unsigned short recGblResetAlarms(void *precord)
9194
#
@@ -116,5 +119,6 @@ def from_param(cls, value):
116119
'registryDeviceSupportAdd',
117120
'IOSCANPVT', 'scanIoRequest', 'scanIoInit',
118121
'dbLoadDatabase',
122+
'callbackSetQueueSize',
119123
'recGblResetAlarms',
120124
]

0 commit comments

Comments
 (0)