LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting a 'subVI is not executable' error, but the subVI has no errors

I'm working on an existing project and upon loading it I get an error message "SubVI 'GP_Digital Buffer Control.vi': subVI is not executable". When I select the VI for errors, it shows 0 errors and warnings.

 

I'm still a novice to LabView so I'm not sure what would cause this error message. I'm currently using LabView 6i with Traditional NI-DAQ 7.1.

0 Kudos
Message 1 of 11
(14,534 Views)

Not sure if this is it, but check this link

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 11
(14,530 Views)

OK, I backtracked to NI-DAQ 6.8. I am now getting an error looking for 'nidaq32.dll'. I have the .dll file, but I'm not sure where it supposed to be placed.

0 Kudos
Message 3 of 11
(14,521 Views)

OK, figured out the .DLLs now I have a version of lvdaq.dll that is missing functions. I have three different versions of lvdaq, but none seem to be working.

0 Kudos
Message 4 of 11
(14,505 Views)

More specifically, I am getting 'function not found in library' error messages for the following functions that are looking in lvdaq.dll

 

- Digital_Buffer_ReadInterface

- Digital_Buffer_ControlInterface

- Digital_Clock_ConfigInterface

- Digital_Buffer_ConfigInterface

- Digital_Mode_ConfigInterface

- Digital_Group_ConfigInterface

- Digital_Buffer_WriteInterface

 

It looks like I do not have a complete/up-to-date version of lvdaq.dll

0 Kudos
Message 5 of 11
(14,481 Views)

Don't quite understand something. You said you had a dll and then figured it out. I hope you did not just copy a dll to some location. You have to run the complete installer. The latest version of traditional DAQ that supports your very old version of LabVIEW is 7.4. If you have attempted to install different versions or did any manual copying of files, first do an uninstall of whatever version you have. Then run msi blast to remove everything. Then run the installer for 7.4.

Message 6 of 11
(14,465 Views)

Yes! That did it. Thank you very much. Everything is loading now.

0 Kudos
Message 7 of 11
(14,448 Views)

OK, the program is running the way I want it to. Now I want to make an executable. I bring up the 'Build Application or Shared Library' box and I get the popup message

 

     "Error 7 Occurred at Open File in Read Icons from ICO File.vi > Read Icons for Application.vi > Dist Call Get Icons.vi > Build Application.vi".

 

According to this link, http://digital.ni.com/public.nsf/allkb/DCE116E63F16EE618625687F004D45E9, I need to have an Applibs directory, but from there I'm stuck. How do these steps differ between 5.1.1 and 6i?

 

Should I be looking for the Applibs directory in C:\Program Files\National Instruments\LabVIEW 6.1 ?

If it is not there, what do I use to get it in there?

0 Kudos
Message 8 of 11
(14,410 Views)

Hello,

 

You should have the applibs folder at C:\Program Files\National Instruments\<LabVIEW Version>\ . If it is not there, I would make sure that you have your folder options set to view all files and folders. If its still not there, I would perform a repair on LabVIEW and ApplicationBuilder.

 

-Zach

 

0 Kudos
Message 9 of 11
(14,372 Views)

Reinstalled LabView and found the problem right off. McAfee doesn't like the lvapp.lib file and removes it.

 

Don't suppose anyone knows how to make McAfee avoid the directory the file is in?

0 Kudos
Message 10 of 11
(14,353 Views)