GetIPAll

Returns the number of IP Addresses assigned to the local station and stores the IP Addresses in a string array tag.

Function Group Execution Windows Embedded Thin Client
GetIPAll System Info Synchronous Supported Supported Supported

Syntax

GetIPAll( "tagArrayIP", optRefresh )
tagArrayIP
Name of the string array tag receiving the IP addresses found. This name must be enclosed in quotes, or the project will try to get the contents of the array tag.
optRefresh
Optional tag that triggers a refresh of this function, if you use it in a Text Data Link animation. Every time this tag changes value, the project will refresh the function.

Returned value

n Number of IP addresses found
−1 Invalid number of parameters
−2 Invalid parameter type

Examples

Tag Name Expression
Tag GetIPAll( "TagArrayIP" ) // Returned value = 1
Tag GetIPAll( "TagArrayIP", Second ) // Returned value = 2