Jump to content

Error handling loop


Recommended Posts

Posted
  On 9/28/2010 at 3:58 PM, Techie said:

Hello,

I am struggling with the multi-loop architectures these days, can anybody share a multi-loop design pattern with the error handling loop included?

Thx

I think most people use some sort of Queue based error handling where each loop/subvi/process/task places a message on the queue which is handled by a dedicated error task.

Posted
  On 9/28/2010 at 4:13 PM, ShaunR said:

I think most people use some sort of Queue based error handling where each loop/subvi/process/task places a message on the queue which is handled by a dedicated error task.

Thx,

do you have some examples?

Posted
  On 9/29/2010 at 10:52 AM, Techie said:

Thx,

do you have some examples?

Hi Techie

Attached is a template example I use for teaching, it is taken from NI course example.

It may not be the best, but is an implementation that may get you started?

Cheers

-JG

Error Module

post-10325-098331600 1285765023_thumb.pn

Top Level VI Example

post-10325-081559600 1285765014_thumb.pn

Code

Producer Consumer Events Error Display.zipFetching info...




			
		
  • Like 2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.