CmpDNP3ChannelConfigSetMaxQueueSize (FUN)ΒΆ

FUNCTION CmpDNP3ChannelConfigSetMaxQueueSize : RTS_IEC_RESULT

Set the maximum number of request messages for a master. The function shold call after the function DNP3_InitChannelConfig and befor channel open!

InOut:

Scope

Name

Type

Comment

Return

CmpDNP3ChannelConfigSetMaxQueueSize

RTS_IEC_RESULT

Input

hChnlConfig

RTS_IEC_HANDLE

The handle to channel configuration

maxQueueSize

UINT

Maximum number of request messages that will be queued on a DNP3 master. Setting this to 0 allows an unlimited number of requests to be queued. Setting this to 1 allows only 1 outstanding request at a time, Setting this to a number greater than 1 specifies that number of outstanding and queued requests NOTE: MDNP session auto generation of requests requires more than 1 request to be queued. If setting maxQueueSize to 1 you should set MDNP session autoRequestMask to 0.