汇集知识碎片,解决技术难题
有问题不会排查,给你思路,速速下载
13668
浏览
26
回答
VM二次开发使用QT中的QML设计主界面,使用QtCreater创建VM子界面,但是在VM界面编辑包含模板相关的模块参数时,点击“确定”,会出现VM子界面隐藏与主界面下方,其他不包含模板制作的模块不会出现该问题,出现该问题的模块有:轮廓匹配,高精度匹配,快速匹配,灰度匹配,缺陷模型检测等.且使用VM给的qt的demo,创建一个主界面,只放一个按钮,点击按钮出现给出弹窗,在编辑模板模块上的确定按钮时,怎么界面会闪烁一次. 使用VM版本是20230603,补丁是20250630,想咨询模块匹配点击"确定"时对VM界面做了什么操作,怎么解决该问题?附上版本信息图[图片]
0
浏览
视觉正反判断是什么意思了
29
浏览
2
回答
各位大佬,请教一下
VM打开设置了默认运行界面,但是打开时会报错“未将对象引用实例”,导致无法运行,但是从SOL程序打开是能正常打开的
根据以下的报错信息,如何排查是哪里的问题呢
未将对象引用设置到对象的实例。
在 VisionMaster.App.OnStartup(StartupEventArgs e)
在 System.Windows.Application.<.ctor>b__1_0(Object unused)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
12
浏览
1
回答
[图片]
48
浏览
1
回答
[图片]
这是一张技术参数表,里边有很多名词不能准确的理解。
比如
(1)单轮廓点数是不是就是相机的收光板X方向上的像素点传感器个数
(2)Z轴分辨率是一个范围,我理解,物体在测量范围内的前提下,是不是离相机越近分辨率越高?离相机越远分辨率越低?
(3)轮廓数据间隔 是指什么?
23
浏览
1
回答
我测算出结果,我想要用json来输出,我不用脚本模块,能有什么办法格式化为json吗?字符格式化有点麻烦
22
浏览
1
回答
我在使用相机软触发进行拍照时,出现下面的问题:
我使用的是光电信号连接GPIO口来触发相机拍照,使用的相机模式是软触发。当物品通过光电时,gpio值发生变化,此时调用相机SDK进行拍照。现在出现的问题是,拍出来照片一会偏右,一会正常,无法固定在同一位置。相关代码如下:
/** 省略gpio触发代码
int nRet = MV_CC_SetCommandValue(m_handle,"TriggerSoftware");
nRet = MV_CC_GetImageBuffer(m_handle, &stOutFrame, 1000);
if (nRet != MV_OK) {
return false;
}
已经排查过GPIO延迟问题,并没有延迟。同时从接收GPIO信号->设置软触发拍照->相机取图完成,这个整体耗时也是十分稳定的,那么为什么实际上拍出来的照片位置确不一致呢?
28
浏览
1
回答
VM4.4版本。两个全局相机都是海康的。我的方案每次打开使用时,只有一个相机正常使用,第二个相机提示掉线无图像。
使用MVS连接又没有异常,删除掉后重新设置全局相机可以看见,但是只要一关闭VM,再次打开就又会掉线。
之前修改过LoadUserset1Delay为500ms,也换过交换机,都没有效果。报错也看不懂
在 VM.Controls.HikMessageBox.GetInfo_Click(Object sender, RoutedEventArgs e)
在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
在 System.Windows.Controls.Primitives.ButtonBase.OnClick()
在 System.Windows.Controls.Button.OnClick()
在 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
在 System.Windows.Input.InputManager.ProcessStagingArea()
在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
在 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
在 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
在 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
在 System.Windows.Window.ShowHelper(Object booleanBox)
在 System.Windows.Window.ShowDialog()
在 VM.Controls.HikMessageBox.ShowDialog()
在 GlobalCameraModuleControl.PreviewWindow.OnLostPackgeNumChanged()
在 GlobalCameraModuleControl.PreviewWindow.LostPackgeNumChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
在 System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
在 System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
在 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
在 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
在 System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
在 System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
在 System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
在 MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
在 MS.Internal.Data.PropertyPathWorker.RefreshValue()
在 MS.Internal.Data.ClrBindingWorker.ScheduleTransferOperation(Object arg)
在 MS.Internal.Data.DataBindEngine.ProcessCrossThreadRequests()
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
在 System.Windows.Threading.DispatcherOperation.InvokeImpl()
在 MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在 MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
在 System.Windows.Threading.DispatcherOperation.Invoke()
在 System.Windows.Threading.Dispatcher.ProcessQueue()
在 System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
在 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
在 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
在 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
在 System.Windows.Window.ShowHelper(Object booleanBox)
在 System.Windows.Window.ShowDialog()
在 VisionMaster.AppMainWindow.TitleMenueItemData.CameraSet()
在 Apps.Data.FunctionManager.Execute(String key)
在 Apps.XmlParser.ParamTab.Enumeration_ModuleSelector.OpenGlobalCamera()
在 Apps.XmlParser.ParamTab.EnumerationCameraForImage.OpenGlobalCamera()
在 Apps.XmlParser.ParamTab.Enumeration_ModuleSelector.ClickCmdExecute()
在 Mvvm.Commands.DelegateCommandBase.<>c__DisplayClass0_0.<.ctor>b__0(Object arg)
在 Mvvm.Commands.DelegateCommandBase.<Execute>d__9.MoveNext()
在 System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
在 Mvvm.Commands.DelegateCommandBase.Execute(Object parameter)
在 Mvvm.Commands.DelegateCommandBase.<System-Windows-Input-ICommand-Execute>d__2.MoveNext()
在 System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine](TStateMachine& stateMachine)
在 Mvvm.Commands.DelegateCommandBase.System.Windows.Input.ICommand.Execute(Object parameter)
在 MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
在 System.Windows.Controls.Primitives.ButtonBase.OnClick()
在 System.Windows.Controls.Button.OnClick()
在 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
在 System.Windows.Input.InputManager.ProcessStagingArea()
在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
在 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
在 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
在 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
在 System.Windows.Application.RunDispatcher(Object ignore)
在 System.Windows.Application.RunInternal(Window window)
在 VisionMaster.Program.StartApp(String[] args)
在 VisionMaster.Program.Main(String[] args)
[图片]
25
浏览
1
回答
7
浏览
如题, 检测冲孔有没有毛刺
31
浏览
2
回答
使用3DMVS安装包中自带的BasicDemo进行测试,在运行RAW保存时,发现保存后的RAW图片文件显示为全黑,这是为什么?该如何解决?(pictureBox1模块中所显示的图片和TIFF、BMP、JPG文件保存图像都正常)
[图片][图片]
24
浏览
1
回答
[图片]
如上截图方案操作区是显示出来??目前没有看到这个功能。
19
浏览
1
回答
如题,怎么将流程中的图像输出的图像显示到VmRenderControl控件中去
现在已经能正常加载方案和流程,流程也有执行,
但是其中输出的图像就是不显示出来
[图片]
如图,红框也是空白的,无法选择
17
浏览
2
回答
同一流程是否可以有2个图像源,一个是相机的,一个是本地,根据需要可以切换使用
33
浏览
1
回答
请问3D相机DP4000在检测产品平面度的时候,可以支持移动检测吗?每个产品宽度为60mm,有6个产品并排放置,中间间隔100mm,总宽度就是达到900mm左右,想在5秒内一次扫完,然后在工件上取点做平面度分析。请问这样的方法用你们的相机可行吗?如果可以的话,请详细描述一下具体的操作方法。,谢谢
15
浏览
1
回答
数据发送失败是什么原因,怎么更改才能成功
20
浏览
1
回答
协议解析如何根据数据内容空格,自动解析几段数据,条码位数不一致,不能用位数解析。条码中间有2个空格
[图片]
25
浏览
2
回答
io参数中的有效电平:指的是谁的有效电平,输出类型指的是谁的输出类型,下图写的程序为快速匹配,匹配到模板,则条件检测为ok反知ng
[图片]
[图片]
[图片]
28
浏览
1
回答
[图片]
53
浏览
1
回答
暂无内容~