IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
This chapter contains the features related to the Precision Time Protocol (PTP) of the camera. You can find examples of PTP use cases in the techtip "Clock comparison".
Name |
PTP Control |
Category |
TransportLayerControl |
Interface |
Category |
Access |
Read |
Unit |
- |
Visibility |
Expert |
Values |
- |
Standard |
SFNC |
Availability uEye+ |
|
Availability uEye |
- |
These features offer relative timestamp synchronization between all cameras in one network.
•One of the cameras can be the master, the non-master cameras are slaves. The timestamps of all slave cameras are synchronized to the master camera.
•Image timestamps give knowledge about the capture time relative to the other camera's images: Which image was the first, and what is the time difference between images of different cameras.
With additional hardware, e.g. a network card that supports so-called "hardware timestamping", the cameras can also be synchronized to the host PC. In this case, all cameras are slaves and the host PC is the master. This configuration allows image timestamps in absolute (real) time.
Configuration as master
# Configure master camera
PtpEnable = True;
PtpSlaveOnly = False;
Configuration as slave
# Configure slave camera
PtpEnable = True;
PtpSlaveOnly = True;
Establishing of the master-slave-hierarchy
Once, master and slave devices are configured, the master-slave-hierarchy is established automatically. The master camera shows this by changing the PtpStatus from "Listening" to "Master". The slave cameras change their PtpStatus from "Listening" to "Uncalibrated". After each slave camera has been synchronized with the master camera, its PtpStatus changes to "Slave".