Documentation for SNAP mode?

any question related to our SDK and driver

Moderators: yang, ray, chad

Documentation for SNAP mode?

Postby jdlogicman » Mon Feb 05, 2018 5:37 pm

The only mention of SNAP mode is one comment in the header for ASIStartVideoCapture()

Is SNAP mode different than video mode, and if so, how?
jdlogicman
 
Posts: 6
Joined: Mon Feb 05, 2018 5:26 pm

Re: Documentation for SNAP mode?

Postby chad » Tue Feb 06, 2018 2:15 am

Hi,
In video mode, the data provided by the camera is continuous. But in snap mode, the camera only gives one frame of data.
So if you want to see continuous effects in sanp mode, you have to call snap continuously. But in video mode, you can call it once.
Thanks
Chad
ZWO Driver Engineer
Location:lon=120.6 lat=31.3
SuZhou China
User avatar
chad
 
Posts: 233
Joined: Thu Feb 09, 2017 4:58 am

Re: Documentation for SNAP mode?

Postby jdlogicman » Wed Feb 07, 2018 6:15 pm

So, just to be clear, video mode is comprised of these calls:
- ASIStartVideoCapture
- ASIGetVideoData
- ASIGetDroppedFrames (optional)
- ASIStopVideoCapture


and SNAP mode is comprised of three calls:
- ASIStartExposure
- ASIGetExpStatus (until it indicates that it is ready)
- ASIGetDataAfterExp

In that case, the comment I saw about SNAP mode was indicating that ASIStartVideoCapture will fail if ASIStartExposure has been called, and you need to call ASIStopExposure before using video mode.

Do I have it right?
jdlogicman
 
Posts: 6
Joined: Mon Feb 05, 2018 5:26 pm

Re: Documentation for SNAP mode?

Postby chad » Thu Feb 08, 2018 1:12 am

Yes, you are right.
Best Regards
Chad
ZWO Driver Engineer
Location:lon=120.6 lat=31.3
SuZhou China
User avatar
chad
 
Posts: 233
Joined: Thu Feb 09, 2017 4:58 am


Return to SDK & Driver

Who is online

Users browsing this forum: No registered users and 1 guest