hi
can not get py script to turn on the cooler = 'on'
any one solved that problem..
the zwo camera is cooled.. so it has a set temp, and shows current temp fine.
but i can not get the script to TURN on the gui button for cooler always shows off..
when i run my script.
#SharpCap.SelectedCamera.Cooler.Value = 'on'
SharpCap.SelectedCamera.Controls[21].Value = 'On'
print ('Cooler ON?== ' + str(SharpCap.SelectedCamera.Controls[21].Value))
the second one runs with no erorrs.. but COOLER still says NONE
the first one crashes and says no such control.Cooler.Value
any one fixed this problem
joe
can not turn on cooler = 'On' in py script
Forum rules
If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs
Please also read about Troubleshooting USB Issues before posting.
*** Please do not post license keys - please report any problems with licensing to 'admin' by private message ***
Please include the following details in any bug report:
* Version of SharpCap
* Camera and other hardware being user
* Operating system version
* Contents of the SharpCap log after the problem has occurred.
[If SharpCap crashes, please send the bug report when prompted instead of including the log]
If you have a problem or question, please check the FAQ to see if it already has an answer : https://www.sharpcap.co.uk/sharpcap-faqs
Please also read about Troubleshooting USB Issues before posting.
*** Please do not post license keys - please report any problems with licensing to 'admin' by private message ***
Please include the following details in any bug report:
* Version of SharpCap
* Camera and other hardware being user
* Operating system version
* Contents of the SharpCap log after the problem has occurred.
[If SharpCap crashes, please send the bug report when prompted instead of including the log]
- admin
- Site Admin
- Posts: 13319
- Joined: Sat Feb 11, 2017 3:52 pm
- Location: Vale of the White Horse, UK
- Contact:
Re: can not turn on cooler = 'On' in py script
Hi,
The value you set is case sensitive, so you need to use something like
Cheers, Robin
The value you set is case sensitive, so you need to use something like
Code: Select all
SharpCap.SelectedCamera.Controls[25].Value = 'On'