标题:关于vb.net中未处理COMException
只看楼主
KLHU
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2013-9-13
结帖率:0
 问题点数:0 回复次数:0 
关于vb.net中未处理COMException
[local]2[/local]


    Private Sub StopLive1(ByVal Cam_handle As Object)

        If Live1 = False Then
            '*************************************************************
            '停止
            Pylon.DeviceExecuteCommandFeature(Cam_handle, "AcquisitionStop")


            ' ... Switch off the events.


            Pylon.DeviceFeatureFromString(Cam_handle, "EventSelector", "ExposureEnd")
            Pylon.DeviceFeatureFromString(Cam_handle, "EventNotification", "Off")
            Pylon.StreamGrabberCancelGrab(hStreamGrabber)

'上面三句话偶尔出现未处理COMException错误,有时是好的

            Do

                isReady = Pylon.StreamGrabberRetrieveResult(hStreamGrabber, GrabResult)
            Loop While isReady
搜索更多相关主题的帖子: Object events False 
2013-11-22 11:10



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-423993-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.116309 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved