Copying files at the end of a sequence - run command issues
Posted: Sat Oct 26, 2024 2:19 pm
My astronomy miniPC for some reason saves *VERY* slowly to it's SD card slot, particularly during a imaging run (my guess is it's on the same USB bus as the cameras and thus competing for cycles). It adds about 10 seconds to each image capture over saving to the internal flash drive (so a 30 second image will take 42 seconds vs 32 seconds in the Deep Sky sequencer). As a result, my preferred workflow is to save to the internal drive while imaging and the copy those files to the SD card after the run is complete.
While I would love this to be an option that was available as part of the "After Capture Complete" features in the Deep Sky Sequence Planner, I get that my case is a bit of corner case. So I am attempting to use the 'Advanced Edit' (also called the 'Sequence Editor') to do this. I don't see any thing in the 'Available Steps' that has to do with file management, so I figured I'd just run a program and use the copy feature. And I can't get it to work. Here's the output:
6:46:02 AM Starting :
6:46:02 AM Starting : Run 'copy' with parameters 'C:\Users\astro\Desktop\SharpCap-Captures\Study D:\SharpCap-Captures-SD' and wait for it to exit
6:46:02 AM Error : 'An error occurred trying to start process 'copy' with working directory 'C:\Program Files\SharpCap 4.1 (64 bit)'. The system cannot find the file specified.' while running step Run 'copy' with parameters 'C:\Users\astro\Desktop\SharpCap-Captures\Study D:\SharpCap-Captures-SD' and wait for it to exit
6:46:02 AM End : Sequence halted due to error.
6:46:02 AM Finished
I can run "copy C:\Users\astro\Desktop\SharpCap-Captures\Study D:\SharpCap-Captures-SD" from the command line successfully, so it's not a filename error.
What am I missing? Is there a better way to do this?
As a final question, assuming running a program is the right way to go, currently I'm hard-coding the "Study" directory. I'd love to be able to use a variable like <Target Object Name> in place of "Study". Is there a way to do that?
While I would love this to be an option that was available as part of the "After Capture Complete" features in the Deep Sky Sequence Planner, I get that my case is a bit of corner case. So I am attempting to use the 'Advanced Edit' (also called the 'Sequence Editor') to do this. I don't see any thing in the 'Available Steps' that has to do with file management, so I figured I'd just run a program and use the copy feature. And I can't get it to work. Here's the output:
6:46:02 AM Starting :
6:46:02 AM Starting : Run 'copy' with parameters 'C:\Users\astro\Desktop\SharpCap-Captures\Study D:\SharpCap-Captures-SD' and wait for it to exit
6:46:02 AM Error : 'An error occurred trying to start process 'copy' with working directory 'C:\Program Files\SharpCap 4.1 (64 bit)'. The system cannot find the file specified.' while running step Run 'copy' with parameters 'C:\Users\astro\Desktop\SharpCap-Captures\Study D:\SharpCap-Captures-SD' and wait for it to exit
6:46:02 AM End : Sequence halted due to error.
6:46:02 AM Finished
I can run "copy C:\Users\astro\Desktop\SharpCap-Captures\Study D:\SharpCap-Captures-SD" from the command line successfully, so it's not a filename error.
What am I missing? Is there a better way to do this?
As a final question, assuming running a program is the right way to go, currently I'm hard-coding the "Study" directory. I'd love to be able to use a variable like <Target Object Name> in place of "Study". Is there a way to do that?