08-06-2014 10:38 AM
Hello everyone,
I built an installer for my .exe. I included:
1. NI LabVIEW Run-Time Engine 2012 SP1
2. NI-DAQmx Core Runtime 9.6.2
3. NI-DAQmx MAX Configuration Support 9.6.2
The computer I made the VI is a Windows XP machine. The computer I want to run the installer on is a freshly-installed Windows 7 machine. When I attempt to run the installer, I get the following error:
Missing subVI DAQmx Create Task.vi... missing subVI DAQmx Create Channel (TEDS-A1-Voltage-Basic).vi... Missing Timing (Sample Clock).vi... Missing Control Task.vi... Missing Clear Task.vi... Missing Stop Task.vi... Missing external function nilvaiu.*:DAQReadNChanNSamp1DWfm:C...
It looks like I'm missing DAQmx VI's, yet I included DAQmx in the installer.
Thank you.
Solved! Go to Solution.
08-07-2014 02:09 AM
Does the EXE run on the development machine?
It sounds like you excluded too much in your build process. Please verify that by playing around with the exclusions (e.g. "remove unused members of libraries").
Norbert
08-07-2014 11:22 AM
Norbert,
Thank you for your response. Yes, the .exe runs on the development machine. When you say that you think I "excluded too much during the build process", are you saying that I probably forgot to include some libraries under "additional installations"? I am not sure what you are suggesting when you say "remove unused members of libraries"?
08-07-2014 11:35 AM
Your question puzzles me...
Why would an installer exe tell you about missing DAQmx-VIs? A exe file, create by the application builder, which is run without DAQmx installed probably will throw such errors, but IMHO not the installer. The installer should install DAQmx, LabVIEW runtime and finally your application.
Even more puzzling: Now the exe on your development system has these errors. I would assume that your development computer has DAQmx installed otherwise it is not possible that you use DAQmx-VIs in your development process inside LabVIEW.
Could you be more specific.
Regards, Jens
08-07-2014 12:31 PM
Jens,
Allow me to clarify:
Does this make sense?
08-07-2014 01:01 PM
I know these sound like a no-brainer questions but, did you run set-up.exe from <Directory>volume? Can you open MAX on the target machine? If so what software components are listed? Did you reboot to finish installation?
My 8-Ball is screaming that this is a simple error that will involve a <face palm> moment.
08-07-2014 02:04 PM - edited 08-07-2014 02:04 PM
Yes, now your question makes sense to me.
But I'm sorry, I've no idea what went wrong. Your approach sounds fine.
Regards, Jens
08-07-2014 02:46 PM
Didn't restart. That's embarrassing. Thanks, everyone for your help!
07-05-2018 05:50 AM
I have the same problem, but in my case, I restarted.
The fact is that I have a program with 9 sequencial vi's. the 8 first do not interact with the DAQ , the error apperas on the last vi.
So, a do not know what to do...
07-06-2018 03:54 PM
Hi Aitorplaza,
Given that this thread is nearing 4 years old, it would probably be best to create a new thread to post this question on for better visibility.
Regards,