![Matrix Vision mvBlueGEMINI Скачать руководство пользователя страница 32](http://html1.mh-extra.com/html/matrix-vision/mvbluegemini/mvbluegemini_technical-manual_1741404032.webp)
mvBlueGEMINI Technical Manual (EN) v
1.2.2
APPENDIX
-
CONTROL
COMMANDS
31
Set inspection number
Set the inspection number for the next inspection.
Lenght in bytes
Structure
Value
Description
4
uint32
42565350
hex
Magic number
4
uint32
04
hex
User data length in bytes
4
uint32
35
hex
Message ID
4
uint32
01
hex
Inspection number
10.1.1.2
Testing the communication
Under Linux
For testing the UDP communication you can use the tool
Netcat
under Linux. The following console
prompts will open a connection to the camera, start and stop the current inspection, and close the
connection.
In this example the IP address of the smart camera is 192.168.1.230. The port 60001 is used to get
results from the camera.
# Connect
echo -n -e '\x50\x53\x56\x42\x00\x00\x00\x00\x01\x00\x00\x00' | nc -
uw 1 -p 60001 192.168.1.230 36701
# Start inspection:
echo -n -e '\x50\x53\x56\x42\x00\x00\x00\x00\x41\x00\x00\x00' | nc -
uw 1 -p 60001 192.168.1.230 36701
# Stop inspection:
echo -n -e '\x50\x53\x56\x42\x00\x00\x00\x00\x42\x00\x00\x00' | nc -
uw 1 -p 60001 192.168.1.230 36701
# Disconnect:
echo -n -e '\x50\x53\x56\x42\x00\x00\x00\x00\x01\x00\x00\x00' | nc -
uw 1 -p 60001 192.168.1.230 36701
Under Windows
For testing the UDP communication you can use the tool
Packet Sender
under Windows. The following console prompts will open a connection
to the camera, start and stop the current inspection, and close the connection.
In this example the IP address of the smart camera is 192.168.1.230.
Содержание mvBlueGEMINI
Страница 1: ...0 Version 1 2 2 Date 21 07 2016 mvBlueGEMINI Technical Manual EN...
Страница 4: ...mvBlueGEMINI Technical Manual EN v1 2 2 IMPRINT ADDRESS 3...
Страница 41: ...mvBlueGEMINI Technical Manual EN v1 2 2 APPENDIX NOTES ON NETWORK CONNECTIONS 40 Versions with OpenVPN bridge...
Страница 42: ...mvBlueGEMINI Technical Manual EN v1 2 2 APPENDIX NOTES ON NETWORK CONNECTIONS 41...