My Matlab Imagine Acquisition Toolbox cannot connect to GigE camera
17 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi, I am using Matlab 2016a academic version for my thesis. I need to use my GigE camera, TACHYON 16k camera which is a PoE camera.
I installed the driver properly as its manual and double checked. The configuration of Ethernet port and firewall are also properly set as the QuickStartGuide of Imagine Acquisition Toolbox app.
I can use the original acquisition software of this camera to record the data, which is based on eBUS SDK.
However, when I try to record the data by using Imagine Acquisition Toolbox of Matlab, It doesn't work.
I can get the information of the camera by typing gigecamlist and imaqhwinfo('gige'). I just get this warning "Camera failed to start. This could be due to a bad camera state, try power cycling the camera." all the time. But I am sure the camera is turned on properply, the status LED is blinking all the time. Does anyone know what could be the reason? I tried to search the solution, but nothing found.
If anyone knows how to deal with this, please help. Thank you very much in advance.
>> gigecamlist
ans =
Model Manufacturer IPAddress SerialNumber
____________________ ________________________________ _________________ ____________
'Tachyon 16k Camera' 'New Infrared Technologies Ltd.' '169.254.198.188' '11BD42C'
>> imaqhwinfo('gige')
ans =
AdaptorDllName: 'C:\MATLAB\SupportPackages\R2016a\toolbox\imaq\supportpackages\gige\adaptor\win64\mwgigeimaq.dll'
AdaptorDllVersion: '5.0 (R2016a)'
AdaptorName: 'gige'
DeviceIDs: {[1]}
DeviceInfo: [1x1 struct]
>> g=gigecam
g =
Display Summary for gigecam:
DeviceModelName: 'Tachyon 16k Camera'
SerialNumber: '11BD42C'
IPAddress: '169.254.198.188'
PixelFormat: 'Mono16'
AvailablePixelFormats: {'Mono16'}
Height: 128
Width: 128
Timeout: 10
Show Beginner, Expert, Guru properties.
Show Commands.
>> preview(g)
Camera failed to start. This could be due to a bad camera state, try power cycling the camera.
4 comentarios
Respuestas (1)
Siraj
el 1 de Ag. de 2024 a las 5:20
Hi! @Joe
I understand that you are encountering an issue when trying to record data using the Image Acquisition Toolbox in MATLAB with your GigE TACHYON 16k camera, despite having properly installed the driver, configured the Ethernet port, and set the firewall as per the QuickStart Guide. You are receiving the error "Camera failed to start. This could be due to a bad camera state, try power cycling the camera," even though the camera is turned on and the status LED is blinking.
Sometimes the firewall blocks the streaming packets from the camera, even though you have mentioned that you have set it up properly. I would suggest double-checking the firewall configuration and Gigabit Ethernet card/adapter configuration and setting them according to the "GigE Vision Quick Start Configuration Guide," available at the following link:
You can also have a look at the steps for Troubleshooting GigE Vision Devices on different platforms here:
If the above information is not helpful in resolving the issue, consider using a GenTL adaptor. Here’s how you can set it up:
- If your camera vendor provides a GenTL producer, download and install it. Otherwise, you can use an open GenTL producer like the Baumer GAPI SDK. Download link: https://www.baumer.com/us/en/product-overview/industrial-cameras-image-processing/software/baumer-gapi-sdk/windows/c/14175
- Unzip the downloaded folder to whatever location that you want that will not change. Then inside the unzipped folder, navigate to the “bin” directory. There should be a .CTI file in this folder. Copy the path to this folder. For example, it could be, “C:\Program Files\Baumer SDK\bin”
- Edit the “GENICAM_GENTL64_PATH” system environment variable to include the file path that you copied previously. To do this, Go to Control Panel -> System -> Advanced System Settings -> Advanced and click on "Environment Variables..." Locate the “GENICAM_GENTL64_PATH” variable and click “Edit...” Click “New” and then paste the path to the folder containing the “.CTI”. Click “OK” to exit the edit menu.
- Check that the "gentl" adaptor loads. You can use the "imaqhwinfo" command to list installed adaptors. The "gentl" adaptor should be included on the list.
- Create the "videoinput" object using:
vid = videoinput('gentl', 1, 'Mono8');
I hope this helps in setting up the camera. If the issue still persists, you could reach out to MathWorks using the following link:
Thanks.
0 comentarios
Ver también
Categorías
Más información sobre GigE Vision Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!