ASI Linux SDK beta version

any question related to our SDK and driver

Moderators: yang, Support@ZWO

JamesF
Posts: 90
Joined: Wed Feb 20, 2013 10:27 pm

Re: ASI Linux SDK beta version

Post by JamesF » Wed Oct 09, 2013 12:12 pm

And I have now discovered that getImage() appears to hang if I set the value to 100, but at 40 the image is rock-solid which makes me very happy :)

James

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

Re: ASI Linux SDK beta version

Post by Sam » Thu Oct 10, 2013 12:58 am

yes, you need to turn down this value.
it run at 30fps at default value as 86
and it can only reach 15fps if you turn it to half 43.

but this won't affect the fps of small resolutions like 320X240 which is still lower bandwidth required than 15fps at full resolution.

so this value is used to control the data flow bandwidth
ZWO Founder
Location:lon=120.6 lat=31.3
SuZhou China

JamesF
Posts: 90
Joined: Wed Feb 20, 2013 10:27 pm

Re: ASI Linux SDK beta version

Post by JamesF » Thu Oct 10, 2013 8:08 am

Ok, I understand now. Thank you.

James

JamesF
Posts: 90
Joined: Wed Feb 20, 2013 10:27 pm

Re: ASI Linux SDK beta version

Post by JamesF » Thu Oct 10, 2013 6:36 pm

More questions :)

I'm testing binning with my 120MM. When I do:

setImageFormat ( 640, 480, 2, IMG_RAW8 );

I get some debug output from the SDK that says:

Bulk transfer length set to 1228800 [0x12c000] .

Because the resolution is 640x480, I would expect the transfer length to be 307200 ( = 640x480 ). That's what happens when binning is disabled. 1228800 is 1280x960. Does that mean that for binning the full 1280x960 frame is being transferred from the camera and that the binning is being done in software?

Thanks,
James

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

Re: ASI Linux SDK beta version

Post by Sam » Fri Oct 11, 2013 2:16 am

Hi James
ys,the bin2 function is implemented by software
so 640X480 @bin2 's real resolution is 1280X960
ZWO Founder
Location:lon=120.6 lat=31.3
SuZhou China

Post Reply