SDK DEMO and Sample Project

SDK Manual and Demo Program

 

SDK API Manual

SDK API introduction, including the use of common functions and some simple sample code.

Download: https://www.qhyccd.com/file/repository/latestSoftAndDirver/Demo/QHYCCD%20SDK%20API%20MENU_V2.6_EN_Beta.pdf

SDK Demo

C# Demo

It is for Windows platforms and can be compiled with VS2022.

Basic Live
The program has a display interface and can realize the basic continuous shooting functions. In continuous shooting mode, the program continuously acquires image data from the camera and displays it on the program interface. The program’s functions include scanning for camera connections, acquiring images for display, setting exposure time, gain, offset, and traffic, and switching modes for Binmode, bitsmode, and readmode.

Basic Single
The program has a display interface and can realize the basic single-frame shooting function. In single-frame shooting mode, the program will follow the user’s operation to execute the shooting task. The shooting task will start only when the user clicks the shooting button and then outputs one frame of image. The program will obtain the image data from the camera and display it on the interface. The software functions include scanning and connecting to the camera, acquiring and displaying images, setting the exposure time, gain and offset, and switching modes for Binmode and readmode.

Add the function of removing thermal noise based on Basic_Single.

VS2022 Demo

The program is for Windows and can be compiled using VS2022 or other toolset, such as VS2019.

Basic_Live
The program is a console program, with no display interface, running results will be output to the console. It can realize the basic continuous shooting function. In continuous mode, the program will continuously acquire image data from the camera, and the acquired data will be displayed in a separate window. The functions include scanning for camera connections, acquiring and displaying images, and setting exposure time, gain, offset, and traffic.

Basic_Single
The program is a console program, with no display interface, running results will be output to the console. It can realize the basic single-frame shooting function. The program will control the camera to run the shooting task and acquire a frame, the acquired data will be displayed in a separate window, and then the program will close automatically. The functions include scanning for connected cameras, acquiring and displaying images, and setting exposure time, gain, and offset.

Bin_Live
The function of BinMode setting is added to Basic_Live.

Bin_Single

The function of BinMode setting is added to Basic_Single.

Burst_Live

The burst function is added to Basic_Live. The function allows the camera to enter an idle state and control the start of shooting more precisely. The camera reads out a specified amount of image data at the same rate as in continuous shooting mode, and returns to the idle state when shooting is complete. It should be noted that each burst shot takes several hundred milliseconds to clear the data, so the actual shooting time is a little longer than in normal continuous mode. This function can be used instead of the single-frame mode if the high accuracy of the start of shooting and the speed of image readout is requested.

Burst_LiveAndCFW

This program adds the filter wheel control function to Burst_Live. The filter wheel is controlled before each burst. This shooting mode can quickly shoot different color light images of the target, which can be applied to screen inspection and other related fields.

ChangeBin_Live

Show how to switch BinMode in Basic_Live

ChangeBits_Live

Show how to switch BitsMode in Basic_Live

ChangeROI_Live

Show how to switch ROI in Basic_Live

ChangeSingleToLive

The function of switching to Basic_Live on Basic_Single is added.

EffectiveArea_Live

Show the function of how to set the effective area of an image to remove the overscan area in Basic_Live

EffectiveArea_Single

Show the function of setting the effective area of an image to remove the overscan area in Basic_Single

EffectiveAreaAndBinLive

Show the function of switching BinMode and setting the effective area of an image at the same time in Basic_Live

EffectiveAreaAndBin_Single

Show the function of switching BinMode and setting the effective area of an image at the same time in Basic_Single

Polarize_Live

Show how to process the image date from a polarized camera in Basic_Live

Polarize_Single

Show how to process the image date from a polarized camera in Basic_Single

Repeatedly_Single

Show how to repeatedly acquire single-frame images to achieve pseudo-continuous shooting in Basic_Single.

TriggerInAndOut_Live

Show how to use the functions of “Trigger In” and “Trigger Out” in Basic_Live

