View on GitHub

SbigSharp

C# wrapper of SBIG SDK

Download this project as a .zip file Download this project as a tar.gz file

SbigSharp is an unofficial C# wrapper library for Santa Barbara Instrument Group's (SBIG) software development kit (SDK). They've built a great SDK and C# has great facilities for wrapping C code and DLLs, and here we combine them both for your convenience and astronomical pleasure!

Contents

There are two primary pieces of useful content in this repository.

SbigSharp.cs

This file contains all the wrapping code to interface with SbigUDrv.dll. It's broken into three parts: types, enums, and code. The code mainly centers around calling the main function in SBIG's DLL, SBIGUnivDrvCommand. There are some helper functions at the end of the file, and sprinkled in with the types. With this file and SbigUDrv.pdf, one should easily be able to understand what's happening on both the software and camera level.

Program.cs

This is largely example code in the form of a test program.

Project files

You'll also find project and other ancillary files to get you started building using Visual Studio instantly!

Status

The full SBIG SDK has not been exhaustively exposed, but most things that most people would want to do should be there. If not, it should be easy enough to follow the pattern and create whatever is needed. Testing thus far has been against the SBIG camera simulator, but real hardware testing will commence shortly and any issues found will be corrected. Any SBIG cameras made available to the project owner will happily be tested for compatibility.

Thanks

This software was made possible by the SETI Institute. Their mission is to explore, understand, and explain the origin and nature of life in the universe, and to apply the knowledge gained to inspire and guide present and future generations. If you find this library helpful, you're encouraged to support SETI. And for a wonderful and incredibly large set of fascinating science lectures, check out the Institute's colloquium series on their website, YouTube, or EventBrite.

SETI Institute

License and Support

This project is made freely available under the MIT License.