NSClientWrapper.StartSearchForNode2 (METH)

METHOD StartSearchForNode2 : UDINT

InOut:

Scope

Name

Type

Comment

Return

StartSearchForNode2

UDINT

Input

udiDeviceType

UDINT

checked only if searchFlags AND NSClientSearchNodeFlags.SearchByType

udiDeviceId

UDINT

checked only if searchFlags AND NSClientSearchNodeFlags.SearchById

udiDeviceVersion

UDINT

checked only if searchFlags AND NSClientSearchNodeFlags.SearchByVersion

pwsNodeName

POINTER TO WSTRING

checked only if searchFlags AND NSClientSearchNodeFlags.SearchByNodeName the pointer must be valid as long as the scan takes!

stParentRelations

STRING

checked only if (searchFlags AND SearchForChildOfAddressOnly := 16#0020) OR (searchFlags AND SearchForChildOfNameOnly)

searchFlags

NSClientSearchNodeFlags

determines how the search will happen, for the details have a look at the definition of <see cref=”NSClientSearchNodeFlags”>

optFinishedCallback

ITaskFinishedCallback

optional callback that will be triggered when the request is finished. Will be called from the communication task!