EPS_PNDEV_WRITE_TRACE_DATA - Manual - PROFINET Driver

How to port PROFINET Driver

Portfolio
PROFINET Development Kits
Product
PROFINET Driver
Software version
v3.1.0
Edition
03/2024
Language
en-US (original)
LSA_UINT16 (*EPS_PNDEV_WRITE_TRACE_DATA) (struct eps_pndev_hw_tag* pHwInstIn, LSA_UINT32 offset, LSA_UINT8* ptr, LSA_UINT32 size)

Writes configuration data for traces into a shared memory. Used if EPS runs in a distributed architecture.

Parameters

pHwInstIn: Input. Wrapper structure
offset: Input. Offset in the trace memory (destination)
ptr: Input. Pointer to the memory where the trace data has to be written to (source)
size: Input. Length to copy

Returns

  • EPS_PNDEV_RET_ERR
  • EPS_PNDEV_RET_OK
  • EPS_PNDEV_RET_DEV_NOT_FOUND
  • EPS_PNDEV_RET_DEV_OPEN_FAILED
  • EPS_PNDEV_RET_UNSUPPORTED