ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

comparing Vis Programatically

Hi
 
   I am trying to compare 2 VIs using the CMP Compare Two VIs.vi from C:\Program Files\National Instruments\LabVIEW 7.1\project\procmphier.llb and am not successfull. The program always througs error 1004 saying "The VI is not in memory." though I have the 2 VIs am trying to compare opened. Has anyone tried to do this before.
0 Kudos
Message 1 of 4
(2,953 Views)

Hi Vishnu,

I was able to get this VI to work fine when calling it as a subVI.  You must make sure you specify the VI names correctly...note that a VI name includes its file extension, so the name of c:\sample.vi would be "sample.vi", not just "sample".

Good luck,

-D

0 Kudos
Message 2 of 4
(2,942 Views)

Hi Darren

     Thanks for the reply. I got that working. Do you know if I can compare 2 altogether different VIs with same name but in different locations.

0 Kudos
Message 3 of 4
(2,922 Views)
Not with 7.1. You cannot open more than one VI with the same name. You would have to rename one of them first or upgrade to LabVIEW 8.
0 Kudos
Message 4 of 4
(2,918 Views)