Page 1 of 1

Saving 16bit txt file to Network Drive

Posted: Fri Jun 26, 2026 11:55 pm
by donboy
I’ve been trying to use a network drive to store my captures. All image files get stored very quickly including the raw .fits images. what hangs up is the associated.txt file for the .fits files. The system hangs for several minutes until the .txt file completes it’s transfer. All fine with the as is and without changes .png and .txt

Any thoughts?

Regards,
Don

Re: Saving 16bit txt file to Network Drive

Posted: Sat Jun 27, 2026 10:08 am
by admin
Hi,

my suspicion here is that it's actually the FITS files taking the time to be transferred, but the system accepts the whole file being written by SharpCap and gets on with sending it over the network in the background. Then when the little text file gets written, the windows is like 'can't save that just yet, still busy moving the data for the FITS file'.

You can turn off the capture settings text file creation in the saving settings page if I remember rightly - worth trying that to see if the whole problem goes away (in which case I'm wrong about the above), or if it just shifts around and shows in a different way.

cheers,

Robin

Re: Saving 16bit txt file to Network Drive

Posted: Mon Jun 29, 2026 3:23 am
by donboy
Saving large uncompressed FITS files directly to network drives is slow because of network latency, limited upload bandwidth, and high I/O overhead from packet processing. Network shares (e.g., SMB) require every data block to be acknowledged, drastically reducing speeds over Wi-Fi or slower connections.

Re: Saving 16bit txt file to Network Drive

Posted: Wed Jul 01, 2026 2:44 am
by donboy
Strange the local saved .fit files saved to he network drive works just fine and files copy quickly. So what is different about saving directly to network drive than saving from locally saved files?

Regards,
Don

Re: Saving 16bit txt file to Network Drive

Posted: Wed Jul 01, 2026 1:12 pm
by admin
Hi,

a good question - SharpCap uses an external library to handle reading/writing FITS files. I wonder if that ends up writing the FITS files in lots of little bits (and possibly even reading other bits back and overwriting bits while saving) - that would be slow over the network, while a file copy later just starts at the beginning of the file and works its way through with no messing around.

I am reluctant to try anything like building the entire FITS file in memory before writing it out - that could lead to out-of-memory errors when writing large FITS that weren't happening before.

To be honest, it's probably best to capture locally and then rig something up to copy/sync the files across - as well as problems with speed, a temporary loss of the network drive can bring the whole SharpCap session to a halt as writing captured files will suddenly fail.

cheers,

Robin