Folder Monitor - Any way to delay processing?

Shooting in macro mode, techniques, tips & tricks
Post Reply
horshack
Posts: 10
Joined: 03.12.2023 18:50

Folder Monitor - Any way to delay processing?

Post by horshack »

I'm trying to use the Folder Monitor for a folder that my tethered camera is uploading focus stacked images into.

The problem is the monitor starts processing the first file(s) it sees immediately. This doesn't give any shooting application enough time to deposit all the files of the stack into the folder. As designed it doesn't appear the Folder Monitor feature would work for any scenario due to this behavior.

Is there a way to have the Folder Monitor wait a certain amount of time after seeing a new file before it scans the folder for all the files in the stack, so that there is time for all the files to reach the directory? Ideally it would let you configure the amount of time to wait after the last new file activity is detected, for example, wait 5 seconds after the final photo of a stack has been deposited into the folder.
User avatar
Catherine
Posts: 1477
Joined: 29.04.2019 22:38

Re: Folder Monitor - Any way to delay processing?

Post by Catherine »

Why do you want to wait? The strength of the folder monitor is that it processes the files as they appear and the result is ready almost immediately after the last file has been downloaded, rather than having to wait for however much time it takes to process the whole stack.
horshack
Posts: 10
Joined: 03.12.2023 18:50

Re: Folder Monitor - Any way to delay processing?

Post by horshack »

Catherine wrote: 19.05.2024 10:12 Why do you want to wait? The strength of the folder monitor is that it processes the files as they appear and the result is ready almost immediately after the last file has been downloaded, rather than having to wait for however much time it takes to process the whole stack.
Because if you don't wait then Helicon only uses the first two or three files of the stack rather than all 20, 30, etc, since the other files for the same stack are still in the process of being uploaded from the camera and deposited into the folder.
User avatar
Catherine
Posts: 1477
Joined: 29.04.2019 22:38

Re: Folder Monitor - Any way to delay processing?

Post by Catherine »

You just have to specify a longer time threshold so that it doesn't decide prematurely that the stack is complete.
horshack
Posts: 10
Joined: 03.12.2023 18:50

Re: Folder Monitor - Any way to delay processing?

Post by horshack »

Catherine wrote: 19.05.2024 14:52 You just have to specify a longer time threshold so that it doesn't decide prematurely that the stack is complete.
That doesn't work. The "Time between shots to split into stacks (seconds)" setting in the Folder Monitor dialog is only evaluated for the files that Helicon can already see. It is not being used to wait for new files to arrive in the folder. To demonstrate, I have that setting set to 10 seconds and Helicon still starts stacking immediately even though the files are still incoming at the rate of about 3 per second, which is much faster than the 10 seconds I have configured for that setting.

Here's a quick demonstration of the problem.I'm using an Olympus OM-1 tethered to my Windows PC over USB, running OM Capture to initiate the focus bracketing, configured to upload the exposures into a directory that I have configured Helicon to monitor.

https://www.youtube.com/watch?v=8CfRegGxtc8
User avatar
Catherine
Posts: 1477
Joined: 29.04.2019 22:38

Re: Folder Monitor - Any way to delay processing?

Post by Catherine »

The file creation time is being used. Maybe your software is setting file time to the shot taken time from EXIF or something like that? Check the creation times in the file attributes.
horshack
Posts: 10
Joined: 03.12.2023 18:50

Re: Folder Monitor - Any way to delay processing?

Post by horshack »

Catherine wrote: 19.05.2024 16:46 The file creation time is being used. Maybe your software is setting file time to the shot taken time from EXIF or something like that? Check the creation times in the file attributes.
Thanks. Based on your helpful reply I checked my camera's clock and it was one hour behind my Windows PC. When I synchronized the camera's clock to my PC, Helicon waited much longer before starting the stack, which is good, but it still started the stack before all the files were uploaded. Helicon appears to be applying my configured "Time between shots" value of 10-seconds against the first file it sees rather than the most recent file, so starting the stack 10 seconds after it sees the first file even though more files are incoming. If I change the "Time between shots" setting to a longer time like 60 seconds then it waits for all the files before starting the stack.

This is a good temporary solution but it causes unnecessary delays when multiple shooting stacks of various lengths. For example, if I shoot a stack with 50 shots I have to set "Time between shots" to a large value like 60 seconds to make sure Helicon waits for all the files. If I then immediately perform a 10-shot stack then Helicon is going to wait that same 60 seconds for the smaller stack.

As described in my OP, a nice solution would be to have Helicon apply its delay/wait from the most recent file it sees, rather than the first file.
User avatar
Catherine
Posts: 1477
Joined: 29.04.2019 22:38

Re: Folder Monitor - Any way to delay processing?

Post by Catherine »

Thanks for the explanation, I understand. Please wait, we are figuring out how exactly the time is measured, and whether or not this is how it was intended to work.
Post Reply