SysTargetGetDeviceName
(FUN)
FUNCTION SysTargetGetDeviceName : RTS_IEC_RESULT
<description>Returns the device name of the target.</description> <result><p>RESULT: Returns the runtime system error code (see CmpErrors.library).</p></result>
- InOut:
Scope
Name
Type
Comment
Return
SysTargetGetDeviceName
RTS_IEC_RESULT
Input
pwszName
POINTER TO WSTRING
<param name=”pwszName” type=”OUT”>Pointer to the device name</param>
pnMaxLength
POINTER TO UDINT
<param name=”nMaxLength” type=”IN”>Max length of the name</param>