GigE相机尖吻鲭鲨:认识到通过gigecam或videoinput,但(GigE)预览超时,快照(或getsnapshot(如果videobject)返回空的形象

7视图(30天)
你好,
我有一个 尖吻鲭鲨g - 234 b GigE摄像头,连接到一个win10笔记本电脑
相机被认为 没有问题,如果使用独立的“Vimba”应用程序 带着相机,并且可以看到现场的照片在我的电脑屏幕上。
在MatLab下,目前我无法获得任何图像从这个相机
我已经测试了两种途径(gigecam或videoObject都失败了)。这是我在控制台上输入的代码,和相应的消息:
(一)通过VideoInput测试:
hwInfo = imaqhwinfo (“gige”)
hwInfo = AdaptorDllName:“C: \ MATLAB金宝app工具箱\ SupportPackages \ R2016a \ \ imaq \ SupportPackages \ gige \适配器\ win64 \ mwgigeimaq.dll”
AdaptorDllVersion:“5.0 (R2016a)”
AdaptorName:“gige”
的deviceid: {[1]}
DeviceInfo (1 x1结构):
> > videobject = videoinput (“gige”1“Mono12”)
> > triggerinfo (videobject)
有效的触发配置:
TriggerType: TriggerCondition: TriggerSource:
“立即”“没有”“没有”
“手动”“没有”“没有”
“硬件”“DeviceSpecific”“DeviceSpecific”
  • > > triggerconfig (videobject“手册”)
  • > > start (videobject)
  • > > videobject
总结视频输入对象使用的尖吻鲭鲨g - 234 b (6408)”。
收购来源:input1可用。
收购参数:“input1”是当前选中的源。
10帧每个触发器使用选定的来源。
“Mono8”视频数据被记录在开始。
抓住首先每帧(s)。
日志数据在触发“记忆”。
触发参数:1“手动”触发器触发(s)。
状态:等待触发的第11。
0框架自开始收购。
0框架对GETDATA可用。
* > >触发(videobject) *
* > > videobject *
总结视频输入对象使用的尖吻鲭鲨g - 234 b (6408)”。
收购来源:input1可用。
收购参数:“input1”是当前选中的源。
10帧每个触发器使用选定的来源。
“Mono8”视频数据被记录在开始。
抓住首先每帧(s)。
日志数据在触发“记忆”。
触发参数:1“手动”触发器触发(s)。< < <仍然等待! !(? ?)
状态:日志数据。
0框架自开始收购。
0框架对GETDATA可用。
—————————————————————————— * (B)尝试另一种方法通过gigecam: *
  • > > g = gigecam(50 - 0536881321) / /序列号
> > g。PixelFormat = ' Mono12 '
g =显示gigecam的总结:
DeviceModelName:“灰鲭鲨g - 234 b”
SerialNumber:“50 - 0536881321”
IPAddress:“169.254.216.248”
PixelFormat:“Mono12”
AvailablePixelFormats: {“Mono8”“Mono12Packed”“Mono12”}
身高:1216
宽度:1936
超时:10
* 给初学者属性:g = gigecam显示摘要:DeviceModelName:“灰鲭鲨g - 234 b”SerialNumber:“50 - 0536881321”IPAddress:“169.254.216.248”PixelFormat:“Mono12”AvailablePixelFormats: {“Mono8”“Mono12Packed”“Mono12”}高度:1216宽度:1936超时:10
显示初学者专家,专家属性。
收购
- - - - - - - - - - - -
AcquisitionFrameCount = 1
AcquisitionFrameRateAbs = 23.6457
AcquisitionFrameRateLimit = 40.1155
TriggerSelector = FrameStart
TriggerActivation = RisingEdge
TriggerDelayAbs = 0
在* * TriggerMode =
TriggerOverlap =了
TriggerSource = Freerun
控制
- - - - - - - - - -
DefectMaskEnable =(目前无法访问)
γ= 1
颜色=(目前无法访问)
饱和=(目前无法访问)
BalanceWhiteAuto =(目前无法访问)
BalanceRatioSelector =(目前无法访问)
BalanceRatioAbs =(目前无法访问)
BalanceWhiteAutoAdjustTol =(目前无法访问)
BalanceWhiteAutoRate =(目前无法访问)
BlackLevel = 4
BlackLevelSelector =所有
ColorTransformationMode =(目前无法访问)
ColorTransformationSelector =(目前无法访问)
ColorTransformationValue =(目前无法访问)
ColorTransformationValueSelector =(目前无法访问)
DSPSubregionBottom = 1216
DSPSubregionLeft = 0
DSPSubregionRight = 1936
DSPSubregionTop = 0
DefectMaskColumnEnable =(目前无法访问)
ExposureAuto =了
ExposureMode =时间
ExposureTimeAbs = 15009
ExposureTimeIncrement = 19.863
ExposureAutoAdjustTol = 5
ExposureAutoAlg =意味着
ExposureAutoMax = 500000
ExposureAutoMin = 65
ExposureAutoOutliers = 0
ExposureAutoRate = 100
ExposureAutoTarget = 50
GainSelector =所有
获得= 0
GainAuto =了
GainAutoAdjustTol = 5
GainAutoMax = 40
GainAutoMin = 0
GainAutoOutliers = 0
GainAutoRate = 100
GainAutoTarget = 50
IrisAutoTarget =(目前无法访问)
IrisMode =(目前无法访问)
IrisVideoLevel =(目前无法访问)
IrisVideoLevelMax =(目前无法访问)
IrisVideoLevelMin =(目前无法访问)
LensDCDriveStrength =(目前无法访问)
LensPIrisFrequency =(目前无法访问)
LensPIrisNumSteps =(目前无法访问)
LensPIrisPosition =(目前无法访问)
VsubValue =(目前无法访问)
GigE
- - - - -
BandwidthControlMode = StreamBytesPerSecond
GevSCPSPacketSize = 1500
NonImagePayloadSize = 0
PayloadSize = 2354176
StreamBytesPerSecond = 115000000
StreamFrameRateConstrain = True
GevTimestampTickFrequency = 1000000000
PtpAcquisitionGateTime =(目前无法访问)
PtpMode =(目前无法访问)
PtpStatus =(目前无法访问)
StreamHoldCapacity = 26
StreamHoldEnable =了
ImageMode
- - - - - - - - - - - -
BinningHorizontal = 1
BinningVertical = 1
DecimationHorizontal = 1
DecimationVertical = 1
ReverseX = False
ReverseY = False
SensorHeight = 1216
SensorWidth = 1936
信息
- - - - -
DeviceFirmwareVersion = 00.01.54.15954
的DeviceID = 50 - 0536881321
DeviceModelName =灰鲭鲨g - 234 b
DevicePartNumber = 6408
DeviceScanType = Areascan
DeviceVendorName =盟军的愿景技术
FirmwareVerBuild = 15954
FirmwareVerMajor = 1
FirmwareVerMinor = 54
SensorBits = 12
SensorType = Mono
DeviceStatus
- - - - - - - - - - - -
DeviceTemperature = 44.187
DeviceTemperatureSelector =主要
ImageFormat
- - - - - - - - - - - -
身高= 1216
HeightMax = 1216
图象尺寸= 2354176
OffsetX = 0
OffsetY = 0
PixelFormat = Mono12
宽度= 1936
WidthMax = 1936
IO
- - -
StrobeDelay = 0
StrobeDuration = 0
StrobeDurationMode =源
StrobeSource = FrameTrigger
SyncInLevels = 0
SyncInSelector = SyncIn1
SyncInGlitchFilter = 0
SyncOutLevels = 0
SyncOutSelector = SyncOut1
SyncOutPolarity =正常
SyncOutSource =暴露
没有命令是用于这台相机。
  • 预览(g) > > > > > > > > > >给小组以白色背景红色交叉;没有内容)
  • 快照(g) > > > > > > > > > > > >给了暂停
_ _ _ _ _
你的建议是什么?

答案(1)

托马斯·阿诺德
托马斯·阿诺德 2018年2月14日
也许你的windows防火墙阻塞Matlab。去你的windows防火墙设置。在左边的列表设置,点击“允许一个应用程序或功能通过Windows防火墙”。寻找一个Matlab条目,并允许它。相机预览再试。

社区寻宝

找到宝藏在MATLAB中央,发现社区如何帮助你!

开始狩猎!