Search found 63 matches
- Sat Aug 18, 2018 12:37 am
- Forum: Scripting
- Topic: Exposure & Gain
- Replies: 32
- Views: 12383
Re: Exposure & Gain
Hi Kirk, the TrackBar (slider) controls that I use are happy with floating point values - that of course just means that someone else has solved the problem for me and I don't have to worry about it... If I had to deal with integer only track bars I'd start off by setting the limits so for instance...
- Fri Aug 17, 2018 4:38 pm
- Forum: Scripting
- Topic: Exposure & Gain
- Replies: 32
- Views: 12383
Re: Exposure & Gain
Hi Kirk, AvailableValues is for controls that take multiple choice options (like 'On'/'Off', or 'Avi', 'Fits', 'Png' etc). It doesn't apply to controls that have numeric values. cheers, Robin Thanks Robin. A big ask now. I am trying to emulate the Exposure TrackBar from SharpCap on to my script's G...
- Thu Aug 16, 2018 4:53 pm
- Forum: Scripting
- Topic: Exposure & Gain
- Replies: 32
- Views: 12383
Re: Exposure & Gain
Hi, yes, of course... >>> print SharpCap.SelectedCamera.Controls.Exposure.Minimum 0.001 >>> print SharpCap.SelectedCamera.Controls.Exposure.Maximum 1200000.0 >>> print SharpCap.SelectedCamera.Controls.Exposure.Value 20.0 >>> print SharpCap.SelectedCamera.Controls.Exposure.ExposureMs 20.0 >>> prin...
- Thu Aug 16, 2018 11:51 am
- Forum: Scripting
- Topic: Exposure & Gain
- Replies: 32
- Views: 12383
Exposure & Gain
Is it possible to retrieve the camera specific exposure & gain settings from SharpCap. i.e. I wish to populate a dropdown list on a GUI with the MIN to MAX exposure times for the given connected camera also I would have a Trackbar on the GUI to mirror the Gain trackbar in SharpCap e.g only up to...
- Fri Aug 10, 2018 3:49 pm
- Forum: Scripting
- Topic: Automated LRGB Sequence Capture
- Replies: 15
- Views: 9293
- Fri Aug 10, 2018 12:05 pm
- Forum: Scripting
- Topic: Automated LRGB Sequence Capture
- Replies: 15
- Views: 9293
Re: Automated LRGB Sequence Capture
I have now made a few changes to make the script more usable, still no GUI though.
I've been through the wringer attempting to create a GUI in Python & decided that it's just not worth the effort.
Here is my current code, tested & working: Kirk
I've been through the wringer attempting to create a GUI in Python & decided that it's just not worth the effort.
Here is my current code, tested & working: Kirk
- Fri Aug 10, 2018 12:02 pm
- Forum: Scripting
- Topic: Automated LRGB Sequence Capture
- Replies: 15
- Views: 9293
Re: Automated LRGB Sequence Capture
Thanks Dave, I have seen this & have based my script partially on this apart from mine lack a GUIturfpit wrote: ↑Thu Aug 09, 2018 7:13 pm Have a look at this post viewtopic.php?f=14&t=191&hilit=script+filter+wheel
Dave
Cheers
Kirk
- Fri Aug 10, 2018 12:01 pm
- Forum: Scripting
- Topic: Automated LRGB Sequence Capture
- Replies: 15
- Views: 9293
Re: Automated LRGB Sequence Capture
Hi Robin, thanks for replying.admin wrote: ↑Thu Aug 09, 2018 6:21 pm Try this
RobinCode: Select all
clr.AddReference("SharpCap.Base.dll") from SharpCap.Base import NotificationStatus from SharpCap.Base import NotificationMessage
I did try this but to no avail, I have now altered the way notifications are been shown.
Thanks
- Thu Aug 09, 2018 1:40 pm
- Forum: Scripting
- Topic: Automated LRGB Sequence Capture
- Replies: 15
- Views: 9293
Re: Automated LRGB Sequence Capture
OK, I've been muddling through and so far have got a script that works, albeit there is some fine tuning to do. At the moment the variables such as TimeLimit & number of sequences are hard coded. I am going to make the script more user friendly with a form to allow input of these variables. I mi...
- Thu Aug 09, 2018 9:24 am
- Forum: Scripting
- Topic: Automated LRGB Sequence Capture
- Replies: 15
- Views: 9293
Automated LRGB Sequence Capture
Hi, I am trying to work with the scripting in SharpCap in order to automate capturing LRGB planetary datasets with my filterwheel. I stumbled across this script: miniCAM5F_LRGB_Capture.py.txt but I am getting errors with: from SharpCap.UI import NotificationMessage from SharpCap.UI import Notificati...