LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

vi vs vit

Wow, lost track of this thread a while ago.  Looks like there was some good suff posted.


wiebe@CARYA wrote:
Some more remarks...

> > - VITs are never run, but are templates that generates a VI
> > instance on the fly that has all the properties, attributes and
> > limitations of a VI.  A VI on the other hand has only one instance
> > (unless you make it reentrant?)
>
>  You can actually run a vit, but when you open one with VI Server, it is
>  cloned. (If you drop a vit in your diagram, you can edit it, but also run
>  the vit itself). It seems kinda pointless to make a vit if you are going to
>  run it like a vi, but you'll do this a lot during development.

Thing is, if you use a VIT like a VI by placing it in the block diagram, you CANNOT (at least in 7.0) open it with Open VI Server.  It will complain that it is already open.

> > - A VI generated by a VIT is debuggable just like a VI in that you can
>  trace the execution along the wires.
>
>  But in 8.5 (I think from 8.0 on) reentrant vi's can also be debugged. Just
>  for your information...

Good to know they fixed that.  I found it kinda stupid that it was like that to begin with.

Great responses, thanks.

 

 

A

0 Kudos
Message 11 of 11
(680 Views)