GigE add-on with Teledyne Dalsa fails to preview / acquire / crashes.

3 views (last 30 days)
I am trying to use the image acquisition toolbox with the add-on for GigE Cameras with a Teledyne Dalse Linea Color 4k 13kHz GigE camera.
To get the add-on to install, and update to R2017b (9.3.0.713579) was required (not documented, but required).
When checking the driver with imaqhwinfo, the following is returned:
InstalledAdaptors: {'gige'}
MATLABVersion: '9.3 (R2017b)'
ToolboxName: 'Image Acquisition Toolbox'
ToolboxVersion: '5.3 (R2017b)'
Upon launching the Image Acquisition tool box, the camera shows up as configured:
Selecting any color mode, and using the "Start PReview" function simply delivers a blank image. Using "start Acquisition" does not go into acquire mode, and basically causes matlab to hang, and become unresponsive until exited with task manager.
The session log just has start / stop preview and ROI details, for example:
preview(vid);
stoppreview(vid);
vid.ROIPosition = [0 0 4096 100];
preview(vid);
stoppreview(vid);
vid.ROIPosition = [0 0 4096 7997];
preview(vid);
Several java errors are then issued in the main command window:
Error in iatbrowser.AcquisitionParameterPanelController/initialize>@(src,data)this.updateDevicePanel()
Warning: Error occurred while evaluating listener callback.
> In iatbrowser.PreviewPanelController/startPreview
In iatbrowser.Browser/startPreview
In iatbrowser.ROIGUIElementsController/resetROIPressed (line 385)
In iatbrowser.ROIGUIElementsController>@(src,theEvent)obj.resetROIPressed() (line 176)
Error using iatbrowser.AcquisitionParameterPanelController/updateDevicePanel
Java exception occurred:
java.lang.IllegalArgumentException: invalid range properties
at javax.swing.DefaultBoundedRangeModel.<init>(DefaultBoundedRangeModel.java:102)
at javax.swing.JSlider.<init>(JSlider.java:274)
at javax.swing.JSlider.<init>(JSlider.java:241)
at com.mathworks.mwswing.MJSlider.<init>(MJSlider.java:50)
at com.mathworks.toolbox.testmeas.propertyeditor.SliderWithTextFieldWidget.createSlider(SliderWithTextFieldWidget.java:192)
at com.mathworks.toolbox.testmeas.propertyeditor.SliderWithTextFieldWidget.addContent(SliderWithTextFieldWidget.java:54)
at com.mathworks.toolbox.testmeas.propertyeditor.Widget.getWidget(Widget.java:62)
at com.mathworks.toolbox.testmeas.propertyeditor.EditorPanel.drawWidget(EditorPanel.java:165)
at com.mathworks.toolbox.testmeas.propertyeditor.EditorPanel.draw(EditorPanel.java:242)
at com.mathworks.toolbox.testmeas.propertyeditor.PropertyEditor.createEditor(PropertyEditor.java:156)
at com.mathworks.toolbox.testmeas.propertyeditor.PropertyEditor.<init>(PropertyEditor.java:115)
at com.mathworks.toolbox.imaq.browser.acquisitionParameters.deviceProperties.DevicePanel.updatePropertyEditor(DevicePanel.java:106)
at com.mathworks.toolbox.imaq.browser.acquisitionParameters.FormatNodePanel.updatePropertyEditor(FormatNodePanel.java:444)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.mathworks.jmi.AWTUtilities$Invoker$3$1.call(AWTUtilities.java:525)
at com.mathworks.mvm.context.ThreadContext.callWithContext(ThreadContext.java:105)
at com.mathworks.mvm.context.MvmContext.callWithContext(MvmContext.java:113)
at com.mathworks.jmi.AWTUtilities$Invoker$3.runWithOutput(AWTUtilities.java:522)
at com.mathworks.jmi.AWTUtilities$Invoker$2.watchedRun(AWTUtilities.java:475)
at com.mathworks.jmi.AWTUtilities$WatchedRunnable.run(AWTUtilities.java:436)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Error in iatbrowser.AcquisitionParameterPanelController/initialize>@(src,data)this.updateDevicePanel()
Warning: Error occurred while evaluating listener callback.
> In iatbrowser.PreviewPanelController/startPreview
In iatbrowser.Browser/startPreview
In iatbrowser.ROIGUIElementsController/resetROIPressed (line 385)
In iatbrowser.ROIGUIElementsController>@(src,theEvent)obj.resetROIPressed() (line 176)
In Addition, a crash report was produced after crashing a few times:
MATLAB crash file:C:\Users\jeremys\AppData\Local\Temp\matlab_crash_dump.2208-1:
------------------------------------------------------------------------
Access violation detected at Tue Jan 30 09:13:43 2018
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Current Graphics Driver: Intel Intel(R) HD Graphics 4600 Version 4.3.0 - Build 10.18.14.4414
Default Encoding : windows-1252
Deployed : false
Graphics card 1 : Intel Corporation ( 0x8086 ) Intel(R) HD Graphics 4600 Version 10.18.14.4414 (2016-3-23)
Host Name : 3DL430
MATLAB Architecture : win64
MATLAB Entitlement ID: 3712735
MATLAB Root : C:\Program Files\MATLAB\R2017b
MATLAB Version : 9.3.0.713579 (R2017b)
OpenGL : hardware
Operating System : Microsoft Windows 7 Professional
Processor ID : x86 Family 6 Model 60 Stepping 3, GenuineIntel
Virtual Machine : Java 1.8.0_121-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : Version 6.1 (Build 7601: Service Pack 1)
Fault Count: 1
Abnormal termination:
Access violation
Register State (from fault):
RAX = 00000000ffffffff RBX = 00000000bc6de670
RCX = 00000000bc3fa480 RDX = 000000020c17fd10
RSP = 000000020c17fbd0 RBP = 0000000000000000
RSI = 00000000ffffffff RDI = 006f77642e656e69
R8 = 0000000000000001 R9 = 0000000000000295
R10 = 00000000bc87e210 R11 = 000000020c17fc18
R12 = 0000000000000000 R13 = 0000000000000000
R14 = 000000020c17fd10 R15 = 0000000000000295
RIP = 00000000417a31c0 EFL = 00010286
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00000000417a31c0 toolbox\imaq\supportpackages\gige\adaptor\win64\gigeacquisition.dll+00143808 gige::PacketReceiver::~PacketReceiver+00000848
[ 1] 0x00000000417ab11f toolbox\imaq\supportpackages\gige\adaptor\win64\gigeacquisition.dll+00176415 gige::PacketReceiver::storePacket+00000559
[ 2] 0x00000000417a9934 toolbox\imaq\supportpackages\gige\adaptor\win64\gigeacquisition.dll+00170292 gige::PacketReceiver::processPacket+00000852
[ 3] 0x00000000417a77f4 toolbox\imaq\supportpackages\gige\adaptor\win64\gigeacquisition.dll+00161780 gige::PacketReceiver::doWork+00000340
[ 4] 0x000000004172c3c7 toolbox\imaq\supportpackages\gige\adaptor\win64\gigecontroller.dll+00181191 gige::GigECamera::reopenIfNeedBe+00008535
[ 5] 0x000007fede3cc703 C:\Program Files\MATLAB\R2017b\bin\win64\boost_thread-vc140-mt-1_56.dll+00050947 boost::thread::swap+00000083
[ 6] 0x000007fedcd5cab0 C:\Program Files\MATLAB\R2017b\bin\win64\ucrtbase.DLL+00117424 o__realloc_base+00000096
[ 7] 0x00000000776d59cd C:\Windows\system32\kernel32.dll+00088525 BaseThreadInitThunk+00000013
[ 8] 0x000000007780a561 C:\Windows\SYSTEM32\ntdll.dll+00173409 RtlUserThreadStart+00000033
If this problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.
MATLAB crash file:C:\Users\jeremys\AppData\Local\Temp\matlab_crash_dump.2208-1:

Answers (1)

Jsmithns
Jsmithns on 17 Aug 2018
Yes, ultimately it was the driver selection UI that pops up when you plug in the camera (long rectangular window). You have to select the appropriate driver there rather than camExpert or any windows UI the first time you set it up.
I called into teledyne and they were able to remote in via team viewer or something within an hour of the call. No special support package, just there regular support line.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!