LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

build application freezes, USB-6501

I am running LabView 7.1.1 on Mac OS X 10.3.9. I am controlling a couple of instruments via GPIB and the USB-6501 with DAQmx Base. My VI works fine. I'm trying to build a stand alone application with the application builder and it freezes during the build. I have unchecked the box to "Disconnect type definitions and remove unused polymorphic VI instances" in the Application Settings of the Application Builder and it still freezes during the build. I've tried to recompile the VI by holding down the option and shift keys while clicking the run button and it locks up then too. I have successfully built applications without the USB-6501. Can anyone offer some help? Thank you.
0 Kudos
Message 1 of 5
(3,103 Views)

Start removing pieces of the code one at a time and seeing if it will build. By the way, the resulting code doesn't have to be able to run just build sucessfully (no broken arrows). It definately sound like there's a trashed VI in the hierarchy somewhere.

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 5
(3,093 Views)
I removed the code that controls the USB-6501 and it builds fine. I've tried building applications from the example vi's for DAQmx Base, including the very simple "write digital port vi". Every single one freezes when i try to recompile. I tried building without recompiling and it froze the first time, but the second time it worked, but it took about ten minutes to build. This seems kind of long for such a simple vi.
0 Kudos
Message 3 of 5
(3,085 Views)
Hmmmm... You might want to try reinstalling the drivers for the external box. Also, do you have the hardware installed on the machine that you are trying to build the executable on? If so, try unplugging it before doing the build. If not, try building on the computer where the hardware is installed.
 
Can you see the USB device in MAX, and are there self test or test panels for it?
 
Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 5
(3,083 Views)
Hi All-
 
Unfortunately MAX is not available on Mac for troubleshooting, Mike.  Vob, can you please verify whether you installed NI-DAQmx Base prior to or after installing the LabVIEW 7.1.1 patch?  The driver must be reinstalled after installing the LabVIEW patch and after mass compiling your directories.  You should not mass compile after the NI-DAQmx Base installation.
 
Also, this line from from the NI-DAQmx Base ReadMe might be pertinent:
 

If, when building an executable or shared object project using NI-DAQmx Base VIs, the Application Builder catches an error, you must restart LabVIEW before running any NI-DAQmx Base VI.

 
Please give these suggestions a try and repost if you are still experiencing problems.
 
Thanks-

 

 

Tom W
National Instruments
0 Kudos
Message 5 of 5
(3,069 Views)