44
7.3.3. fhclose
Function
Disconnects from the Vision Sensor
Syntax
fhclose(fh_socket, err_no)
Parameter
fh_socket Input Integer Number of sockets already connected
err_no Output Integer Error number
Store the result of the execution of
Remarks
Disconnects from the Vision Sensor
Return Value
ERROR:fhclose():FCLOSE:-1901
Precautions
None
Example
The following example closes the connection to the Vision Sensor connected by
fhconnect.
fh_socket = 8
retries_connect = 2
timeout_connect = 4
Call fhconnect(fh_socket, retries_connect, timeout_connect, err_no)
Call fhclose(fh_socket, err_no)