Microsoft Visual Studio is an integrated development environment (IDE) from Microsoft. It is used to develop computer programs among many other software’s.
The basic edition of Visual Studio, the Community edition, is available free of charge.
Visual Studio supports 36 different programming languages and allows the code editor and debugger to support (to varying degrees) nearly any programming language. Built-in languages include C, C++, C++/CLI, Visual Basic .NET, C#. Support for other languages such as Python is available via plug-ins.
Step 1: download visual studio community 2019 free.
Go to https://visualstudio.microsoft.com/
Choose to download the Visual community 2019 free version, or use the direct link: https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=16...
To calculate the framerate of an industrial camera, a framerate calculator is available. After installing the SDK , the frame rate calculator (an excel file) is located in the folder C:\Program Files\Daheng Imaging\GalaxySDK\Doc
For this example, we are using the frame rate calculator for the USB3 camera MARS-1230-23U3X explaining the different options available. Afterwards we will highlight the few differences between a USB3 camera and Gigabit Ethernet framerate calculator. For the Gigabit Ethernet camera we will use the MER-131-75Gx camera as example.
Step 1: Open the frame rate calculator USB3 camera
Open the correct frame rate calculator located in the C:\Program Files\Daheng Imaging\GalaxySDK\Doc folder. Each camera series has it own calculator.
The screenshots below shows the MARS USB3 camera frame...
Bandwidth is the amount of data which can be transmitted over a certain interface (USB3 / GigE / 5GigE) during a certain period. The higher the bandwidth of the interface, the more and faster data can be received or sent. This article will explain multiple options for bandwidth control and how to calculate the required framerate for your industrial USB3 camera.
To control the bandwidth of industrial USB3 cameras, we need to understand how the USB3 connection works and how to determine which framerate values we need.
USB3 INDUSTRIAL VISION CAMERA ADVANTAGES
USB3 is a suitable interface for high resolution and high-speed cameras. The USB3 connection has a maximum bandwidth of 480 megabytes per second. This is 10 times faster than USB2 and 4 times faster than GigE. Every computer and almost all developer boards come with USB3...
This guide will explain how to set and use the Region of interest function of the industrial camera, how to resize an image and how to capture only a defined area. This is commonly used to:
- reduce the amount of collected data
- reduce the required bandwidth
- increase the framerate of an industrial camera
- isolate the view on a certain area
In this article we will set a Region of Interest and offset it from the top left corner to the centre of our image. Using these 3 steps you can define the size and position of the industrial cameras Region of Interest.
STEP 1: CHECK THE IMAGE SIZE AND DEFINE REGION OF INTEREST
Check the maximum image size (resolution) of your industrial camera and define your desired Region of Interest.
For this example, we...
This article will explain 4 different ways to power a GigE camera. We talk about powering the industrial camera via a PoE Switch, PoE Injector, GigE Power adapter and via an external power source.
How to use Power over Ethernet with a PoE switch and a GigE PoE industrial Camera?
A Power over Ethernet switch transmits power and data via a CAT6 network cable. This means that if your machine vision application has a GigE industrial camera with PoE, you do not need an extra external power supply. The maximum length of the CAT6 network cable is 100 meters. This is not due to power limitation, but data transmission limitations. The example below shows how to transmit data and power between a GigE industrial camera with PoE and a computer using a PoE switch.
How to use Power over Ethernet without a PoE switch?
If you do not...
When you have set the parameters of your camera according to your application requirements, you can store these settings into the camera. When you reboot the camera, or reapply power to the camera, the camera will now start with your saved settings.
STEP 1: CAMERA “UserSetControl” SETTINGS
Open the GalaxyView software and connect to the camera. Go to the menu UserSetControl. When the camera is connected for the first time, the “Default” usersetting is already selected. You can change the following parameters:
UserSetSelector -> choose which usersettings you want to select
UserSetLoad -> load the selected usersettings
UserSetSave -> Save the current camera settings into the selected usersetting
UserSetDefault -> select which usersetting starts at camera boot
STEP 2: SAVE YOUR...
How to use (color) C-mount lens filters?
The use of (color) C-mount lens filters is to be able to create contrast between colored parts of an object with a monochrome camera to easily detect and measure the specific part of the object. Additionally (color)C-mount lens filters are used to block external-environmental lighting. Why monochrome camera and not color? Because monochrome cameras are up to 3 times more light sensitive and produce sharper images. (Color)C-mount lens filters can be applied to camera lenses without significant loss of light or image quality.
Color lens filter principle
Using a Color lens filter to add contrast works on subtraction idea. For this example we take a red bottle cap with red lens filter.
The red Lens filters does not brighten up the cap.
Instead, the complementary colors and the colors...
How to synchronize industrial machine vision cameras?
To synchronize industrial machine vision cameras the I/O port of the industrial camera is required. A master camera will hardware trigger it’s slave cameras to assure perfect synchronization between all cameras. In this example we explain how to connect 1 master camera to 3 slave cameras. As a result the setup will have 4 industrial cameras perfect synchronized.
Technical schematic of a synchronized camera setup:
The schematic below shows how to trigger 3 slave cameras from 1 master camera. An external power supply is always required. The external power supply voltage range should be between 5 and 24V. In our example we will use a 12V external power supply for the synchronized camera setup.
The power Line 1 output can withstand 25 mA max. A Line 0 input(s) needs 7mA...
How do I connect multiple GigE industrial cameras to a single network port?
We will explain how to connect 4 industrial GigE cameras. Therefore we have used the following material:
4x MER-630-16GC-P, 6.3MP industrial GigE camera
5 Port PoE switch 1000mbit / 1Gbit
PC with windows 10 and a 1000mbit / 1Gbit networkcard
Please double check that your connection is 1000mbit / 1Gbit and not 100mbit. Some PoE switches are only 100mbit and we see more often that customer think they have 1Gbit connection but in reality they have a 100mbit connection.
This article explains how you can check if you have a 1 Gbit connection. You can only check this when the industrial GigE camera is connected.
Step 1, connect all GigE cameras to the PoE switch
Connect the GigE cameras to the PoE switch and check if the LED on the back of...
How to connect and trigger a LED light source with a machine vision camera from Daheng Imaging using an industrial strobe controller . This is applicable to both USB3 and GigE machine vision cameras that have a trigger output. As additional hardware we have used a 12V powersupply, a Power LED and a triggerable industrial strobe controller, the ACC-MV-LED-STROBECONTROLLER-V1 .
We have recently renewed this article on the product page of the industrial strobe controler .
Step 1: Program the triggerable industrial strobe controller
We are using in our example an ACC-MV-LED-STROBECONTROLLER-V1 industrial strobe controller that can be triggered. A nice feature of this strobe controller is that you can program it, using the dipswitches, without the need of connecting the strobe controller to a pc. Most...