Gain and offset in dragscript exposure

Hi,
Hi I have a QHY camera which I have setup with my preferred gain and offset under ‘camera’ tab in setup form.

When operating from drag script exposure form also have gain and offset which defaults to 0. Wiki page indicates ’ * Gain: Set the camera’s Gain value to the number in the spinner control. Works only if you are using the ASI Camera native driver.’ After taking the exposure it apprears to be overwriting my Camera tab preference.

Is there a way for the dragscript exposure to keep main preference for the gain and offset?

Thanks
Raki

DragScript editor doesn’t have access to your camera setting because is another application than Voyager.
You must define the gain and offset value from the editor in block configuration.

All the best
Leonardo

1 Like

Thanks Leonardo. I have updated my drag scripts and they are all good. I am still having some trouble to set offset from on the fly’s sequence. Images from on the fly sequence defaults to 0 offset. Do i need to reset the offset somewhere else?

You can set gain and offset manually or choosing from the magnifying glass icon to select the Gain and Offset from the presets defined in the ASI Camera native driver setup.

Also you have the copy and paste for elements.

I suggest to not start from zero the sequence each time, create your base sequence and ineriths from them using the save as button.

All the best
Leonardo

Hi Leonardo,
I do have the offset set to 30 in the Setup From>Camera for my QHY.
When using the functions like ''Blind solve" from on the fly I can open the file in fits viewer and see that fits header for offset is set appropriately to 30. But when i am running the actual sequence saved files all show 0 offset.

Regards
Raki

Hi Raki,

which value you have in your sequence elements ?
Gain and offset in sequence file coming from the single elements configuration, so check you have the right values.

All the best
Leonardo

Thanks Leonardo, that was the issue. Solved now.
Regards
Raki

Thanks for the feedback Raki … I just tested with my QHY600 and all was ok.

All the best
Leonardo