Cannot build Installer with NI-DAQmx Configurat​ion Support 9.6.1
Running labview 2011 SP1 f2
All SW/Device Drivers are up to date. error code -21, see attached for more details.
Things tried:
Updated just about all NI software
repaired Labview, device drivers, OPC and DSC as individuals.
Running out of options, its something specific to my machiene, other developers can build this given the same setup.
Ideas?
Certified LabVIEW Architect
Attachments:
NI Build Error.docx 79 KB
- The following are possible reasons and solutions for this error:
#1. Installer specifications file is corrupted. For example, an old version of an installer specifications file could have been copied into the project.
-Go to Tools>>Advanced>>Mass Compile and mass compile the directory where the error is located. Mass compiling is necessary for VI compatibility with a particular version of LabVIEW. If this does not work then delete the saved installer settings from the project window and create a new one with the same settings.
#2. Additional installer components have been overwritten
-Referring to the knowledge base Why do I get a Missing Distribution Error when trying to build an installer from LV 8.0, an installer build always refers to the original installer source. For example, if you are using the NI-DAQmx driver (with additional component MAX 4.0) and later install Measurement Studio (With additional component MAX 4.1) this will cause an error because the installer is still referring to MAX 4.0. Point the installer to the original content on the driver-cd or the hard drive.
#3. Installing drivers before you installed LabVIEW or Updating your drivers
-The same driver and LabVIEW version, which the VI was written in, must be used to build a functioning installer. If an upgrade has occurred then make sure to include updated versions of the run time engine and driver. The driver and LabVIEW versions can be upgraded , in which case you can include the updated version of the driver and run time engine when you try to include additional installers. Make sure that the driver is properly installed for the specified version of LabVIEW in order to upgrade code for new drivers and software. Make a back up of your current project for reference. Open the project in the specified version of LabVIEW and go to Tools>>Advanced>>Mass Compile and mass compile your code
Similar Messages
-
Error when building Installer with USI 1.5.0 with Labview 8.5
I used to build an installer with Labview 8.2 and included this additional installer USI 1.5.0 but now with labview 8.5 it gives me an error:
"Locate the "NI LabVIEW" distribution. LabVIEW needs to copy a component installed or updated by the distribuiton to conitnue building the installer"
Any adviceHi reza_sed,
Thank you for contacting National Instruments. When you get this message, are you prompted for a location of this installer (CD drive or something)? Sometimes if components are installed together, certain dependencies are created. You might be able to add the installer to a LabVIEW 8.2 installer with no problem, but the installer cannot be found when using a different version of LabVIEW. You might try uninstalling USI, then copying the install files from the CD or from our website to your hard drive and then installing from there. Then, you should be able to include the additional installer.
Another thing that may be happening is that the LabVIEW Run-Time Engine you have for 8.5 does not support NI-USI. The full version of the Run-Time Engine supports NI-USI, but the web browser only version does not. Make sure you select the full version when installing.
Donovan -
Trying to build a LabVIEW 8.0.1 installer with
NI-RFSA 2.0.7 as one of the "additional installers". The installer builds fine, but when I run
the installer, I get "Fatal Error!! Required NIPathsDir property
LV85DIR is undefined" and the installer exits.
What,
exactly, needs to be included in an RFSA installer (e.g., the
documentation for NI-RFSA says it includes DAQmx, NI-SCOPE and MAX
already). Do I also need to include the LV 8.5 runtime engine?
JoeG
Joe Gerhardstein
Averna Test Systems
Certified LabVIEW Architect
http://www.averna.com
Attachments:
installererror.gif 2 KBFigured it out. Some additional digging led to the use of the "setup.exe /log logfile.txt" command, which can be run from the command line (shell). This generates a log file which I used to find my problem.
See attached image.
In the Shortcuts section of my installer, I specified a subdirectory with the forward slash (/) instead of the normal windows backward slash (\).
NI: Please please please add this to your KB article on this problem. Also please please please consider flagging this error in the installer builder. There are many illegal characters for Windows that are well documented. I know this builder is probably cross-platform, but we know what the target platform is here!
Joe Gerhardstein
Averna Test Systems
Certified LabVIEW Architect
http://www.averna.com
Attachments:
slashslash.gif 12 KB -
Building installer with 8.5
I have built an application with Labview 8.5 and am trying to build an installer with the 8.5 runtime engine for a stand alone program. However the exe builds okay, but when I try to build the installer I get a message saying some components need to be load from real-time module 8.6.1 and it asks for the directory of the nist.id. I am not using any real time in my application. It seems as though this started popping up after I installed Labview 8.6. Anyone have any Ideas.
Regards,
WadeThanks for the Reply and link. I just placed the Labview disk in the disk drive and selected that directory so the installer builder could locate the file it was looking for, and then cached it. However I am curious as to why all of the sudden it needs the real time module 8.6.1. If my only additional installer is RT engine 8.5. Before I upgrade to NI DAQ 8.8 that came with LV 8.6 I hadn't gotten this request for the RT Module components while only requesting the RT engine for an additional installer. Anyways its no big deal now that I have the file cached. It doesn't ask anymore. Thanks.
Wade -
Cannot build application with labview 7.0
I had built application previously using labview 6.X while some of the V.I. are without block diagrams, but I couldn't do that any more with labview 7.0 as a error will be prompted, why is this happening & are there difference in application builder between labview 7.0 and previous version? Must I load those V.I. without block diagrams dynamically now ?
Unfortunately it is impossible to build application with newer version with VIs without block diagrams, which saved in oldest version.
from ni web site:
"National Instruments does not recommend saving VIs without block diagrams because LabVIEW needs the block diagram to recompile the VI after an upgrade. When you upgrade LabVIEW, you must find a version of the VI that includes its block diagram to recompile it. Such a version did exist before the block diagram was removed because it is impossible to create a new VI without a block diagram."
"Based on that information, it should be clear that once a VI is saved without diagrams:
You cannot open or run the VI on any other version of LabVIEW, older or newer."
More information:
http://digit
al.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/00a6bacda1c01a0786256b60006163e7?OpenDocument
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/28c4cb0cf83e1a1d862566e2007a2a9c?OpenDocument
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/fee732f4b1541b9586256bf0006a78ca?OpenDocument
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/0649a3350de20aa186256d91007b3d61?OpenDocument -
Trouble building an installer with NI-DAQmx and tasks
I am having trouble getting an installer that includes my tasks for NI-DAQmx. I select the configuration wizard from the hardware tab, it shows my tasks with checkboxes but i cannot 'check' the task I want, it says "the item cannot be checked because it depends on other items whose software has not been installed". The drop down menu for the 'scales' can be shown and checked but that doesn't include the tasks when i try to install the 'package'.
that was the problem... but raises another issue.
My DAQ device NI-USB 6008 was not connected to my "development workstation" but was on the "distribution workstation". When I connected the USB DAQ device to my development workstation I was able to check the checkbox and it was included in the configuration file and when I installed the application on the development workstation, it worked as expected.
Does this mean that any time I make a change to the "Task" i'm going to have to have the DAQ device (the UB 6008) attached to my development workstation for the installer build to work?... that seems cumbersome... and since I'm going to be developing my App to run on 4 different workstations each with it's own USB 6008, am I going to have to configure the appln 4 ways (4 tasks) - 1 for each workstation? -
Image Ultra - cannot build W510 with new image - stops on missing Operating System Modules
Hi folks,
I am trying to build a new image for a Thinkpad W510 using ImageUltra 4(and now 5). I cannot get it to build unless I use the Network Install. If I use the boot disk, and select the Install and Setup option, it prepares the disk, and service partition and copies the modules to it. It then restarts, and instead of commencing the OS installation, boots to the ImageUltra Builder screen showing options to boot to another drive, go into the bios or start the browser.
If I clik in the ImageUltra link, it brings up an Image Ultra Map menu viewer dialog to tell me that a module is missing. This module is the Windows XP Primary Partition moule.
In desperation, I have upgraded to Version 5, and replaced the IUB4 modules with the corresponding version 5 ones. Still the same problem.
As I said, I can use the network install, so it looks like it cannot see the service partition.
I have the disk set to compatibility and not AHCI.
Any help would be gratefully appreciated.Hi,
I have seen, this same situation in the past with the T400 systems.
My problem was caused by the fact, that I placed XP Partitioning module into the wrong order.
From your description I assume, you want to deploy XP on the system.
So in this case make sure, that following in kept:
- you have configred the service partition to resize on the BACK (NOT on the front)
- make sure, that you define the service partition size to be dynamic (if it's too small, then tat would explain your situation)
Right now you are thinking on the same stuff as I do: "This all is correct, because it works using the network deployment ... "
Please understand, that the logic, when you are using CD deployment and Network deployment is a bit different.
Have you tried to use the deployment using a USB key?
I would also advice (as a debuging start) to remove EVERY module except following modules from your Base Map:
- XP Partitioning module
- Customization module
- Unattend .txt module
- OS main module
This will only show, if it might not be possible, that some other module is not intergerring with your image deployment.
NOTE: for this test deployment exclude the driver map.
In case none of the above will work, then please describe a bit more your Base Map (what all does it contains and how the service aprtition is set + what about the cleanup option,.... )
NOTE2: please in case you have the AHCI driver contained in the installation, then set also the SATA configuration in BIOS to AHCI when deploying.
Cheers -
Error building installer with additional traditiona ni-daq
I get an internal error 40 when I try to build an installeur with the additional traditional ni-daq installer
This is what I get: Hard to decript
CDK_Item_OnDoProperties.vi.ProxyCaller >> CDK_Item_OnDoProperties.vi >> CDK_InstallerConfiguration_Editor.vi >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_Build.vi >> NI_MDF.lvlib:MDFDistCopyList_Open.vi
Loading product deployment information
Loading product deployment information
Adding files to installer
Done adding files
Preparing to build deployment
Copying products from distributions
Building deployment
Copying setup files
Setting merged database information
Setting product information
Setting developer part information
Starting final build
Validating...
Copying files...
Updating files...
Creating merged database...
Creating installer files...
Build complete successfully.
Copying additional setup files
Done building deployment
Loading product deployment information
Loading product deployment information
Loading product deployment information
Adding files to installer
Done adding files
Preparing to build deployment
Copying products from distributions
*** Error: Internal error. (Error code -40)
*** End Error Report
Done building deploymentChamplain:
I hope all is well. I am sorry you are experiencing such issues with the application builder. Does this issue occur consistently or it was just a one-time occurence? You may try to do the following:
1. Delete the "Application" folder which was created after the unsuccessful builds.
2. Uncach the folder in the Build Specs
3. Copy your driver CDs to your hard driver and point to the newly created folder.
Please feel free to try this at your own convenience and let me know what you find.
Regards,
Rudi N. -
The Building Installer with Robohelp
I am using RoboHelp for HTML version 8
So, the build engineers and others are wondering if there is not some way to cut down on the number of files or reduce the compiled help to a single file. Apparently, with chm files they just had to account for a single file. But they regard the current process as quite complicated, since they have to put lines in the installer for each of the Robohelp files, of which there may be over a 100 depending on the number of topics, etc. Is there some way I can help them out?Hi there
If you are generating WebHelp, you really do need to consider ALL the output files to be needed. But that's only if you really want your help to function under all circumstances.
Note that it should be possible for your developers to use wildcards to specify files. This means that instead of painfully adding entry after entry of this.htm and that.htm and theother.htm, they specify *.htm and all files in the folder would be included.
Cheers... Rick
Helpful and Handy Links
RoboHelp Wish Form/Bug Reporting Form
Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
Adobe Certified RoboHelp HTML Training
SorcerStone Blog
RoboHelp eBooks -
Runtime Error building Installer with NI-VISA Runtime
Greetings, I'm getting this error whenever I check the "NI-VISA Runtime" option in the installer app builder.
Everything builds fine when I check only the Runtime Engine. Shown below is what causes the RUNTIME ERROR and closes Labview Unexpectedly.
Any help you could provide would be very much appreciated.
Regards,
JDHi JD,
This is a relatively common error with the Application Builder that can happen for several different reasons, namely registry keys pointing to installations that no longer exist. The easiest way to identify the problem is to get detailed information about the installer build. Here are directions:
LabVIEW has the
ability to create a very detailed log of the events that occur when
building an application or installer. To enable this feature, open up
the LabVIEW.ini file and copy "CDK.EnableLog=true" to the bottom
of the file. Save the changes and close the ini file. The LabVIEW.ini
file is usually located in C:\Program Files\National
Instruments\LabVIEW X.X
Enabling this feature will create a log file in the %temp% directory of your computer (%...% means a computer variable) .
To
find out where this temp directory is located, go to Start>>Run.
Type in "cmd". Then type "set". This will return all of your computer's
variable names.
Look for TEMP in the list of variable names. You should see something like "TEMP=C:\DOCUME~1\user\LOCALS~1\Temp".
Navigate to this directory using Windows Explorer.
You
should see a file named "Name.log" where "name" is the name of your
build specification. For example, you might see "My Installer.log" if
the name of your build specification is "My Installer".
This will give you a more detailed log of the attempted build and, if I'm correct about why this particular build failed, show you which installer is expected at that registry. If the registry points to a directory without the necessary installer (i.e. VISA), simply delete the registry and allow the App Builder to prompt you to to point to the correct location.
Michael K.
| Michael K | Project Manager | LabVIEW R&D | National Instruments | -
Build Installer with include file 2009
Does LV 2009 let you include files, i.e. *.doc or *.txt, in the installer build? I almost certain this was possible in LV 8.*. I don't see where I can add files outside of source code. I can only add directories...
Solved!
Go to Solution.Oh gee thanks, stupid me. I'll try that....
Thanks -
DAQmx configurat​ion
Hello,
please clarify following points.
1) How to acquire multiple analog input channels data simultenously in DAQmx configuration?
2) How to set minimum and maximum input limits of individual channels when it is configired as multiple DAQmx physical channels mode(ex. md1 ch0:5,say).
3) If i configure SCXI-1125 module in traditional NI DAQmode, it options like filter and gain settings are available. whereas if the same module configured in DAQmx mode, filter and gain options are not there. How to set these options in case of DAQmx mode?
Look forward for ur valuable reply.
regards.
chanduu#1 & 2) Add channels to the Task, either in MAX when you set up a Task, or programmatically. Each channel can have a different min and max.
3) Set the filters and whatnot on you module in DAQmx with Property Nodes, as shown in the attached pic.
Richard
Attachments:
filt.jpg 21 KB -
Hi everybody!
I need my fieldPoint application to be able to check
for the filedpoint structure, that is I want my application
to return the number of FP nodes, and for each node how many FP IO modules are connected, and of which
type.
I'd like not to use "FP get configuration info",
which is based on locating the .iak file. I have my .iak file
correctly generated, but I do not want to use it.
At the end, I'd like to have a variable configuration, and when I change module order and number, I don't want
to re-generate a .iak file, (because I don't want to use MAX... ).
Should I query my modules until I reach an error?......
grazianoFirst of all, thanks, Khalid!
I want to use the COM port. I gave a look to the "Find
FP-100x example", based on optomux commands, and I found it very
interesting, to my purpose. But I have some questions about it.
First of all, in the example I have to provide explicitly
an address (the fp1001 address, 0x0 for me), so I should build a loop,
in which I scan all possible addresses (that is 0, 10, 20,... ) which
generate many errors, in normal conditions.
After this, in the example I get a Module ID, which is:
FP1001 -----> ID: 2
FP-DI-301 --> ID 105
FP-DO-401 --> ID 106
FP-DI-301 --> ID 105
FP-DO-401 --> ID 106.
The list actually matches the order of my FP chain, but
I'd like to know if these IDs are given to the modules when
they're configured for the first time in MAX, or are set in HW?
Thanks!
graziano -
Seven segment led display with arduino pin configurat​ions
iam new here.. i am trying to dipaly a numbers on led seven segment display. but i dont know how to cinfigure pin numbers with arduino examples...
can anyon eexplain the pin configuration in sevensegment led.Hi anilkun,
in the linked example you see that picture. It shows all the needed wires to connect Arduino with 7segment LED.
What else do you need?
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Problem building GTK with jbuild on Mac OS X
Hi everyone,
I don't know if this is the right place to ask my question...
I cannot build GTK with jbuild on my Leopard 10.5.8 system.
I have deleted the Leopard built-in Python 2.5 folder (At that time I didn't know that deleting the default system Python is not good....) and I have installed Python 2.7 (from the .dmg file).
I also Installed Apple Developer Tools, which I guess should be XCode 3.0.
On the terminal I verified my Python version:
$ which python
/Library/Frameworks/Python.framework/Versions/2.7/bin/python
Then I followed this guide to build GTK:
http://sidhosting.co.uk/josh_fradley/getting-emesene-2-up-and-running-on-os-x/
which is basically the same as the one in Gnome site:
http://live.gnome.org/GTK%2B/OSX/Building#Procedure
I followed the first guide, but it gives me some errors:
macbook-pro-di-zhu-francesco-yangfan:~ francesco$ curl -o gtk-osx-build-setup.sh https://raw.github.com/jralls/gtk-osx-build/master/gtk-osx-build-setup.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3716 100 3716 0 0 1612 0 0:00:02 0:00:02 --:--:-- 1814k
macbook-pro-di-zhu-francesco-yangfan:~ francesco$ sh gtk-osx-build-setup.sh
Checking out jhbuild (2.32.4) from git...
From git://git.gnome.org/jhbuild
* tag 2.32.4 -> FETCH_HEAD
Installing jhbuild...
Installing jhbuild configuration...
Installing gtk-osx moduleset files...
PATH does not contain /Users/francesco/.local/bin, it is recommended that you add that.
Done.
macbook-pro-di-zhu-francesco-yangfan:~ francesco$ PATH=$HOME/.local/bin:$PATH
macbook-pro-di-zhu-francesco-yangfan:~ francesco$ export PATH
macbook-pro-di-zhu-francesco-yangfan:~ francesco$ jhbuild bootstrap
Traceback (most recent call last):
File "/Users/francesco/Source/jhbuild/jhbuild/config.py", line 212, in load
execfile(self.filename, config)
File "/Users/francesco/.jhbuildrc", line 90, in <module>
_xcodeversion = xcode_ver()
File "/Users/francesco/.jhbuildrc", line 89, in xcode_ver
return float(exp.match(_ver).group(1))
AttributeError: 'NoneType' object has no attribute 'group'
jhbuild: could not load config file
Anyone can tell me why I got this error?
It seems that jbuild doesn't see my xcode version? But I did install it!
It's very strange because I succeeded to do 'jbuild bootstrap' before when I used to have Python 2.5, although I got stuck for other commands more forward.
Thanks everyone.You may want to also post over in the Developer forums...
https://discussions.apple.com/community/developer_forums
Maybe you are looking for
-
Can't access "Overprint & Transparency Flattening" Options in Save As PDF Dialogue.
I really need help here. Because of printer driver issues, I've lately been forced to outline/flatten all of my text in my PDFs so that we can print them in the office. Since installing the latest update however, I'm now unable to access the "custom"
-
How can i do different colors for the category in business graphics
Hi everybody, i have a business graphics and i need different colors for the category. my business graphics is a gantt. for example category1 category2 category2 and so on. Is there a solution for this? How can i do it? Best regards, Markus
-
Can i set up multiple desktop screens to view at once?
I am trying to set up a view different desktop views that I can alternate between. Is this possible?
-
Laptop will not power on even after hard reset
hello, this laptop had a problem with the keys not typing, it was working fine the other day, then it suddenly would not type, i had to use on screen keyboard to log on , i had done a few thing like check filter keys were not on etc, when i was googl
-
Exported images are under-exposed
I have been using LR5, with updates, for the past couple of years, on a Windows7-PC 64 bit, system. Several weeks ago, I noticed that when exporting images, that were fine in the catalogue, that they became approximately 0.7-1.0 stops, underexposed.