Skip to content

Adding a new camera (Mightex SB-series camera) adapter#604

Merged
marktsuchida merged 2 commits intomicro-manager:mainfrom
jintaozheng88:main
May 1, 2025
Merged

Adding a new camera (Mightex SB-series camera) adapter#604
marktsuchida merged 2 commits intomicro-manager:mainfrom
jintaozheng88:main

Conversation

@jintaozheng88
Copy link
Copy Markdown
Contributor

@jintaozheng88 jintaozheng88 commented Mar 20, 2025

Dear sir,

We (Mightex systems) add a new camera adapter (Mightex SB-series camera) in a new folder of \Mightex_SB_Cam under the \DeviceAdapters. Please note there're two low level DLLs under \Mightex_SB_Cam\lib64, these two DLL files have to be at the same dir of the adapter library file.
We didn't do any other modifications to other codes.
There're 3 previous commits which were for another LED driver adapter, but as the project was postponed...the adapter codes weren't added actually.

The product page of the SB cameras is as following:
https://www.mightexsystems.com/product/usb3-0-monochrome-or-color-1-5mp-global-shutter-cmos-camera-8-or-12-bit

The brief description of the SB camera adapter is as following:_
This Micro-Manager adapter can be used to operate Mightex SB-Series Camera. Please refer to Mightex SB-Series Camera user’s manual for more details of the camera control.
Mightex SB-Series cameras are USB3.0 cameras with Sony Sensor,The adapter has several properties that can be used to control the camera, with the property items, one can set parameters such as Resolution, Exposure Time, Gain, ROI, Offset_XY…etc. Note that the Exposure Time control has to set with the Property item (Not on the main window). It’s recommended for user to set full resolution when using SB-Series camera.

Thanks!

JT

@marktsuchida
Copy link
Copy Markdown
Member

Thanks you. Would it be okay if I make some changes so that this code builds from the headers and libraries in your official SDK download (https://mightex.wpenginepowered.com/wp-content/uploads/2025/01/SBCamera_Release_250108.zip)?

@jintaozheng88
Copy link
Copy Markdown
Contributor Author

Sure, the header/libaries are the same as the SDK release, so please go ahead. Thanks!

jintaozheng88 and others added 2 commits May 1, 2025 16:54
Mightex SB-Series camera adapter is added, source code are under the \DeviceAdapters\Mightex_SB_Cam.
- Use VS2019 toolset
- Use SDK from 3rdparty
- Add to solution
@marktsuchida
Copy link
Copy Markdown
Member

@jintaozheng88 Apologies for the long wait.

I have force-pushed to your branch to make the following changes:

  • Skip the commits that added and then removed WheeLED
  • Exclude the proprietary files (SB Camera SDK header and DLLs) from the history
  • Adjust project settings to build using the header from 3rdparty (our private dependency repository)

Two things of note:

  • I also removed the build.xml (which contained incorrect filenames anyway), because I think we'd rather not ship your DLLs with Micro-Manager (we don't want our installer to grow in size too much, and these things add up). Instead, I added user instructions on a device page (Add device page for Mightex_SB_Cam micro-manager.github.io#179). You can further edit this page by submitting a pull request.
  • It looks like your official SDK does not contain the header SSBuffer_USBCamera_SDK_Stdcall.h. So I copied the version you had in this PR to 3rdparty. I did however check that the device loads (and says cannot communicate with device) using the DLLs from the official SDK. It would be nice if this header were included in future versions of your downloadable SDK so that people can build this device adapter themselves.

@marktsuchida marktsuchida merged commit 1fec2ad into micro-manager:main May 1, 2025
1 check passed
@jintaozheng88
Copy link
Copy Markdown
Contributor Author

Thanks, Mark, will add the mentioned header file in our SDK in the future release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants