Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide control over the source of the timestamp #25

Closed
wants to merge 1 commit into from

Conversation

EmilioPeJu
Copy link
Member

This allows selecting between getting the timestamp from the camera or from the system running the IOC.

The system timestamp is obtained from the aravis buffer which was saved on the reception of the first packet of the image, this is more precise than timestamping after receiving the full frame.

The reason why this change is needed is because we have certain cameras in which PTP doesn't work and using the system
timestamp in the aravis buffer would be good enough for our application.

@EmilioPeJu
Copy link
Member Author

EmilioPeJu commented Nov 15, 2023

Tom suggested renaming the record so that it matches ADVimba's, I've amended the commit

aravisApp/src/ADAravis.cpp Outdated Show resolved Hide resolved
aravisApp/Db/aravisCamera.template Outdated Show resolved Hide resolved
aravisApp/Db/aravisCamera.template Outdated Show resolved Hide resolved
This allows selecting between getting the timestamp from the camera or
from the system running the IOC.

The system timestamp is obtained from the aravis buffer which was saved on
the reception of the first packet of the image, this is more precise than
timestamping after receiving the full frame.
@EmilioPeJu
Copy link
Member Author

Given that my use-case turned out to work fine using the epics timestamp, I'm closing the PR

@EmilioPeJu EmilioPeJu closed this Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants