tag:blogger.com,1999:blog-252642453295590453.post4826430051956026665..comments2022-03-01T07:12:28.909+00:00Comments on Steve Marple's blog: AuroraWatch UK camera update #1Steve Marplehttp://www.blogger.com/profile/15582257560382364498noreply@blogger.comBlogger23125tag:blogger.com,1999:blog-252642453295590453.post-80032937026907563832018-01-01T20:37:29.530+00:002018-01-01T20:37:29.530+00:00Hi Steve,
Thanks for sharing this great work! Any ...Hi Steve,<br />Thanks for sharing this great work! Any experiences on auto-exposure mode under night sky? <br />Thanks, <br />- HarriHarrihttps://www.blogger.com/profile/02209359073652870772noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-88834956891079928112017-11-27T13:56:39.449+00:002017-11-27T13:56:39.449+00:00pip3 install zwoasipip3 install zwoasiSteve Marplehttps://www.blogger.com/profile/15582257560382364498noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-83870374440040512762017-11-27T13:50:26.685+00:002017-11-27T13:50:26.685+00:00Thanks a lot for your fast answere!
I've inst...Thanks a lot for your fast answere!<br /><br />I've installed it with 'pip install zwoasi' and can't import zwoasi in python 3.<br />How do I install it for python 3?Anonymoushttps://www.blogger.com/profile/02976187867372516955noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-23896917664168881422017-11-27T13:44:40.277+00:002017-11-27T13:44:40.277+00:00The module should work for both Python 2 and Pytho...The module should work for both Python 2 and Python 3. If you experience any problems please create an issue on the Github page: https://github.com/stevemarple/python-zwoasiSteve Marplehttps://www.blogger.com/profile/15582257560382364498noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-41849100335497849552017-11-27T13:41:47.201+00:002017-11-27T13:41:47.201+00:00Hello,
I want to use the zwo asi 120mm with pytho...Hello,<br /><br />I want to use the zwo asi 120mm with python and opencv on raspberry pi 3. I've installed opencv for python 3.<br />Is your binding also available for python 3?<br /><br />Thanks<br />ErnstAnonymoushttps://www.blogger.com/profile/02976187867372516955noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-47447789233256548072017-09-05T11:34:54.656+01:002017-09-05T11:34:54.656+01:00The problems are because the examples need to know...The problems are because the examples need to know the location of ZWO SDK library. This path depends on where you installed it, and whether you are using an Intel processor with x86 (32 bit), x64 (64 bit) OS, or an ARM operating system.<br /><br />Please update to version 0.0.22. This fixes the binning demo. Then run either demo. Be sure to call the program with the full path to the libASICamera2.so (for Linux) or to ASICamera2.dll (for Windows).Steve Marplehttps://www.blogger.com/profile/15582257560382364498noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-30511661413373048952017-09-05T10:13:48.593+01:002017-09-05T10:13:48.593+01:00Hi Steve!
Sorry my English is not very good...
The...Hi Steve!<br />Sorry my English is not very good...<br />There is some question...<br />When I run the binning_demo.py I will get Error: "AttributeError: 'NoneType' object has no attribute 'ASIGetNumOfConnectedCameras'"<br /><br />Then I run the zwoasi_demo.py I will get: "The filename of the SDK library is required (or set ZWO_ASI_LIB environment variable with the filename)"<br />What should I do to solve this problem??Anonymoushttps://www.blogger.com/profile/11963489424270211787noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-17452644823668144402017-08-24T13:45:22.886+01:002017-08-24T13:45:22.886+01:00Are you using the USB 2.0 or USB 3.0 version of th...Are you using the USB 2.0 or USB 3.0 version of the ASI 120MM? ZWO report that the USB 3.0 version has better compatibility with Linux. I wasn't able to get the USB 2.0 version to work under Linux, with the same error you report.Steve Marplehttps://www.blogger.com/profile/15582257560382364498noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-46137795100672901372017-08-24T13:28:14.194+01:002017-08-24T13:28:14.194+01:00This isn't a feature I've tested since I d...This isn't a feature I've tested since I don't have a shutter or the ability to create true dark frames with my camera. The documentation indicates the file should be BMP file using RGB8 raw format. Steve Marplehttps://www.blogger.com/profile/15582257560382364498noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-12617276454930417862017-08-23T17:34:46.869+01:002017-08-23T17:34:46.869+01:00Hi Steve!
Congrats for your work, I managed to ru...Hi Steve!<br /><br />Congrats for your work, I managed to run an ASI 120MM with your demo code, but when it try to capture I get this error:<br /><br />Enabling stills mode<br />Capturing a single 8-bit mono image<br />Traceback (most recent call last):<br /> File "zwoasi_demo.py", line 100, in <br /> camera.capture(filename=filename)<br /> File "/usr/local/lib/python2.7/dist-packages/zwoasi/__init__.py", line 535, in capture<br /> raise ZWO_CaptureError('Could not capture image', status)<br />zwoasi.ZWO_CaptureError: Could not capture image<br /><br />What do you think it could be? Thanks a lot.<br /><br />All my bestRhohttps://www.blogger.com/profile/15490047906577247165noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-20550680893108859462017-08-07T21:44:59.967+01:002017-08-07T21:44:59.967+01:00Hi! Great work, I am using your Python wrapper for...Hi! Great work, I am using your Python wrapper for my all sky camera (ASI120MC-S)<br /><br />I have one question tho - for dark frame substraction, no matter what I do I get "Invalid file format" error (ZWO_IOError 7). I tried with bmp, fit, tiff,... (it should be bmp afaik but I tried others since it did not work).<br /><br />Best Regards!Anonymoushttps://www.blogger.com/profile/09307562760075019317noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-47400330977524206442017-05-09T11:22:14.904+01:002017-05-09T11:22:14.904+01:00Thank you Steve. It was actually an error from my ...Thank you Steve. It was actually an error from my code, I was initiating the camera outisde the multithreading. Anyway, I added the locks as you did for safety.Anonymoushttps://www.blogger.com/profile/15786729887028685545noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-41756583259016928632017-05-01T22:30:34.533+01:002017-05-01T22:30:34.533+01:00It's not necessary for the capture function to...It's not necessary for the capture function to be called from the main thread. My cameralogger software, which uses zwoasi, calls capture() from a new thread each time an image is needed. To make sure everything works correctly you will need to use locks so that only one thread accesses shared resources (variables, hardware etc) at any one time. If you look at https://github.com/stevemarple/cameralogger/blob/master/cameralogger/bin/camerad.py and https://github.com/stevemarple/cameralogger/blob/master/cameralogger/zwo.py you can find examples of how I do this.Steve Marplehttps://www.blogger.com/profile/15582257560382364498noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-87970465944257973332017-05-01T21:17:29.830+01:002017-05-01T21:17:29.830+01:00Hi Steve
Thank you for this convenient library.
I ...Hi Steve<br />Thank you for this convenient library.<br />I have however a problem with the capture function: when I use it in a main program it works just fine but when I use it inside a program with parralelized threads it does not work. My guess is that it needs to be in the main thread which is not the case in the program I made. How can I fix that ? Anonymoushttps://www.blogger.com/profile/15786729887028685545noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-54654264275629043832017-02-14T23:31:28.163+00:002017-02-14T23:31:28.163+00:00Glad you have it working. Please post back here if...Glad you have it working. Please post back here if you create any interesting code using the zwoasi module.Steve Marplehttps://www.blogger.com/profile/15582257560382364498noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-36934686439544579202017-02-14T23:18:59.909+00:002017-02-14T23:18:59.909+00:00Hey Steve,
It worked! I was just missing USB dri...Hey Steve, <br /><br />It worked! I was just missing USB drivers so I could not communicate with the camera. Everything is working fine now! Thank you so much for everything :) <br />Anonymoushttps://www.blogger.com/profile/16754995673865448492noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-79043392731815750482017-02-14T18:06:34.171+00:002017-02-14T18:06:34.171+00:00Hi Daniel,
Have you installed the ASI SDK from htt...Hi Daniel,<br />Have you installed the ASI SDK from https://astronomy-imaging-camera.com/software/ ? I've not tried using the SDK on a Mac but there should be some demo programs in there that you can use to check everything is ok. My Python module needs to know the location of the libASICamera2 library (on the Mac its called libASICamera2.dylib).<br /><br />You can either set an environment variable ZWO_ASI_LIB with the full path and file name of the library or you can call the zwoasi_demo.py program with the full path and name of the library, eg,<br /><br />python zwoasi.py /Users/Daniel/SDK/lib/mac/libASICamera2.dylib<br /><br />Do you get any error messages when you run the python demo program?Steve Marplehttps://www.blogger.com/profile/15582257560382364498noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-42734271262177477842017-02-14T17:52:02.673+00:002017-02-14T17:52:02.673+00:00Hi Steve,
I'm using a ZWO ASI 174MM. I'm ...Hi Steve,<br /><br />I'm using a ZWO ASI 174MM. I'm relatively new to python and was wondering if you could give me some extra information/help on how to setup the python wrapper you made for use on a Macbook? <br /><br />I've tried a few things but I am currently stuck. I can't get your scripts to detect the camera! <br />Anonymoushttps://www.blogger.com/profile/16754995673865448492noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-51073986225104670662017-02-06T22:27:39.628+00:002017-02-06T22:27:39.628+00:00PoE does indeed work ok with the ASI174MC and ASI1...PoE does indeed work ok with the ASI174MC and ASI178MC cameras. It was a silly configuration problem that lead me to think becaue the camera wasn't starting up properly it must be power-related. That's because I had some bad experiences with earlier Raspberry Pis and USB, especially when hot-plugging devices.Steve Marplehttps://www.blogger.com/profile/15582257560382364498noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-61372269761085362982017-02-05T22:46:18.152+00:002017-02-05T22:46:18.152+00:00The plan is to use PoE but right now I'm not s...The plan is to use PoE but right now I'm not sure if that is possible. I'm having a few issues with the Raspberry Pi 3, PoE and the USB camera. PoE operation is possible with the Raspberry Pi 2 and the Raspberry Pi v2 camera.<br /><br />I've tried to avoid situations which cause repeated writes to the SD card. I remove the swap file (apt-get remove dphys-swapfile) and mount a small tmpfs filesystem which I use for non-essential files.<br /><br />For the camera images I'm thinking of storing them for a short time in a tmpfs filesystem. There would be a regular cron job to rsync them to another server (the --remove-source-files option will be essential). Files on the tmpfs filesystem that are older than a certain age would be transferred to local persistent storage to cover times when the remote server is not accessible. Can you forsee any problems with that?<br /><br />SteveSteve Marplehttps://www.blogger.com/profile/15582257560382364498noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-9132957473964303742017-02-05T15:05:48.962+00:002017-02-05T15:05:48.962+00:00Cool. :) I noticed you've done PoE things befo...Cool. :) I noticed you've done PoE things before so imagined that that might be the case. Are you intending to run the OS from USB or MicroSD? I've noticed occasional SD card corruption still with B+ (most commonly) and 2 (less so) after a large batch of writes (doing upgrades) no matter the quality of PSUs and memory cards, have you ever noticed similar? I keep meaning to try out the method of using the SD card just for the boot partition and then hand-off to a USB device instead to see if that's more resilient. Having said that, sans heavy bouts of writing I've found the Model 2 to have good up-time for home projects like ADS-B receiver node.Julie Brandonhttps://www.blogger.com/profile/06709867133605316204noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-63322288034201278162017-02-04T19:49:32.372+00:002017-02-04T19:49:32.372+00:00The plan is to use power-over-ethernet so that the...The plan is to use power-over-ethernet so that the Raspberry Pi can be located outside at a convenient location. I need to test the system outside for a while before the final deployment to check there are no issues with the power. I hope to run the test this month.Steve Marplehttps://www.blogger.com/profile/15582257560382364498noreply@blogger.comtag:blogger.com,1999:blog-252642453295590453.post-11141223287050689082017-02-04T19:16:03.067+00:002017-02-04T19:16:03.067+00:00He Steve. As a matter of interest, how are you po...He Steve. As a matter of interest, how are you powering it all?Julie Brandonhttps://www.blogger.com/profile/06709867133605316204noreply@blogger.com