Good afternoon all!
Is there a possibility of uploading a flat frame by running an IronPython script with the path to my flat frame instead of inserting it manually via the Camera Control Panel? If yes, does anyone know the command for that?
Cheers,
Ben
Upload Flat Frame for Preprocessing with a script
- admin
- Site Admin
- Posts: 13473
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: Upload Flat Frame for Preprocessing with a script
Hi Ben,
yes, you can do that no problem
The only complex part is that you need to use double backslash characters in the string literal to avoid python thinking \t is a tab character, etc.
cheers,
Robin
yes, you can do that no problem
Code: Select all
SharpCap.SelectedCamera.Controls.ApplyFlat.Value = "c:\\path\\to\\flat.fits"
cheers,
Robin
Re: Upload Flat Frame for Preprocessing with a script
Hi Robin,
Ahh okay thank you very much for the help!!
Best wishes,
Ben
Ahh okay thank you very much for the help!!
Best wishes,
Ben