Page 1 of 1

Setting computer timestamps "Time Offset" value with a script

Posted: Mon Aug 10, 2026 5:48 am
by graems
What is the script command to set the time offset value for computer timestamps of stored frames? I've searched but can't find it.

If not clear, I am talking about the value discussed in this topic:
viewtopic.php?p=49219#p49219

Thanks
Graem

Re: Setting computer timestamps "Time Offset" value with a script

Posted: Mon Aug 10, 2026 8:35 am
by admin
Hi Graem,

you just need to find the appropriate control among the camera controls and set the value - like this...

Code: Select all

SharpCap.SelectedCamera.Controls.FindByName("Apply Time Offset (ms)").Value = -123
cheers,

Robin

Re: Setting computer timestamps "Time Offset" value with a script

Posted: Tue Aug 11, 2026 4:44 am
by graems
Thanks Robin - I am just cluing in on how useful that command is...

Graem