Distribution with CVI 8.0.1 construction kit fails after installation of CVI 2010
Update out of the newspaper:
Adding files to install
**************
Internal error: A tool or the library returned an error. (Error code - 21)
**************
Error details:
Error to the MDF API function: _MDFBuildDevPartMerger_Load
returned nmdkLoadMergeModule code error 26152
Final report of the error
**************
This happened earlier. CVI 7.1.1 and earlier versions than 8.0.1 (i.e. + 8.1.1) work.
Any help would be appreciated.
It turns out there are two different problems that arise in the CVI 8.0 distribution builds when you CVI 2009 or newer installed:
- Support for ActiveX container will not be included if you install the runtime in the application directory, or if you're not going under the grouping of LabWindows/CVI Run-Time Engine. In these cases, the ActiveX container merge module should be used and ICB 8.0 won't be able to find it.
- The merge module Instrument Driver Run-Time (instrsup.msm) and the Mesa merge module (NIMesaDLL.msm) cannot be moved to the application directory (which is the option on the Advanced tab that I mentioned in the previous post). This will result in the construction of distribution fails with the error you reported.
To solve the first problem, I recommend the copy of C:\Program Files\Common Files\Merge Modules\ActiveX_Container.msm and rename the copy with a space instead of a line of underscore ("ActiveX Container.msm").
The second question has no easy workaround. If acceptable for your use case, I would say either making the performance overall installation (by unchecking the option in the Advanced tab) or removing the CVI build runtime of your distribution. In the latter case, your application would be based on an already mounted overall CVI runtime engine.
If any of those who will work for you, I can get you copies of pre-2009 instrsup.msm and NIMesaDLL.msm that you would have to manually exchange and out with versions in your common Files\Merge Modules directory whenever you have need to build this distribution in CVI 8.0.
I am sorry for these questions. Let me know if you need these older modules.
A. Mert
National Instruments
Tags: NI Software
Similar Questions
-
Problem with the areo and transparency in Windows 7 after installation of Nvidia Geforce go 6200
Am having problem with the areo and transparency in Windows 7 after installation of Nvidia Geforce go 6200
* original title - I'm having a problem *.
You have the latest drivers?
http://www.nvidia.com/page/support.htmlAero - Windows 7 - How to troubleshoot problems with Aero
(1) first of all, click on the Start button and type in Aero. Now, click on find and fix problems with transparency and other Visual effects of link.
(2) a new Wizard dialog box opens. Make sure that you click Advanced to solve all problems automatically.
(3) either the problem will be solved or not. If this isn't the case, you will get a list of items that are potential problems.
(4) If you want to see more details about the problem, you can click View detailed information. This will give you a list of potential problems that have been verified and those that pose problems.
If it does not---> click Start---> right click computer---> click Properties
Click the link for 'Windows performance index' and then click 'rerun the assessment"to refresh your WEI score and try again.
Note: If you have Windows 7 Starter, or if your system does not meet the requirements for Aero you will not be able to use Aero.
-
Alignment of memory with CVI 2013 problem
Hello
I just installed 2013 CVI from CVI 2010 and opening my old projects, I'm in trouble with the alignment of the memory.
Not in all the projects that I opened, I get the problem, and I'm quite confused about this.
I used to keep in line with the limits of 1 byte of memory and I have thousands and thousands of saved file with this method.
I have prepared a very simple project (attached to this post) to illustrate the problem, consider that the result would have been with CVI 2010 'occupation of 5 bytes.
Pragma pack() change his behavior?
Y at - it a flag set in the Options menu or elsewhere?
If anyone has a suggestion please help me.
Thank you
Sergio
Hello
I found the problem, there's a semicolon that follows the directive of preprocessor #pragma pack (1), and it causes the pragma is ignored.
Remove the semicolon, everything works fine.
Sorry!
Sergio
-
"Mesa.dll is not found" from CVI 2010 installation
When I launch an executable file that has been installed from a distribution kit created with CVI 2010 (360), I get the message "Mesa.dll is not found." But I do not see that the file is installed in C:\Program NIUninstaller Instruments\Shared\Mesa. If I replace this file with a mesa.dll more than a previous version of the CVI, my newly installed executable launches properly.
Hi mrtqs,
While testing on this issue, I came across a similar problem. From my understanding, the CVI Run - Time Engine will also install of VS 2008 C++ Runtime parts. According to that the CVI Run Time options you choose to install a different part of the runtime C++ 2008 VS will be included in the installation. It seems that Microsoft has been able to modify the runtime C++ VS 2008 for some parts, but not others, which is what causes the problem. As a result, there are a few options:
1. install the runtime full CVI with default settings
2 leave out the ActiveX module if does not necessary
3. install the runtime C++ 2008 VS separately on the deployment computer.
-
Cannot compile the project in CVI 2009 which were previously opened in CVI 2010
This was extremely irrititating and does not know what the devil. I have a computer with CVI 2010 and separated with CVI 2009.
I have a project and the CWS, which was established in 2009.
I opened and recompiled in CVI 2010 things since then, ensuring that I saved my .uir file in a CVI 2009 version or earlier.
I usually open the file .prj or .cws on my computer of CVI 2009, but trying to compile and run in debug mode, all of the CVI crashes. How can I recompile and work with it on my computer of CVI 2009?
Am I missing something here? Tehre are no error, warnings or reports of incidents, CVI righteous acts as I hit Alt + F4
-
Executable built with CVI 8.1 error-5093, the analysis library is not found
Upgraded to 8.1 Labwindows/CVI of Labwindows/CVI 7.0 development machines. An earlier application was built using the ICB 7.0 and installed on a test computer. The same code built with CVI 8.1 is any error during execution of the function stdev, 5093 error code has been generated. (From analysis.h: LibraryNotFoundAnlysErr =-5093, / / the analysis library was not found.) Tried to build a facility with 8.1 and installation on the test computer and application errors still executing the stdev function. Back to the same application, but built with CVI 7.0, it works fine. Am I missing something with the build in 8.1 options? Or is it something in the workspace or project? Please notify. Thanks in advance
Hi Tommy,.
In CVI 8.0, the implementation of the analysis library has changed a static library that is linked to your .exe in a DLL that must be loaded when running. If you rebuild your source code and you want to deploy to another machine where the CVI environment is not installed, then you must re-create an installer in CVI 8.1 distribution, so that he can pack the analysis as well as your program library.
You can confirm whether the analysis library is installed by searching for C:\Program NIUninstaller Instruments\Shared\Analysis\nianlys.dll in your target machine (although it is not enough to simply copy this file manually).
When you create an installer in the CVI, be sure that, in the tab drivers & components in the dialog box change Installer , support of analysis element under the Group of LabWindows/CVI Run-Time Engine is checked.
Luis
-
Performance of CVI 2013 SP2 with CVI 2015 - Windows XP problem
I see that XP isn't an operating system in 2015 of the CVI.
Most of our PC are Win7 now, but we have some legacy units which require XP due to a limitation of external controller processor.
Is is possible to generate executables in 2015 CVI which will work correctly with the runtime of 2013?
Alternatively, CVI SP2 from 2013 and 2015 CVI co-exist on the same PC development?
I would not get stuck with CVI 2013 SP2 for the future just to maintain a few predictable XP-based PC.
Hi Shr,
I recommend reading through this community's message: https://decibel.ni.com/content/docs/DOC-23955
Essentially, you can develop a code in CVI 2015 but set the executable to run on previous versions of the Run-Time Engine. Note that the older version of the RTE of Side-by-Side CVI is 2012. You can indeed install previous versions of the CVI on the same computer. The shared runtime will be set to the latest version. Other versions will be side-by-side. The code is not guaranteed to work with previous versions of the RTE so be sure to test the code locally before moving on to another computer.
-
Warning of 'Empty Declaration' ShObjIdl.h with CVI 9.0
Just installed CVI 9.0 and now my project generates a warning of 'Empty Declaration' in ShObjIdl.h on line 1330
I am including shlobj.h to support the use of SHGetFolderPath() and shlobj.h consists in turn ShObjIdl.h
I think I have the same options as before compiler with 8.5.1. I note that there is a new version of the SDK with CVI 9 probable factors in the explanation.
Is this a cause for concern?
-Ian
Oops. It seems that I did a copy/paste error in this post, and Ian never called me on this subject. As I said, he must add a #define, not a typedef:
#define tagSHCONTF shcontf_dummy {shcontf_dummy} shcontf_dummy_typedef; tagSHCONTF Enumeration
#includeSorry about that.
A. Mert
National Instruments
-
Hello
I want to know if it is possible to create a webserver with CVI so that I can connect my application and see the data with internet Explorer?
Backround: we run a CVI-application on a computer within a network. On this computer, collect US data from different systems and publish these data in a sign of the CVI. Users who want to see the data, connect to the computer with a remote control software.
Now, we wondered if it is possible to create a web server with CVI. And if the user cannot see the data on his computer using internet Explorer.
In the forum, we found a few messages very old. Are there new items on this subject?
Thank you
Oliver
As far as I know that it is not supported at the moment.
And there is the suggestion of product requiring a few laurels ;-)
-
Hello
Comment do pay to run a shortcut from the desktop with CVI?
The application launched by the shortcut must take into account the field "start."
For example: An Excel shortcut, if the field "start in" = "c:\". ».
the box open or save in Excel by default will be the path "c:\". »
("in so of course Excel - Options - general - folder by default =" ")Thanks for the help
Hello
I managed to do what I wanted with the ShellExecute command
(HINSTANCE) ShellExecute
HWND hwnd,
LPCTSTR lpOperation, //Executable
LPCTSTR lpFile,
LPCTSTR lpParameters,
LPCTSTR lpDirectory, //Repertoire of work
INT nShowCmd
example:
hResult = ShellExecute (handle,
"open."
"" C:\\Program c:\Program Files\Microsoft Office\\Office\\EXCEL. "» EXE",.
NULL,
"C:\\My documents,
SW_SHOWNORMAL);Thank you still pay your help.
-
How to convert times from second to hh with CVI
How to convert times from second to hh with CVI?
Can anyone advice?
It's here. As I told you, it's very simple:
//---------------------------------------------------------------------- // Function secToHMSstring () //---------------------------------------------------------------------- /// HIFN secToHMSstring () /// HIFN The function takes an amount of seconds and returns a string with /// HIFN the corresponding value in H:M:S format /// HIPAR sec/Value in seconds to convert /// HIPAR verbose/If True use "hms" separators; if not, use ":" separator /// HIPAR string/The output string. It is responsibility of the programmer /// HIPAR string/that the string is large enough to keep the resulting text /// OUT string void secToHMSstring (int sec, int verbose, char *string) { int hh = 0, mm = 0, ss = 0; if (sec >= 3600) { hh = sec / 3600; sec -= hh * 3600; } if (sec >= 60) mm = sec / 60; ss = sec - mm * 60; strcpy (string, ""); if (verbose) { if (hh > 0) sprintf (string, "%s%dh", string, hh); if (mm > 0) { if (strlen (string)) strcat (string, " "); sprintf (string, "%s%dm", string, mm); } if (ss > 0) { if (strlen (string)) strcat (string, " "); sprintf (string, "%s%ds", string, ss); } } else { if (hh > 0) sprintf (string, "%s%d:", string, hh); if (mm > 0) { if (strlen (string)) sprintf (string, "%s%02d:", string, mm); else sprintf (string, "%d:", mm); } else if (strlen (string)) strcat (string, "00:"); if (strlen (string)) sprintf (string, "%s%02d", string, ss); else sprintf (string, "%d", ss); } return; }
-
Now this is heresy...
Anyone could use a framegrabber DALSA and the Sapera LT C programming API to capture video from a CVI application?
DALSA announces a C API language, it is not certain that it is possible to work with something else using PVC as a C compiler (which it can do - PCV is also a compiler C89 but not a C99 compiler).
Thank you.
You can do with the api of 'base' which is a Sapera ANSI C interface. I had to UNDEF as some multiply integer type limits, then he compiled, linked and ran everything is OK. I used the interface "framegrabber' rather than the 'camera' interface or"peripheral"to catch a ground test on a simulator. I used the CCA and .cvi files that I created using CamExpert.
I did it with CVI 9.1, WinXP SP3, will undermine LT 7.0.0, X 64 driver 1.5. Works with single and double head X 64 acquisition cards.
So using a framegrabber NOR is nice, it is also possible to use a framegrabber DALSA of CVI.
Menchar
-
Is that what someone has successfully used vision of DALSA, Sapera LT, with CVI library?
Sapera LT supposedly has a C language interface.
I have this poster in the forum of machine vision, but he seems to be more a SW problem (if, indeed, there are problems) a matter of HW.
In principle, any standard interface of C (C89) should work with CVI I think... If it's for a framegrabber DALSA, or anything else.
I was just curious if anyone had tried this specific thing, and if so, how it worked.
Thank you
Menchar-
It turns out that you can use Sapera LT with CVI 2009. You use the api 'base' which is an interface in ANSI C with the export header file and import for the DLL library is involved. During compilation, I found 6 #defines which were redefined to somehow - the limits they were constant max on the different types of integers. It seemed the stuff of limits.h, but it wasn't - I never figure out how or where he defined twice, so I just #undef had these just before the place where was held the redefinition and the problem disappeared.
I was unable to use the framegrabber as a "camera" (peripheral), I used as a 'framegrabber"and loaded separately from the configuration files CCA and .cvi instead of a camera (.ccf) configuration file. I have hooked up to a simulator CameraLink and grabbed a focus, then he wrote on the disk. A close inspection of the data showed that it was seizing everything is OK.
I used the 1.5 LT Sapera 7.0.0 and X 64 driver version.
So I feel pretty good about this so far.
Menchar
-
* Original title: drivers
I just finished my first computer, with Windows 7 USB boot, construction and now it asks for drivers. help please?
What drivers?
Your hardware such as a video card may require pilots. Only you know what is in your version of the computer.
-
Dist. Kit fails to install, a newer version already exists of reports
I'm with CVI 8.5.1 on Windows XP sp 2. distribution kit fails to install executable for a project, sites that have a newer version already exists. However, previous versions did exist on either the c: drive or that they appear in the Control Panel Add / Remove programs. Any ideas?
Rick
The installation program is to find indications that the release 1.0.14 of your software already exists on the system. If this is not true, then he could have some problems when uninstalling this version. If you search your registry database for the product code {7D8D2E0B-CEB1-44D0-A081-1B0C039F9157}, I'm sure you'll get some hits. If the software cannot be uninstalled from Add/Remove programs as you say, then I recommend to use the enclosed MSIBlast utility to remove the order of it. Unzip and run the program, and then check the box "Display all installers" at the top. Find your software (by name, but check the product code) in the list, and then uninstall it. Be very careful when you use this utility that you uninstall the right thing. You don't want to accidentally delete something important.
A. Mert
National Instruments
Maybe you are looking for
-
What happens with Silverlight plugin for the Firefox browser in September 2015?
I heard that Firefox support is no longer the Silverlight plugin from September 2015: it means all the automatic updates allows you to disable the Silverlight plug-in and it will have to be re-activated, or means that the platforms according to the S
-
Apple has an Internet speed Test?
Apple MacBook Air 13 ", at the beginning of 2014 Processor: Intel Core i5 at 1.4 GHz Memory: 4 GB 1600 MHz DDR 3 Storage: 121 GB Version: 10.11.3
-
How to delay a PXI-5122 trigger before routed to string of PFI
Hello world I use a PXI-5122 in a PXI chassis. I want to synchronize with two external devices. The first will send a trigger (with a 10 Hz repetition rate) for PXI-5122. Then PXI will generate a trigger (with a constant delay) in the second. It seem
-
Help me!! wrt300n firmware update
new version update for WRT300N. Thank you!
-
The list of units in the Add Hardware Wizard is blank
I'm trying to install Microsoft Loopback, but I'm having problems. When I use the Wizard add-on (inheritance) and choose 'Add hardware manually', then the NIC, I'm supposed to get a list of all available maps. But this list is just empty. Why?