basler / pypylon

The official python wrapper for the pylon Camera Software Suite
http://www.baslerweb.com
BSD 3-Clause "New" or "Revised" License
567 stars 207 forks source link

PTP Configuration (acA5472-5gm) #595

Open Magic-Doctor opened 1 year ago

Magic-Doctor commented 1 year ago

Hi,

We adopt the "Scheduled Action Command" feature because we need to achieve microsecond-level multi-camera synchronization. I learned from the documentation that setting the master clock and slave clock is necessary when configuring PTP clock synchronization, but it is not explicitly stated how to invoke the API to set this for the acA5472-5gm camera model (Priority 1 is not supported). Additionally, I also found that it is not possible to change the "IEEE 1588 Status (Latched)" in Pylon Viewer software (all cameras are default master). Is this issue due to something I didn't notice? Could someone give some suggestions on how to address this issue? Is there an API available for this purpose? Any assistance provided would be greatly appreciated!

thiesmoeller commented 1 year ago

What is the network architecture between your cameras and your host?

Magic-Doctor commented 1 year ago

@thiesmoeller,Hi

I conducted tests using two cameras. One camera was connected to the computer's network port via a Gige cable, while the other camera's Gige cable was connected to a network adapter, which was then connected to the computer via USB. I think I understand a bit now, perhaps using a network switch could solve this problem. Is that correct?

thiesmoeller commented 1 year ago

Yes this is correct. Both cameras have to either