English 中文(简体)
Labview(在设备开端失败之后——在本案中是摄像机)的激烈失败
原标题:Graceful failure in Labview (after failed opening of device - in this case camera)

我很想知道,如果某一部分未能执行,如何使该方案的其余部分得以实施(而且依赖这一构成部分的其他道路也已经消失)。 在其他语文中,这相当于“附带一种例外情况”,但这里增加的问题是,我担心即使存在这种特征(如果发现这种特征的话),那么该方案的其余部分仍会试图运行......。 任何建议都会受到高度赞赏。 提前感谢!

最佳回答

LabVIEW doesn t have exception handling, but handles error in a different way: (nearly) all VIs accept an error cluster as input (and so should yours); if it is positive (an error occurred), the VI will return immediately, passing error as output, and next will get it as input, etc. This is called error.

由于所有上述六人相互之间传递这一组群,你将把这一组群放在你最高级的六级,因此,如果出现错误,你就不得不正确清理并撤出。

问题回答

暂无回答




相关问题
handling exceptions IN Action Filters

Is there a better way to handle exceptions that occur inside an Action Filter itself in ASP .NET MVC? There re 2 ways I can think of at the moment. Using a try catch and setting the HTTP Status ...

既可捕获,又可举出例外。

我有一种办法,可以进入亚洲开发银行,因此,我国的亚行在多瑙河航道中的所有 st子都位于一个试捕区。 它正在追捕Kexception

Cross compiler exception handling - Can it be done safely?

I am doing some maintenance on a C++ windows dll library that is required to work with different VC++ compilers (as I don’t want to address different mangling schemes). I have already eliminated any ...

File Handling Issue

I am developing a tool in c#, at one instance I start writing into a xml file continuously using my tool,when i suddenly restart my machine the particular xml file gets corrupted, what is the reason ...

Watch a memory location/install data breakpoint from code?

We have a memory overwrite problem. At some point, during the course of our program, a memory location is being overwritten and causing our program to crash. the problem happens only in release mode. ...

Unit Test for Exceptions Message

Is there a simple (Attribute-driven) way to have the following test fail on the message of the exception. [TestMethod()] [ExpectedException(typeof(ArgumentException))] public void ExceptionTestTest() ...

热门标签