Buggy GigE support + unresponsive matworks
6 ビュー (過去 30 日間)
回答済み: Madhura Suresh 2017 年 8 月 8 日
I am trying to use a Mako G-234 GigE camera (12 bits, 1216 X 1936 pixels) with the goal to acquire continuous images to disk at 20 fps. ( Win 10 laptop, Matlab R2016).
OK, I took the technical stand of choosing MatLab for this task. Or was it a mistake ?
Up to now, I have been failing to achieve this reportedly "Matworks documented" data acquisition goal of a GigE camera streaming to hard disk. I have explored the various pages Matworks devotes to GigE problems, but with no success.
Here below is the present state of communication between the camera and matlab.
Simple bug, right ? or simple problem easily spotted ?
Matworks, any idea or suggestion ?
Or Matworks not willing to propose anything if a user has not paid for the "support" option ?
TEST 1 via "videoinput"
v = videoinput('gige', 1, 'Mono12') ;
s = v.Source;
s.PacketSize = 9014; % matching the ethernet adaptor packet size
Display Summary for Video Source Object:
Parent = [1x1 videoinput]
Selected = on
SourceName = input1
Tag = [0x0 string]
Type = videosource
Device Specific Properties:
AcquisitionFrameCount = 1
AcquisitionFrameRateAbs = 20
AcquisitionFrameRateLimit = 23.6435
BalanceRatioAbs = (Currently not accessible)
BalanceWhiteAutoAdjustTol = (Currently not accessible)
BalanceWhiteAutoRate = (Currently not accessible)
BandwidthControlMode = StreamBytesPerSecond
BinningHorizontal = 1
BinningVertical = 1
BlackLevel = 4
BlackLevelSelector = All
ColorTransformationValue = (Currently not accessible)
DecimationHorizontal = 1
DecimationVertical = 1
DefectMaskEnable = False
DeviceFirmwareVersion = 00.01.54.15954
DeviceID = 50-0536881321
DeviceModelName = Mako G-234B
DevicePartNumber = 6408
DeviceScanType = Areascan
DeviceTemperature = 61.062
DeviceTemperatureSelector = Main
DeviceVendorName = Allied Vision Technologies
DSPSubregionBottom = 1216
DSPSubregionLeft = 0
DSPSubregionRight = 1936
DSPSubregionTop = 0
ExposureAuto = Off
ExposureAutoAdjustTol = 5
ExposureAutoAlg = Mean
ExposureAutoMax = 500000
ExposureAutoMin = 65
ExposureAutoOutliers = 0
ExposureAutoRate = 100
ExposureAutoTarget = 50
ExposureMode = Timed
ExposureTimeAbs = 3994
ExposureTimeIncrement = 25.684
FirmwareVerBuild = 15954
FirmwareVerMajor = 1
FirmwareVerMinor = 54
Gain = 0
GainAuto = Off
GainAutoAdjustTol = 5
GainAutoMax = 40
GainAutoMin = 0
GainAutoOutliers = 0
GainAutoRate = 100
GainAutoTarget = 50
GainSelector = All
Gamma = 0.25
Hue = (Currently not accessible)
ImageSize = 4708352
IrisAutoTarget = (Currently not accessible)
IrisVideoLevel = (Currently not accessible)
IrisVideoLevelMax = (Currently not accessible)
IrisVideoLevelMin = (Currently not accessible)
LensDCDriveStrength = (Currently not accessible)
LensPIrisFrequency = (Currently not accessible)
LensPIrisNumSteps = (Currently not accessible)
LensPIrisPosition = (Currently not accessible)
NonImagePayloadSize = 48
PacketDelay = 1
PacketSize = 9014
PtpAcquisitionGateTime = (Currently not accessible)
ReverseX = False
ReverseY = False
Saturation = (Currently not accessible)
SensorBits = 12
SensorType = Mono
StreamBytesPerSecond = 115000000
StreamFrameRateConstrain = True
StreamHoldCapacity = 13
StreamHoldEnable = Off
StrobeDelay = 0
StrobeDuration = 0
StrobeDurationMode = Source
StrobeSource = FrameTrigger
SyncInGlitchFilter = 0
SyncInLevels = 0
SyncInSelector = SyncIn1
SyncOutLevels = 0
SyncOutPolarity = Normal
SyncOutSelector = SyncOut1
SyncOutSource = Exposing
TimestampTickFrequency = 1000000000
TriggerActivation = RisingEdge
TriggerDelayAbs = 0
TriggerMode = Off
TriggerOverlap = Off
TriggerSelector = FrameStart
TriggerSource = Freerun
VsubValue = (Currently not accessible)
Summary of Video Input Object Using 'Mako G-234B (6408)'.
Acquisition Source(s): input1 is available.
Acquisition Parameters: 'input1' is the current selected source.
10 frames per trigger using the selected
'Mono12' video data to be logged upon
Grabbing first of every 1 frame(s).
Log data to 'memory' on trigger.
Trigger Parameters: 1 'immediate' trigger(s) on START.
Status: Logging data.
0 frames acquired since starting.
0 frames available for GETDATA.
above, even after having "started", 0 frames have been logged since starting: I have that problem unsolved ...
Walter Roberson 2017 年 7 月 30 日
"Or Matworks not willing to propose anything if a user has not paid for the "support" option ?"
In this resource, MATLAB Answers, questions are answered by volunteers, some of whom happen to work for Mathworks, but mostly outside volunteers. The volunteers answer if they have time, and if they have an interest, and if they have experience in the topic, and if they happen to notice the question.
I missed your original question because I was rather ill that day. There is also the small problem that I do not have a GigE camera to test with. And apparently it is my turn to do a bunch of house cleaning, and to do some cooking, and to rake up more apples (I already harvested 600 apples this afternoon.)
回答 (3 件)
Madhura Suresh 2017 年 8 月 8 日
Can you look at the GigE Quick Start Configuration Guide ?
Also, if your firewall is enabled, read this .
Find more on GigE Vision Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!