Ping("'Address'", 'Trigger', ' Timeout=5', ' Size=32')
Arguments
|
'Address' |
IP address of the target computer |
|
'Trigger' |
Trigger signal (rising edge), with which ping is to be sent |
|
'Timeout' |
Optional parameter (default = 5) for setting the period to wait for a response before "no response" is shown as a result. |
|
'Size' |
Optional parameter: Size, in bytes, of the ping request (default = 32) |
Description
This function sends a ping request to 'Address' upon a rising edge of 'Trigger'. The function returns the time, in milliseconds, needed before the ping response was received. If there is no response within 'Timeout' seconds then -1 is issued. The result is 0 as long as no ping request was sent. 'Size' determines the size of the ping request in bytes.
The function returns an analog value as the result.
Results
|
-1 |
no response to ping request within 'Timeout' |
|
0 |
no ping request sent |
|
n |
Response time in ms |