Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Building application exe USB-9211 DAQmxBase LabView7.1 errors

I have a USB-9211 DAQmxBase and when I´m building an application exe this error appears:

"error 1003 ocurred in c:\...app\internall.llb\DAQmxBase Start Task 92xx.vi
Possible reasons : The vi is not executable".

I have tried to build an exe with another vi (an LabView example) that not uses any ports like USB, serial or paralell and it work fine! Any way, I have also tried to build an exe with an LabView7.1 vi example suplyied by USB-9211 DAQ and the same error appears. Do I have to add Dynamic VI´s ? If yes, What VI's'

I would be gratefull if someone awser!
By
0 Kudos
Message 1 of 8
(4,384 Views)
This error message can be the result of many different scenarios. To correct the problem, try these troubleshooting steps:

Make sure that all of the subVIs are running correctly (no broken arrows). Error 1003 occurs if any subVI is not executable.

Perform a forced recompile by pressing Control+Shift, and clicking the run button.

This forces LabVIEW to recompile, re-link, and recheck data dependency from the ground up (as does the application builder), rather than in segments. After this is performed, the run arrow may become broken, which will allow you to trace the error list to the broken part of the VI and fix it.
If you installed the LabVIEW Application Builder separately, make sure its version matches your LabVIEW version(i.e. LabVIEW Application Builder 6.1 with LabVIEW 6.1).

Mass compile the VI before you build the executable.
Ensure that all VIs used in the distribution have unique names (if you have two VIs of the same name located in two different places being called, the Application Builder will give this error)

If you are using LabVIEW 7.0, check to make sure you do not have enumerated typedef with an empty element. This situation can cause Application Builder to return error 1003. In Application Builder, under the Application Settings tab, deselect the "Disconnect type definitions and remove unused polymorphic VI instances" option. (see attached screenshot)


Hope this help,

Regards,

Sanaa T
National Instruments France

Sanaa T.
National Instruments France

0 Kudos
Message 2 of 8
(4,376 Views)
I have performed a forced recompile by pressing control+shift-R and the arrow appears broken! Any way, this take to much time and my diagram block is blocked (blank). Is this normal? It takes too much time? How can I trace the error list to the broken part of the VI and fix it if this appen? I have tried to do this in some examples of thermocouple DAQmx base and takes too time to recompile (never ends). I have tried to make an application build exe in this examples and the same error appears "DAQmxBase Start Task 92xx.vi not executable". I believe that the examples don´t have broken arrows, am I writte? I yes Why cant I make an exe?

-I have Labview 7.1 and application builder 7.1 (not installed separately)
-I am using the USB-9211 for 4 thermocouple measures (the VI works fine)

When I Installed the USB-9211, NI-DAQmx Base 1.3 CD I tried to install the NI-VISA for RTX too but I could not perform this because the installer told me that "you must have the runtime 5.5." Maybe this information became to be relevant.
0 Kudos
Message 3 of 8
(4,361 Views)
Thanks, I have found the solution, now I can create executables with no problem! Thanks again
0 Kudos
Message 4 of 8
(4,340 Views)
Please explain how you overcame this problem!
0 Kudos
Message 5 of 8
(4,215 Views)

Hello,

Do you receive now the same error? 1003? Can you please send to me the copy screen of error message.
It seems to be strange. Have you tried to build exe of NI examples that you can find on Help.
Try to build exe for NI example that uses NI-DAQmx Base and the other.
I suggest you to install the last version of NI-DAQmx Base 1.5 on the link :

http://digital.ni.com/softlib.nsf/websearch/CE3686A8D5B0CEDC86256FFD007C9C4A

Regards,

Sanaa T
National Instruments France

Sanaa T.
National Instruments France

0 Kudos
Message 6 of 8
(4,196 Views)
I have the same problem with DLL building with all my VIs using DAQmx VIs with a PCI device (not a USB one).

The VIs works perfectly, but when building my DLL, some return error 1003 about the Start or Stop Task VIs saying those are not executable VIs, some other just crashes in the middle of building.

Interresting behavior, when I Alt+Shift(Linux equivalent to ctrl+shift) click on run, those returning error 1003 runs normaly, and those crashing.... crashes.



0 Kudos
Message 7 of 8
(4,191 Views)
I solved the problem in a very simple way! When I installed the LabView 7.1,  I did not installed the "Device Driver CD". Make sure you have this CD and install it. The complete name is: "Instrument Control and Data Acquisition Device Driver CD".  You can get this Device Driver CD by  requesting it to National Instrument.
0 Kudos
Message 8 of 8
(4,170 Views)