GetNetwork
Returns information that is configured in the Network Settings dialog.
GetNetwork Inputs
Syntax: EV GetNetwork()
GetNetwork Outputs
Returns a status code, followed by the number of characters (in bytes) for the results, then the results in XML format. The status codes are:
Status Codes | Description |
---|---|
1 | The command was executed successfully. |
0 | Unrecognized command. |
-2 | The command could not be executed. |
-6 | User does not have Full
Access to execute the command. |
GetNetwork Example
To retrieve the information configured in the Network Settings dialog, issue the following command: EV GetNetwork
The In-Sight sensor responds with a status code (1), followed by the number of characters, in bytes (552). Finally, the information configured in the Network Settings dialog is returned. In this example, the sensor is configured dynamically by the DHCP server on startup. If the UseDHCP input is set to 0, the settings for static IP assignment are used.