Jump to content

How to debug/trace execution of a VIT?


Recommended Posts

Hello,

I've spent several hours on the phone with NI today trying to find out how to debug/trace execution of a VIT (vi template) with no results. The engineer helping me, skipped out on me and was unreachable through the end of the day.

So basically I have a little problem with VITs which in our application are used as displays which spawn an x amount of displays and show data curves which are read from our memory list. Basically I’m putting in some functionality right now and I want to be able to trace the execution flow (see the code on the BD or put in a break point) of the display instances which get created from say…XY Graph.vit. I know there’s a way to do this b/c NI said it’s a new feature in 8.2.1 and supposedly they fixed a bug in it in 8.5. I called NI “platinum” support line (they should just upgrade straight to triple uranium since platinum is useless). Any ideas? Thanks!

Link to comment

QUOTE(linnx @ Sep 28 2007, 05:05 PM)

Yep got it, thanks.....was a little confusion.

...and for future reference...

You have to identify which instance you are after.

If you are debugging the templates caller you can ctrl-double click to bring up the diagram, similarly with single stepping into.

Templates should show up in hierarchy (ctrl-a show all) were the ctrl-double click also should work.

Ben

Link to comment

QUOTE(Ben @ Sep 28 2007, 03:01 PM)

...and for future reference...

You have to identify which instance you are after.

If you are debugging the templates caller you can ctrl-double click to bring up the diagram, similarly with single stepping into.

Templates should show up in hierarchy (ctrl-a show all) were the ctrl-double click also should work.

Ben

We should clarify... as in Template *.vit and reentrant VI's. You can't locate the template instance on a diagram because it won't exist on a diagram, only in memory. You probably meant reentrant VI instance. I know what you meant but want to make sure others got it.

Link to comment

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.