ASI Linux SDK 0.0.0205 beta version 20140210

any question related to our SDK and driver

Moderators: yang, Support@ZWO

Post Reply
User avatar
Sam
Posts: 2799
Joined: Thu Feb 21, 2013 2:51 am

ASI Linux SDK 0.0.0205 beta version 20140210

Post by Sam » Mon Feb 10, 2014 5:07 am

here is a new beta version of ASI SDK on Linux
it support X86 X64
armv5 and up
armv6hf ( pi )

http://www.zwoptical.com/Software/ASIlinuxSDK.tar

welcome feedback, this will be the final first release verion if no bug found
ZWO Founder
Location:lon=120.6 lat=31.3
SuZhou China

hastrh2o
Posts: 2
Joined: Sat Mar 22, 2014 9:26 am

Re: ASI Linux SDK 0.0.0205 beta version 20140210

Post by hastrh2o » Fri Apr 11, 2014 1:54 am

Hi all,

Trying to use the cam (120MC) with a commande line interface under linux, I'm having some trouble with the binning : what's the way to use it ?
If I do "setImageFormat(1280, 960, 2,IMG_RGB24);" what is the size of the buffer I'll need to give to the driver ? 1280x960 or 640x480 ?
And is binning working with all image format and color mode ?

Regards,

Ronan

User avatar
Sam
Posts: 2799
Joined: Thu Feb 21, 2013 2:51 am

Re: ASI Linux SDK 0.0.0205 beta version 20140210

Post by Sam » Fri Apr 11, 2014 3:31 am

Hi Ronan
there is some demo you can run under the demo directory
ZWO Founder
Location:lon=120.6 lat=31.3
SuZhou China

hastrh2o
Posts: 2
Joined: Sat Mar 22, 2014 9:26 am

Re: ASI Linux SDK 0.0.0205 beta version 20140210

Post by hastrh2o » Sat Apr 12, 2014 3:23 am

Hi Sam,

In the examples, there's nothing more than "setImageFormat(width, height, 1, IMG_Y8)"

I can't find examples with bining neither RAW8 or RW16. And I got problems with these three. RAW8 or 16 give me a picture filled with 0. with Y8 and RGB24 eveything is working right.
In Yaaca from Christian RAW8 and RAW16 are working but I can't figure out why it isn't in my program...

That's why I would appreciate to have the detail of the image array that is providing ASICamera.o.

Thanks,

Ronan

User avatar
Sam
Posts: 2799
Joined: Thu Feb 21, 2013 2:51 am

Re: ASI Linux SDK 0.0.0205 beta version 20140210

Post by Sam » Mon Apr 14, 2014 2:19 am

Hi Ronan
you should call setImageFormat(640, 480, 2,IMG_RGB24); to setup bin2 mode
and the buffer size should be 640X480*3 for RGB24 mode
and 640*480*1 for RAW8 mode
you can contact us though email to get better and faster response:
sam.wen(at)zwoptical.com
ZWO Founder
Location:lon=120.6 lat=31.3
SuZhou China

Post Reply