SysEthernetBurstReceiveGetMemory (FUN)ΒΆ
FUNCTION SysEthernetBurstReceiveGetMemory : RTS_IEC_RESULT
Writes the address with data into ppData and the length of the data into pLen. Must be called after SysEthernetBurstReceiveReserve and before SysEthernetBurstReceiveRelease.
- InOut:
Scope
Name
Type
Comment
Return
SysEthernetBurstReceiveGetMemoryRTS_IEC_RESULTReturns the result of the operation
Input
hAdapterSysTypes.RTS_IEC_HANDLEHandle of the adapter. Must be retrieved using SysEthernetAdapterOpen
indexUDINTIndex of the frame. Must be between 0 and the result of SysEthernetBurstReceiveReserve
ppDataPOINTER TO POINTER TO BYTE
Pointer to a variable where the address of the data will be stored. If the program wants to continue using the data, it must be copied to a local buffer
pLenPOINTER TO UDINT
Pointer to a variable where the length of the data will be stored