TriggerInAndOut_Single

Show how to use the functions of “Trigger In” and “Trigger Out” in Basic_Single

TriggerOut_Live

Show how to use the function of “Trigger Out” in Basic_Live. With this function, the camera can output a level signal each time a continuous image is taken, and this signal is the starting moment of exposure.

TriggerOut_Single

Show how to use the function of “Trigger Out” in Basic_Single. With this function, the camera can output a level signal each time a continuous image is taken, and this signal is the starting moment of exposure.


Python Demo

The program is for Windows (and theoretically supports Linux but no testing has been done on this by now) and can be compiled using PyCharm.

Python_Basic

The program has no display interface, running results will be output to the console. It can realize the basic continuous shooting. In continuous shooting mode, the program will continuously acquire image data from the camera. In single-frame shooting mode, the program will control the camera to run the shooting task and acquire a frame. The acquired data will be displayed in a separate window. The program’s functions include scanning for camera connections, acquiring images for display, setting exposure time, gain, offset, and traffic, and switching modes for Binmode, bitsmode, and readmode.


QtCreator Python Demo

The program is for Windows (and theoretically supports Linux but no testing has been done on this by now) and can be compiled using Qt Creator or PyCharm.

Basic_Live

The program has a display interface and can realize basic continuous shooting. In continuous shooting mode, the program will continuously acquire image data from the camera and display them on the interface. The program’s functions include scanning for camera connections, acquiring images for display, setting exposure time, gain, offset, and traffic, and switching modes for Binmode, bitsmode, and readmode.

Basic_Single

The program has a display interface and can realize the basic single-frame shooting function. In single-frame shooting mode, the program will follow the user’s operation to execute the shooting task. The shooting task will start only when the user clicks the shooting button and then outputs one frame of image. The program will obtain the image data from the camera and display it on the interface. The software functions include scanning and connecting to the camera, acquiring and displaying images, setting the exposure time, gain and offset, and switching modes for Binmode and readmode.


QtCreator MinGW Demo

The program is for Windows and Linux, and can be compiled using Qt Creator, the compiling kit is MinGW.

Basic_Live

The program has a display interface and can realize basic continuous shooting. In continuous shooting mode, the program will continuously acquire image data from the camera and display them on the interface. The program’s functions include scanning for camera connections, acquiring images for display, setting exposure time, gain, offset, and traffic, and switching modes for Binmode, bitsmode, and readmode.

Basic_Single

The program has a display interface and can realize the basic single-frame shooting function. In single-frame shooting mode, the program will follow the user’s operation to execute the shooting task. The shooting task will start only when the user clicks the shooting button and then outputs one frame of image. The program will obtain the image data from the camera and display it on the interface. The software functions include scanning and connecting to the camera, acquiring and displaying images, setting the exposure time, gain and offset, and switching modes for Binmode and readmode.

Burst_Live

The burst function is added to Basic_Live. By using this function, the start of shooting can be controlled more precisely, and the camera can read out a specified amount of image data at the same rate as in continuous shooting mode. This function can be used instead of the single-frame mode if the high accuracy of the start of shooting and the speed of image readout is requested.

MultiCam_Single

Multi Cameras Control function is added to Basic_Single. Two cameras can be controlled simultaneously.

Add GPS control function based on Basic_Live.

QtCreator MSVC2017 Demo

The program is for Windows and Linux, and can be compiled using Qt Creator, the compiling kit is MSVC2017.

Basic_Live

The program has a display interface and can realize basic continuous shooting. In continuous shooting mode, the program will continuously acquire image data from the camera and display them on the interface. The program’s functions include scanning for camera connections, acquiring images for display, setting exposure time, gain, offset, and traffic, and switching modes for Binmode, bitsmode, and readmode.

Basic_Single

