GetIPAll
- Last UpdatedOct 29, 2026
- 1 minute read
GetIPAll is a built-in function that gets the number of IP addresses assigned to the local station and then stores those addresses in a specified array.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
GetIPAll |
System Info |
Synchronous |
Yes |
Supported |
Supported |
Not supported |
Supported |
Not supported |
Syntax
GetIPAll("tagArrayIP")
GetIPAll ( " tagArrayIP " )
tagArrayIP
The name of the array tag (String type) in which the IP addresses will be stored.
Note: If this parameter is enclosed in quotes, the string literal will be used. Otherwise, the value of the tag/expression will be used.
Return value
This function returns one of the following possible values:
|
Value |
Description |
|---|---|
|
n |
Number of IP addresses |
|
-1 |
Invalid number of parameters |
|
-2 |
Invalid parameter type |
Notes
This function gets the IP addresses that are assigned to the station on which the function is called and executed. Therefore, if you call the function in a project screen, it will get the IP addresses that are assigned to the computer or device where the screen is open.