ASI Linux SDK 0914 beta

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 0914 beta

Post by Sam » Mon Oct 14, 2013 7:51 am

here is the latest version of linux SDK
fixed 16bit output problem
included an arm version library
welcome test

http://www.zwoptical.com/software/asica ... 200914.zip
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 0914 beta

Post by JamesF » Mon Oct 14, 2013 6:36 pm

My capture application uses milliseconds for the exposure time, whereas I believe the exposure control uses microseconds. I multiple my values by 1000 when I call setValue().

With my ASI120MM in 16-bit mode, if I use an exposure of 36ms (so 36000 microseconds) everything works fine. But if I set an exposure time fo 35ms (35000 us) then the getImage call is very slow and returns 0 all the time.

In 8-bit mode this works fine.

Is there any obvious reason for this?

James

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

Re: ASI Linux SDK 0914 beta

Post by JamesF » Mon Oct 14, 2013 10:39 pm

I've just noticed that this problem happens at 640x480, but not at 1280x960.

James

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

Re: ASI Linux SDK 0914 beta

Post by Sam » Wed Oct 16, 2013 5:41 am

Hi James
there is a break to check something else when transfer in the hardware.
and the hardware is not fast enough.
so if the data size just meet the break then this will happen.

adjust the "USB Traffic" can fix it but it may move to 36 or 37ms

so there is such "dead area"
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 0914 beta

Post by JamesF » Wed Oct 16, 2013 8:29 am

Thank you for the explanation, Sam.

James

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

Re: ASI Linux SDK 0914 beta

Post by JamesF » Wed Oct 16, 2013 8:44 am

Actually, there's another little oddity with this version and the previous one. It's not a big issue because it's easy to correct in my initialisation code, but I thought I'd mention it since I've noticed it.

When my ASI120MM starts, it appears to have the image vertically flipped by default. That is, the image is returned as if I had called SetMisc(0,1).

This means that if I start the camera and the my application does, say, SetMisc(1,0) and then later on SetMisc(0,0) the image doesn't return to the original orientation.

It's easily fixed just by calling SetMisc(0,0) when I first configure the camera, but it confused me for a while :)

James

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

Re: ASI Linux SDK 0914 beta

Post by Sam » Thu Oct 17, 2013 5:09 am

thanks James
maybe we should add it to the init procedure
ZWO Founder
Location:lon=120.6 lat=31.3
SuZhou China

Post Reply