The program has a display interface and can realize the basic single-frame shooting function. In single-frame shooting mode, the program will follow the user’s operation to execute the shooting task. The shooting task will start only when the user clicks the shooting button and then outputs one frame of image. The program will obtain the image data from the camera and display it on the interface. The software functions include scanning and connecting to the camera, acquiring and displaying images, setting the exposure time, gain and offset, and switching modes for Binmode and readmode.


VS2022 Qt Demo

The program is for Windows, and can be compiled using VS2022. A Qt plugin is needed before compiling.

Basic_Live

The program has a display interface and can realize basic continuous shooting. In continuous shooting mode, the program will continuously acquire image data from the camera and display them on the interface. The program’s functions include scanning for camera connections, acquiring images for display, setting exposure time, gain, offset, and traffic, and switching modes for Binmode, bitsmode, and readmode.

Basic_Single

The program has a display interface and can realize the basic single-frame shooting function. In single-frame shooting mode, the program will follow the user’s operation to execute the shooting task. The shooting task will start only when the user clicks the shooting button and then outputs one frame of image. The program will obtain the image data from the camera and display it on the interface. The software functions include scanning and connecting to the camera, acquiring and displaying images, setting the exposure time, gain and offset, and switching modes for Binmode and readmode.


Terminal Demo

The program is for Windows and Linux, and can be compiled using commands.

Terminal_Basic

The program has no display interface, running results will be output to the console. It can realize the basic continuous shooting and single-frame shooting. In continuous shooting mode, the program will continuously acquire image data from the camera. In single-frame shooting mode, the program will control the camera to run the shooting task and acquire a frame. The acquired data will be displayed in a separate window. The program’s functions include scanning for camera connections, acquiring images for display, setting exposure time, gain, offset, and traffic, and switching modes for Binmode, bitsmode, and readmode.


LabVIEW2018 Demo

The program is for Windows, and can be compiled using LabVIEW2018 or later.

LV2018_Basic

The program comes with a display interface, but there is no event response function, and the nodes can only be called sequentially. It can realize basic continuous shooting and single-frame shooting. In continuous shooting mode, the program will continuously acquire image data from the camera. In single-frame shooting mode, the program will follow the user’s operation to execute the shooting task. The shooting task will start only when the user clicks the shooting button and then outputs one frame of image. The program will obtain the image data from the camera and display it on the interface. The software functions include scanning and connecting to the camera, acquiring and displaying images, setting the exposure time, gain and offset.

LV2018_Burst

Trigger function is added to LV2018_Basic

Add external trigger function based on LV2018_Basic.

MATLAB Demo

The program is for Windows, and can be compiled using MATLAB2020.

Basic_Basic

The program has no display interface, running results will be output to the MATLAB console. It can realize the basic continuous shooting and single-frame shooting. In continuous shooting mode, the program will continuously acquire image data from the camera. In single-frame shooting mode, the program will control the camera to run the shooting task and acquire a frame. The acquired data will be displayed in a separate window. The program’s functions include scanning for camera connections, acquiring images for display, setting exposure time, gain, offset, and traffic, and switching modes for Binmode, bitsmode, and readmode.


VS2022 MFC Demo

The program is for Windows, and can be compiled using VS2022.

Basic_Live

The program has a display interface and can realize basic continuous shooting. In continuous shooting mode, the program will continuously acquire image data from the camera and display them on the interface. The program’s functions include scanning for camera connections, acquiring images for display, setting exposure time, gain, offset, and traffic, and switching modes for Binmode, bitsmode, and readmode.

Basic_Single

The program has a display interface and can realize the basic single-frame shooting function. In single-frame shooting mode, the program will follow the user’s operation to execute the shooting task. The shooting task will start only when the user clicks the shooting button and then outputs one frame of image. The program will obtain the image data from the camera and display it on the interface. The software functions include scanning and connecting to the camera, acquiring and displaying images, setting the exposure time, gain and offset, and switching modes for Binmode and readmode.


Java Demo


Android Demo


 

If you encounter technical problems during the secondary development process, you can contact our software engineer at qxx@qhyccd.com.