LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -40 / -33 while building distribution in LV 8.2

    Hello all,

I have a project in LabVIEW 8.2 with a build specification including additional installers ( LabVIEW runtime, DAQmx 8.3, NI-VISA 4.0).
The first release for my customer is workin fine. The distribution could be created perfectly. All add. installers are included.

Due to some new requirements from the customer I had to rebuild the application. That's working fine. But I can no longer build the distribution, because of an error message when including the additional installers. This error message will appear when including the installer for DAQmx 8.3 (without DAQmx 8.3 the distribution is created fine). The error message is:

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

**************
*** Error: (Error code -40)
*** End Error Report
**************
 
Loading product deployment information
Adding files to installer

------------------------------------------------------------------------------------------------------------------------------------------------------------------------

The next step was selecting the specific path for DAQmx 8.3 on the additional installers page. Insert the device driver CD and select the CD drive.
When trying to build the distribution, I received the following new error message:

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
 
**************
*** Error: Input data from a source data file has errors. (Error code -33)
*** End Error Report
**************
 
Loading product deployment information
Adding files to installer


My questions are now:
1. What is meant with Error -40?
2. What can cause this error?
3. Why do I receive Error -33, when selecting the instaler source manuallly? The inserted CD is the installation CD from where 
    DAQmx was originally installed.

In the time between the first distribution and the second distribution I had installed (and removed) trad. DAQ 7.4 for testing purposes.

If anyone can give me atip or a solution

Regards
Heinrich

0 Kudos
Message 1 of 11
(3,807 Views)
Hi Heinrich!

Have you tried to reinstall or repair LabView and DAQmx?
Sometimes the installer uses information of the older DAQmx and this causes problems. So maybe this will solve your problem.
If not, just write again!

Ramona
Ramona Lombardo
Applications Engineer, NI Germany
Certified LabVIEW Developer
0 Kudos
Message 2 of 11
(3,776 Views)
Hello Ramona,

thank you for your answer.
I tried a repair of both DAQmx and LabVIEW. The only effect was a liitle bit detailed error message:

....

**************
*** Error: internal error (Error code -40)
*** End Error Report
**************


......

It looks like a long day of work, with reinstalling LabVIEW and cleaning up the registry. Smiley Sad
Any idea what can cause such a confusion?
As I wrote in my email, the only thing i did was installing and removing trad. DAQ 7.4 .
 
Heinrich



0 Kudos
Message 3 of 11
(3,772 Views)
Hello Heinrich!

This is a problem, which occured before. It is a internal error of LabView and used to happen with older DAQmx Versions.
In the newer version this problemes should be fixed. In the other cases we had,
the customer could create the installer after the new installation of DAQmx.

In your case it seems that the deinstallation of the DAQ 7.3 leads to the problems. There might have been dependencies between
DAQ 7.3 and the installer and now, that the DAQ 7.3 is not there anymore, it is not working anymore.

Try to install DAQmx 8.3 again. Maybe download the newest version from the national insturments homepage. But I guess, you have already
a new one, right? I really hope this will solve the problem. In the other cases it did.
In the meantime I will contact my collegues in the US to get more detailed information and tell you more.

I hope, this helps you a bit more.

Ramona

Ramona Lombardo
Applications Engineer, NI Germany
Certified LabVIEW Developer
0 Kudos
Message 4 of 11
(3,766 Views)
Hello Ramona,

just to make it more clear to me:

I'm using LabVIEW 8.2, DAQmx 8.3.0f0 and NI-VISA 4.0 for the project.
Trad. DAQ 7.4.3 is not used within this project. It was only installed for testing purposes (network access to a DIO).

Does this mean, installing trad. DAQ has set up dependencies for DAQmx which have to be fullfilled
 whether they are important for my the project or not, (Sorry for my English Smiley Indifferent) and remain on the system
after deinstalling DAQ 7.4.3?

Heinrich

0 Kudos
Message 5 of 11
(3,757 Views)
Hi Heinrich!

I think, that I understood your problem right. I sent already a message to the US and hope I will get soon a answer.
How did you deinstall the trad. DAQ? The problem is, when you deinstall it over Windows System control, some entries of the regestry wont be deleted. If you on the other hand deinstall it of the MAX (Measurement & Automation Explorer), really everything will be removed of you system.
It could be, that the installer gets in contact to exactly that files, which stayed on the system and "gets confused", because of coures there is only DAQmx 8.3 on you system.
I don't know if in your case this causes the problem or not. This is really tricky. At the moment I can't tell you anything else, but as fast as I get the answers, I will tell you the informations I got.
Have you already tried to install the newest version of DAQmx?

Ramona
Ramona Lombardo
Applications Engineer, NI Germany
Certified LabVIEW Developer
0 Kudos
Message 6 of 11
(3,753 Views)
Hello Ramona,

I have deinstalled the software through "Control Center" -> "add remove programs", because this the central point (for me) to remove software.
Deinstalling NI software through Measurement & Automation Explorer is new to me.

At the moment I'm using DAQmx 8.3, because i have to deliever the new software tomorrow (Thank god, system is working again).
I will look for a new version of DAQmx tomorrow.
I'm very interrested in the answer from US.

Heinrich
0 Kudos
Message 7 of 11
(3,748 Views)
Hi Heinrich!

Ok, good that it is working.
DAQmx 8.3 is the newest version. Sometimes there are just new releases, but if it is working now, you don't have to do anything.
We have a special "remove tool" called MSI. You can get it from our Homepage. And with that one really everything is removed from you PC.

Greeting, Ramona
Ramona Lombardo
Applications Engineer, NI Germany
Certified LabVIEW Developer
0 Kudos
Message 8 of 11
(3,744 Views)
Good morning Heinrich!

I just got an answer from the US, but at the moment the cause of the error is not known.
In almoste every case it helps to clean the regestry before reinstalling DAQmx.

Sorry, that I can't tell you more, but anyway your problem is fixed.

Greetings, Ramona
Ramona Lombardo
Applications Engineer, NI Germany
Certified LabVIEW Developer
0 Kudos
Message 9 of 11
(3,726 Views)
Hello and Good Morning,

At the moment it is fixed.
But if I have (for any reason) to install and/or deinstall additional NI software maybe the app.builder doesn't work again.
Or can I assume, it will only happen with trad. DAQ?

Can you send me a link to the MSI application you mentioned in one of your previous emails?
Maybe I'm blind Smiley Very Happy , but I can not find the application.

Heinrich
0 Kudos
Message 10 of 11
(3,721 Views)