11
Data Device Corporation
www.ddc-web.com
BU-65566
F-04/06-0
aceBCDataBlkCreate
(DevNum, nDataBlkID, wDataBlkSize,*pBuffer, wBufferSize)
TABLE 2. A SAMPLING OF BC LIBRARY FUNCTIONS
This function allocates a data block to be used by any message. The
data block may be 1 to 32 words long, single or double buffered.
aceBCOpCodeCreate
(DevNum, nOpCodeID, wOpCodeType, wCondition, wParameter1,
wParameter2, dwReserved)
This function creates an op code/parameter word pair and appends it
to the BC instruction list.
aceBCMsgCreateBCtoRT
(DevNum, nMsgBlkID, nDataBlkID, wRT, wSA, wWC, MsgGapTime,
dwMsgOptions)
This function creates the message control/status block for a BC-to-RT
transfer message. There are separate functions for RT-to-BC transfers,
RT-to-RT transfers, mode code messages, BC-to-RTs broadcast trans-
fers, BC-to-RTs broadcast messages, and broadcast mode code mes-
sages.
aceBCFrameCreate
(DevNum, nFrameBlkID, wFrameType, aOpCodeIDs, wOpCodeCount,
wMnrFrmTime, wFlags)
This function creates a BC frame from an array of Op Code IDs. The
frame may be either a minor or major frame.
aceBCStart
(DevNum, nMjrFrmID, lMjrFrmCount, pMjrFrmNode, pMsgNode,
pDataNode, pFrameNode)
This function initiates the BC to process a specified major frame.
aceRTDataBlkCreate
(DevNum, nDataBlkID, wDataBlkType, *pBuffer, wBufferSize)
TABLE 3. A SAMPLING OF RT LIBRARY FUNCTIONS
This function allocates an RT data block.
aceRTDataBlkMapToSA
(DevNum, nDataBlkID, wSA, wMsgType, wIrqOptions, wLegalizeSA)
This function maps a data block defined using aceRTDataBlkCreate
with a specified transmit, receive, or broadcast subaddress. The func-
tion may also be used to legalize or illegalize the specified subad-
dress.
aceRTGetHBufMsgDecoded
(DevNum, MSGSTRUCT *pMsg, *pdwMsgCount, *pdwMsgLostStk,
*pdwMsgLostHBuf, wMsgLoc)
This function reads and decodes a message from the host buffer
(assuming that one is present), and places the decoded message into
the MSGSTRUCT parameter.
aceRTDataBlkCircBufInfo
(DevNum, nDataBlkID, *pUserRWOffset, *pAceRWOffset)
This function returns information about a circular buffer, including the
last read or written location performed by the user and the last location
read or written by the Enhanced Mini-ACE RT.
aceMTEnableRTFilter
(DevNum, wRT, wTR, dwSAMask)
TABLE 4. A SAMPLING OF MONITOR LIBRARY FUNCTIONS
This function may be used to enable monitor selection for a specific
subaddress or all subaddresses, for a specific RT address or all RT
addresses.
aceMTStkToHBuf
(DevNum)
This function copies all messages from the (previously active) stack to
the host buffer. Once the messages have been moved to the host
buffer, they can be processed by the application using either
aceMTGetHBufMsgsRaw() or aceMTGetHBufMsgsDecoded().
aceMTGetHBufMsgDecoded
(DevNum, MSGSTRUCT *pMsg, *pdwMsgCount, *pdwMsgLostStk,
*pdwMsgLostHBuf, wMsgLoc)
This function reads either the last unread or most recently received
decoded message from the host buffer.