Beruflich Dokumente
Kultur Dokumente
Problem:
My LabVIEW application uses VI Server to call and run another VI. When I run the application, I receive
error 1003. Why am I receiving this error?
Solution:
You can receive error 1003 or error 7 when you try to call a VI by reference or try to run a VI
dynamically using VI Server and the called VI cannot run. A common reason the VI cannot run is
because LabVIEW cannot locate it or one of its subVIs. This also often occurs when the VI depends on
a driver that has not been installed on the current system (for example, NI-DAQmx or NI SoftMotion).
The easiest way around this is to include any VIs that you call dynamically into the build. The procedure
for this is shown below. However, if the VI being called by VI server is not static, for example if it is
changed after build time and you do not want to rebuild and distribute the entire executable, ensure you
use relative file paths for the VIs you will be calling. You will also need to copy the VIs you would like to
execute into the relative file path on the target machine. See LabVIEW 2013 Help: Relative Paths for
more information on using relative paths. Also see LabVIEW 2012 Help: Building Applications Checklist
to make sure you have done everything to ensure your executable will be ready for deployment.
1 de 2 21/09/15 08:51
Why Do I get Error 7 or 1003 When Using VI Server in a... http://digital.ni.com/public.nsf/allkb/410F2EC66F60F9B...
2 de 2 21/09/15 08:51