This website is being translated through machine translation by a third-party service. Basler does not warrant the accuracy, reliability or timeliness of any information translated by this system and will not accept liability for loss or damage incurred as a result. Content that has not yet been translated appears in English. Switch to English version
Parameter names may not apply to your camera model.
To display appropriate parameter names, select a camera model:
a2A1280-125umSWIR
a2A1280-80gmSWIR
a2A1920-160ucBAS
a2A1920-160ucPRO
a2A1920-160umBAS
a2A1920-160umPRO
a2A1920-165g5cBAS
a2A1920-165g5mBAS
a2A1920-51gcBAS
a2A1920-51gcPRO
a2A1920-51gmBAS
a2A1920-51gmPRO
a2A2048-110umSWIR
a2A2048-35gmSWIR
a2A2440-98g5cBAS
a2A2440-98g5mBAS
a2A2448-105g5cBAS
a2A2448-105g5mBAS
a2A2448-120cc
a2A2448-120cm
a2A2448-210cc
a2A2448-210cm
a2A2448-23gcBAS
a2A2448-23gcPRO
a2A2448-23gmBAS
a2A2448-23gmPRO
a2A2448-75ucBAS
a2A2448-75ucPRO
a2A2448-75umBAS
a2A2448-75umPRO
a2A2560-20gmSWIR
a2A2560-70umSWIR
a2A2590-22gcBAS
a2A2590-22gcPRO
a2A2590-22gmBAS
a2A2590-22gmPRO
a2A2590-60ucBAS
a2A2590-60ucPRO
a2A2590-60umBAS
a2A2590-60umPRO
a2A2600-20gcBAS
a2A2600-20gcPRO
a2A2600-20gmBAS
a2A2600-20gmPRO
a2A2600-64ucBAS
a2A2600-64ucPRO
a2A2600-64umBAS
a2A2600-64umPRO
a2A2840-14gcBAS
a2A2840-14gcPRO
a2A2840-14gmBAS
a2A2840-14gmPRO
a2A2840-14gmUV
a2A2840-48ucBAS
a2A2840-48ucPRO
a2A2840-48umBAS
a2A2840-48umPRO
a2A2840-48umUV
a2A2840-67g5cBAS
a2A2840-67g5mBAS
a2A2840-67g5mUV
a2A2840-86cc
a2A2840-86cm
a2A3840-13gcBAS
a2A3840-13gcPRO
a2A3840-13gmBAS
a2A3840-13gmPRO
a2A3840-45ucBAS
a2A3840-45ucPRO
a2A3840-45umBAS
a2A3840-45umPRO
a2A4096-30ucBAS
a2A4096-30ucPRO
a2A4096-30umBAS
a2A4096-30umPRO
a2A4096-44g5cBAS
a2A4096-44g5mBAS
a2A4096-67cc
a2A4096-67cm
a2A4096-9gcBAS
a2A4096-9gcPRO
a2A4096-9gmBAS
a2A4096-9gmPRO
a2A4200-12gcBAS
a2A4200-12gcPRO
a2A4200-12gmBAS
a2A4200-12gmPRO
a2A4200-40ucBAS
a2A4200-40ucPRO
a2A4200-40umBAS
a2A4200-40umPRO
a2A4504-18ucBAS
a2A4504-18ucPRO
a2A4504-18umBAS
a2A4504-18umPRO
a2A4504-27g5cBAS
a2A4504-27g5mBAS
a2A4504-42cc
a2A4504-42cm
a2A4504-5gcBAS
a2A4504-5gcPRO
a2A4504-5gmBAS
a2A4504-5gmPRO
a2A4508-20ucBAS
a2A4508-20ucPRO
a2A4508-20umBAS
a2A4508-20umPRO
a2A4508-6gcBAS
a2A4508-6gcPRO
a2A4508-6gmBAS
a2A4508-6gmPRO
a2A5320-23ucBAS
a2A5320-23ucPRO
a2A5320-23umBAS
a2A5320-23umPRO
a2A5320-34g5cBAS
a2A5320-34g5mBAS
a2A5320-52cc
a2A5320-52cm
a2A5320-7gcBAS
a2A5320-7gcPRO
a2A5320-7gmBAS
a2A5320-7gmPRO
a2A5328-15ucBAS
a2A5328-15ucPRO
a2A5328-15umBAS
a2A5328-15umPRO
a2A5328-22g5cBAS
a2A5328-22g5mBAS
a2A5328-35cc
a2A5328-35cm
a2A5328-4gcBAS
a2A5328-4gcPRO
a2A5328-4gmBAS
a2A5328-4gmPRO
a2A640-240gmSWIR
a2A640-240umSWIR
acA1280-60gc
acA1280-60gm
acA1300-200uc
acA1300-200um
acA1300-60gc
acA1300-60gm
acA1300-60gmNIR
acA1300-75gc
acA1300-75gm
acA1440-220uc
acA1440-220um
acA1440-73gc
acA1440-73gm
acA1600-20gc
acA1600-20uc
acA1600-60gc
acA1600-60gm
acA1920-150uc
acA1920-150um
acA1920-155uc
acA1920-155ucMED
acA1920-155um
acA1920-155umMED
acA1920-25gc
acA1920-25gm
acA1920-25uc
acA1920-25um
acA1920-40gc
acA1920-40gm
acA1920-40uc
acA1920-40ucMED
acA1920-40um
acA1920-40umMED
acA1920-48gc
acA1920-48gm
acA1920-50gc
acA1920-50gm
acA2000-165uc
acA2000-165um
acA2000-50gc
acA2000-50gm
acA2040-120uc
acA2040-120um
acA2040-25gc
acA2040-25gm
acA2040-25gmNIR
acA2040-35gc
acA2040-35gm
acA2040-55uc
acA2040-55um
acA2040-90uc
acA2040-90um
acA2040-90umNIR
acA2440-20gc
acA2440-20gm
acA2440-35uc
acA2440-35ucMED
acA2440-35um
acA2440-35umMED
acA2440-75uc
acA2440-75ucMED
acA2440-75um
acA2440-75umMED
acA2500-14gc
acA2500-14gm
acA2500-14uc
acA2500-14um
acA2500-20gc
acA2500-20gcMED
acA2500-20gm
acA2500-20gmMED
acA2500-60uc
acA2500-60um
acA3088-16gc
acA3088-16gm
acA3088-57uc
acA3088-57ucMED
acA3088-57um
acA3088-57umMED
acA3800-10gc
acA3800-10gm
acA3800-14uc
acA3800-14um
acA4024-29uc
acA4024-29um
acA4024-8gc
acA4024-8gm
acA4096-11gc
acA4096-11gm
acA4096-30uc
acA4096-30ucMED
acA4096-30um
acA4096-30umMED
acA4096-40uc
acA4096-40ucMED
acA4096-40um
acA4096-40umMED
acA4112-20uc
acA4112-20ucMED
acA4112-20um
acA4112-20umMED
acA4112-30uc
acA4112-30ucMED
acA4112-30um
acA4112-30umMED
acA4112-8gc
acA4112-8gm
acA5472-17uc
acA5472-17ucMED
acA5472-17um
acA5472-17umMED
acA5472-5gc
acA5472-5gm
acA640-121gm
acA640-300gc
acA640-300gm
acA640-750uc
acA640-750um
acA720-290gc
acA720-290gm
acA720-520uc
acA720-520um
acA800-200gc
acA800-200gm
acA800-510uc
acA800-510um
blaze-101
blaze-102
boA13440-17cm
boA1936-400cc
boA1936-400cm
boA2448-250cc
boA2448-250cm
boA2832-190cc
boA2832-190cm
boA4096-180cc
boA4096-180cm
boA4096-93cc
boA4096-93cm
boA4112-68cc
boA4112-68cm
boA4500-45cc
boA4500-45cm
boA4504-100cc
boA4504-100cm
boA5120-150cc
boA5120-150cm
boA5120-230cc
boA5120-230cm
boA5320-150cc
boA5320-150cm
boA5328-100cc
boA5328-100cm
boA6500-36cc
boA6500-36cm
boA8100-16cc
boA8100-16cm
boA9344-30cc
boA9344-30cm
boA9344-70cc
boA9344-70cm
daA1280-54uc
daA1280-54um
daA1440-220uc
daA1440-220um
daA1600-60uc
daA1600-60um
daA1920-15um
daA1920-160uc
daA1920-160um
daA1920-30uc
daA1920-30um
daA2448-70uc
daA2448-70um
daA2500-14uc
daA2500-14um
daA2500-60mc
daA2500-60mci
daA3840-30mc
daA3840-45uc
daA3840-45um
daA4200-30mci
daA720-520uc
daA720-520um
dmA1440-73gc
dmA1440-73gm
dmA1920-51gc
dmA1920-51gm
dmA720-290gc
dmA720-290gm
puA1280-54uc
puA1280-54um
puA1600-60uc
puA1600-60um
puA1920-30uc
puA1920-30um
puA2500-14uc
puA2500-14um
r2L16384-120cm
r2L2048-172cm
r2L2048-172g5m
r2L2048-29gc
r2L2048-58gm
r2L2048-62cc
r2L2048-62g5c
r2L4096-14gc
r2L4096-29gm
r2L4096-42cc
r2L4096-42g5c
r2L4096-84cm
r2L4096-84g5m
r2L8192-200cm
The information in this topic does not apply to your camera model.
The Precision Time Protocol (PTP) camera feature allows you to synchronize multiple GigE cameras in the same network.
The IEEE 1588 standard defines the protocol. Basler cameras support IEEE 1588-2008, also known as PTP Version 2.
Info
The precision of the PTP synchronization depends to a large extent on your network hardware and setup. For maximum precision, choose high-quality network hardware, use PTP-enabled network switches, and add an external PTP clock device with a GPS receiver to your network.
Through PTP, multiple devices (e.g., cameras) are automatically synchronized with the most accurate clock found in a network, the so-called master clock or best master clock.
The protocol enables systems within a network to do the following:
Synchronize with the master clock, i.e., set the local clock as precisely as possible to the time of the master clock.
Syntonize with the master clock, i.e., adjust the frequency of the local clock to the frequency of the master clock. You want the duration of a second to be as identical as possible on both devices.
The master clock is determined by several criteria. The criterion with the highest precedence is the device's Priority 1 setting.
The basic concept of the Precision Time Protocol (IEEE 1588) is based on the exchange of PTP messages. These messages allow the slave clocks to synchronize their timestamp value with the timestamp value of the master clock. For Basler cameras, this means that their GevTimestampValue parameter values will be as identical as possible. The precision highly depends on your network hardware and setup.
If no device in the network is synchronized to a coordinated world time (e.g., TAI or UTC), the network will operate in the arbitrary timescale mode (ARB). In this mode, the epoch is arbitrary, as it is not bound to an absolute time. The timescale is relative and only valid in this network.
Info
IEEE 1588 defines 80-bit timestamps for storing and transporting time information. Because GigE Vision uses 64-bit timestamps, the PTP timestamps are mapped to the 64-bit timestamps of GigE Vision.
A PTP-enabled device that operates in a network with no other PTP-enabled devices does not discipline its local clock. The precision of its local clock is identical to a non-PTP-enabled device.
When powering on the camera, PTP is always disabled. If you want to use PTP, you must enable it.
To enable PTP:
If you want to use an external device as the master clock (e.g., a GPS receiver), configure the external device as the master clock. Basler recommends an ANNOUNCE interval of 2 seconds and a SYNC interval of 0.5 seconds.
Make sure that all cameras that you want to synchronize via PTP are properly configured.
On all cameras that you want to synchronize via PTP, set the GevIEEE1588 parameter to true.
Wait until all PTP network devices are sufficiently synchronized. Depending on your network setup, this may take a few seconds or minutes. You can determine when the devices are synchronized by checking the status of the PTP clock synchronization.
On ace Classic/U/L cameras, enabling PTP clock synchronization changes the camera's internal tick frequency from 125 MHz (= 8 ns tick duration) to 1 GHz (= 1 ns tick duration). The Inter-packet Delay and the Frame Transmission Delay parameter values are adjusted automatically. On other cameras, the tick frequency is always 1 GHz.
In a PTP-enabled network, the master clock is determined by several criteria. The most important criterion is the device's Priority 1 setting. The network device with the lowest Priority 1 setting is the master clock.
On ace 2 and dart M cameras, you can change the Priority 1 setting to force a camera to be the master clock, or to prevent a camera from being the master clock. To do so, set the BslPtpPriority1 parameter to a value between 0 (highest priority) and 255 (lowest priority).
On other cameras, the Priority 1 setting is preset to 128 and can't be changed.
The delay measurement mechanism defines how PTP delay measurement messages are sent and received within the network. The PTP standard defines two mechanisms: end-to-end (E2E, also "delay request-response") and peer-to-peer (P2P). For more information, see this article.
On ace 2 and dart M cameras, you can change the delay measurement mechanism. To do so, set the BslPtpProfile parameter to DelayRequestResponseDefaultProfile (default) or PeerToPeerDefaultProfile.
On other cameras, the delay measurement mechanism is preset to end-to-end and can't be changed.
Info
In most cases, use end-to-end delay measurement. Only use peer-to-peer if your entire network is set up for peer-to-peer delay measurement. This means that all switches and routers are PTP-enabled, and all PTP devices are configured for peer-to-peer communication.
When using peer-to-peer delay measurement, the following restrictions apply:
The network mode setting defines how PTP messages are transferred within the network.
On ace 2 cameras, you can change the network mode. To do so, set the BslPtpNetworkMode parameter to one of the following values:
Multicast: PTP messages are sent to all devices in the local network that are configured for PTP multicasting. This is the default mode and sufficient for most use cases.
Hybrid: PTP messages are sent using multicast and unicast messages. This saves network load because fewer messages have to be processed. For more information, see this article.
Unicast: PTP messages are sent to one or more specified devices in the local network. Other devices can't receive PTP messages. To configure unicast:
Make sure that the BslPtpNetworkMode is set to Unicast.
Set the BslPtpUcPortAddrIndex parameter to 0.
Set the BslPtpUcPortAddr parameter to the IP address of the first receiving device.
Increase the BslPtpUcPortAddrIndex parameter by 1.
Set the BslPtpUcPortAddr parameter to the IP address of the next receiving device.
Repeat steps 3 and 4 for all PTP devices involved.
On other cameras, the network mode is preset to multicast. However, these cameras can also receive unicast messages and respond accordingly.
Info
When using unicast mode, all devices involved must support unicast negotiation. Some PTP implementations don't use unicast negotiation and therefore aren't compatible with Basler cameras.
The PTP Management Protocol allows you to read the settings of any PTP device via management messages, i.e., without using the pylon API. If permitted, the settings can also be written.
On ace 2 and dart M cameras, you can enable or disable PTP management. To do so:
On ace 2 and dart M cameras, two-step operation is disabled by default. If another PTP device in the network explicitly requires two-step event messages, you can enable them by setting the BslPtpTwoStep parameter to true.
On other cameras, two-step operation is always enabled.
Checking the Status of the PTP Clock Synchronization#
To check the status of the PTP clock synchronization, you must develop your own check method using the pylon API.
A typical implementation of a PTP status check involves the following steps:
Execute the GevIEEE1588DataSetLatch command. The command allows you to take a "snapshot" of the camera's current PTP state. The "snapshot" implementation ensures that all parameter values in the latched data set refer to exactly the same point in time.
Wait until the GevIEEE1588Status parameter value is no longer Initializing.
Depending on the camera model, read the following parameter values from the device:
On ace 2 and dart M cameras, read the PtpServoStatus parameter from all slave cameras. If the parameter value is Locked, the respective device should be sufficiently synchronized. If you need a more refined status check, follow the "other cameras" procedure below instead.
On other cameras, read the GevIEEE1588OffsetFromMaster parameter value from all slave cameras until the highest offset from master is below a certain threshold (according to your requirements, e.g., 1 millisecond). Due to the fact that the clock is continuously adjusted by a control mechanism, the offset is not decreasing monotonically. Basler recommends that you check the maximum GevIEEE1588OffsetFromMaster parameter value within a given time window:
Repeat steps 1 and 2 until the devices are sufficiently synchronized.
After executing the GevIEEE1588DataSetLatch command, you can read the following parameter values from the device:
GevIEEE1588ClockId: Indicates the unique ID of the current PTP device (the "clock ID").
GevIEEE1588OffsetFromMaster: Indicates the estimated temporal offset between the master clock and the clock of the current PTP device in ticks (1 tick = 1 nanosecond).
GevIEEE1588ParentClockId: Indicates the clock ID of the PTP device that currently serves as the master clock (the "parent clock ID").
GevIEEE1588Status: Indicates the state of the current PTP device, e.g., whether it is a master or a slave clock. The returned values match the PTP port state enumeration (Initializing, Faulty, Disabled, Listening, Pre_Master, Master, Passive, Uncalibrated, and Slave). For more information, refer to the pylon API documentation and the IEEE 1588-2008 specification.
GevIEEE1588StatusLatched: If this parameter is available, Basler recommends using it instead of the GevIEEE1588Status parameter. This is because the GevIEEE1588Status parameter is not tied to the GevIEEE1588DataSetLatch command. Therefore, if you read multiple PTP-related values from a device, the device state will not relate to the same point in time as the other values.
On ace 2 and dart M cameras, after executing the PtpDataSetLatch command, you can read the following additional parameter values from the device:
BslPtpDelayMechanism: Indicates the delay mechanism used by the PTP network. A value of E2E indicates that the Delay Request-Response mechanism is used. A value of P2P indicates that the peer-to-peer mechanism is used.
PtpClockAccuracy: Indicates the expected accuracy of the PTP device clock when it is or becomes the grandmaster. On Basler cameras, the expected accuracy is preset to Unknown. This is because Basler cameras don't synchronize to a coordinated world time, e.g., UTC.
PtpGrandmasterClockID: Indicates the clock ID of the PTP device that currently serves as the grandmaster clock.
PtpServoStatus: Indicates the state of the clock servo, i.e., the state of the PTP clock synchronization. If the state is Locked, the clock of the current device is successfully synchronized with the master clock. In all other cases, the state is Unknown.
// ** Configure PTP **// Set Priority 1 to 128camera.BslPtpPriority1.SetValue(128);// Enable end-to-end delay measurementcamera.BslPtpProfile.SetValue(BslPtpProfile_DelayRequestResponseDefaultProfile);// Set the network mode to unicastcamera.BslPtpNetworkMode.SetValue(BslPtpNetworkMode_Unicast);// Set the IP address of the first unicast device to 192.168.10.12// (0xC0 = 192, 0xA8 = 168, 0x0A = 10, 0x0C = 12)camera.BslPtpUcPortAddrIndex.SetValue(0);camera.BslPtpUcPortAddr.SetValue((0xC0A80A0C);// Enable PTP Management Protocolcamera.BslPtpManagementEnable.SetValue(true);// Disable two-step operationcamera.BslPtpTwoStep.SetValue(false);// ** Enable PTP on the current device **camera.PtpEnable.SetValue(true);// To check the status of the PTP clock synchronization,// implement your own check method here.// For guidelines, see "Checking the Status of// the PTP Clock Synchronization" in this topic.
INodeMap&nodemap=camera.GetNodeMap();// ** Configure PTP **// Set Priority 1 to 128CIntegerParameter(nodemap,"BslPtpPriority1").SetValue(128);// Enable end-to-end delay measurementCEnumParameter(nodemap,"BslPtpProfile").SetValue("DelayRequestResponseDefaultProfile");// Set the network mode to unicastCEnumParameter(nodemap,"BslPtpNetworkMode").SetValue("Unicast");// Set the IP address of the first unicast device to 192.168.10.12// (0xC0 = 192, 0xA8 = 168, 0x0A = 10, 0x0C = 12)CIntegerParameter(nodemap,"BslPtpUcPortAddrIndex").SetValue(0);CIntegerParameter(nodemap,"BslPtpUcPortAddr").SetValue(0xC0A80A0C);// Enable PTP Management ProtocolCBooleanParameter(nodemap,"BslPtpManagementEnable").SetValue(true);// Disable two-step operationCBooleanParameter(nodemap,"BslPtpTwoStep").SetValue(false);// ** Enable PTP on the current device **CBooleanParameter(nodemap,"PtpEnable").SetValue(true);// To check the status of the PTP clock synchronization,// implement your own check method here.// For guidelines, see "Checking the Status of// the PTP Clock Synchronization" in this topic.
// ** Configure PTP **// Set Priority 1 to 128camera.Parameters[PLCamera.BslPtpPriority1].SetValue(128);// Enable end-to-end delay measurementcamera.Parameters[PLCamera.BslPtpProfile].SetValue(PLCamera.BslPtpProfile.DelayRequestResponseDefaultProfile);// Set the network mode to unicastcamera.Parameters[PLCamera.BslPtpNetworkMode].SetValue(PLCamera.BslPtpNetworkMode.Unicast);// Set the IP address of the first unicast device to 192.168.10.12// (0xC0 = 192, 0xA8 = 168, 0x0A = 10, 0x0C = 12)camera.Parameters[PLCamera.BslPtpUcPortAddrIndex].SetValue(0);camera.Parameters[PLCamera.BslPtpUcPortAddr].SetValue(0xC0A80A0C);// Enable PTP Management Protocolcamera.Parameters[PLCamera.BslPtpManagementEnable].SetValue(true);// Disable two-step operationcamera.Parameters[PLCamera.BslPtpTwoStep].SetValue(false);// ** Enable PTP on the current device **camera.Parameters[PLCamera.PtpEnable].SetValue(true);// To check the status of the PTP clock synchronization,// implement your own check method here.// For guidelines, see "Checking the Status of// the PTP Clock Synchronization" in this topic.
/* Macro to check for errors */#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)GENAPIC_RESULTerrRes=GENAPI_E_OK;/* Return value of pylon methods *//* ** Configure PTP ** *//* Set Priority 1 to 128 */errRes=PylonDeviceSetIntegerFeature(hdev,"BslPtpPriority1",128);CHECK(errRes);/* Enable end-to-end delay measurement */errRes=PylonDeviceFeatureFromString(hdev,"BslPtpProfile","DelayRequestResponseDefaultProfile");CHECK(errRes);/* Set the network mode to unicast */errRes=PylonDeviceFeatureFromString(hdev,"BslPtpNetworkMode","Unicast");CHECK(errRes);/* Set the IP address of the first unicast device to 192.168.10.12 *//* (0xC0 = 192, 0xA8 = 168, 0x0A = 10, 0x0C = 12) */errRes=PylonDeviceSetIntegerFeature(hdev,"BslPtpUcPortAddrIndex",0);CHECK(errRes);errRes=PylonDeviceSetIntegerFeature(hdev,"BslPtpUcPortAddr",0xC0A80A0C);CHECK(errRes);/* Enable PTP Management Protocol */errRes=PylonDeviceSetBooleanFeature(hdev,"BslPtpManagementEnable",1);CHECK(errRes);/* Disable two-step operation */errRes=PylonDeviceSetBooleanFeature(hdev,"BslPtpTwoStep",0);CHECK(errRes);/* ** Enable PTP on the current device ** */errRes=PylonDeviceSetBooleanFeature(hdev,"PtpEnable",1);CHECK(errRes);/* To check the status of the PTP clock synchronization, *//* implement your own check method here. *//* For guidelines, see "Checking the Status of *//* the PTP Clock Synchronization" in this topic. */
# ** Configure PTP **# Set Priority 1 to 128camera.BslPtpPriority1.Value=128# Enable end-to-end delay measurementcamera.BslPtpProfile.Value="DelayRequestResponseDefaultProfile"# Set the network mode to unicastcamera.BslPtpNetworkMode.Value="Unicast"# Set the IP address of the first unicast device to 192.168.10.12# (0xC0 = 192, 0xA8 = 168, 0x0A = 10, 0x0C = 12)camera.BslPtpUcPortAddrIndex.Value=0camera.BslPtpUcPortAddr.Value=0xC0A80A0C# Enable PTP Management Protocolcamera.BslPtpManagementEnable.Value=True# Disable two-step operationcamera.BslPtpTwoStep.Value=False# ** Enable PTP on the current device **camera.PtpEnable.Value=True# To check the status of the PTP clock synchronization,# implement your own check method here.# For guidelines, see "Checking the Status of# the PTP Clock Synchronization" in this topic.
// Enable PTP on the current devicecamera.GevIEEE1588.SetValue(true);// To check the status of the PTP clock synchronization,// implement your own check method here.// For guidelines, see "Checking the Status of// the PTP Clock Synchronization" in this topic.
INodeMap&nodemap=camera.GetNodeMap();// Enable PTP on the current deviceCBooleanParameter(nodemap,"GevIEEE1588").SetValue(true);// To check the status of the PTP clock synchronization,// implement your own check method here.// For guidelines, see "Checking the Status of// the PTP Clock Synchronization" in this topic.
// Enable PTP on the current devicecamera.Parameters[PLCamera.GevIEEE1588].SetValue(true);// To check the status of the PTP clock synchronization,// implement your own check method here.// For guidelines, see "Checking the Status of// the PTP Clock Synchronization" in this topic.
/* Macro to check for errors */#define CHECK(errc) if (GENAPI_E_OK != errc) printErrorAndExit(errc)GENAPIC_RESULTerrRes=GENAPI_E_OK;/* Return value of pylon methods *//* Enable PTP on the current device */errRes=PylonDeviceSetBooleanFeature(hdev,"GevIEEE1588",1);CHECK(errRes);/* To check the status of the PTP clock synchronization, *//* implement your own check method here. *//* For guidelines, see "Checking the Status of *//* the PTP Clock Synchronization" in this topic. */
# Enable PTP on the current devicecamera.GevIEEE1588.Value=True# To check the status of the PTP clock synchronization,# implement your own check method here.# For guidelines, see "Checking the Status of# the PTP Clock Synchronization" in this topic.