LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem Building Source Distro

Solved!
Go to solution

I can build my project into an EXE and Installer without problem but when I try to build a Source Distribution I get the following error:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

As you can see the source file C:\Documents and Settings\Program Files\National Instruments\LabVIEW 8.6\resource\objmgr\daqmx.rc

 does not exist.  Of course not, you can't get to Program Files from Documents and Settings.  Has anyone else seen this problem and/or found a workaround?

 

 

Message Edited by jmcbee on 12-16-2008 01:03 PM
0 Kudos
Message 1 of 7
(4,122 Views)

Hi jmcbee,

 

You are correct that the path does not exist, so I am wondering why the build is looking in that path. Could you post the project to see if that is reproducible on other machines?

 

Otherwise, you can remove the .rc file from your Source Distribution unless you are using events to programmatically register and handle NI-DAQmx events, as that seems to be the function of this file. In the Properties for the Source Distribution, click on Additional Exclusions and check the "Remove unused members of project libraries" box.

 

Regards,

Stephen S.

National Instruments
Applications Engineering
0 Kudos
Message 2 of 7
(4,076 Views)

Hi Stephen,

 

You are correct, I am programmatically registering NI-DAQmx events.  The project seems to be too large to attach to this post, do you have another way I can get it to you?
0 Kudos
Message 3 of 7
(4,069 Views)

Hi jmcbee,

 

You can put the project at our ftp site and let me know when you do that so I can download it from there.

 

Ipshita C.

 

National Instruments
Applications Engineer
Message 4 of 7
(4,040 Views)
If your use case is such that the VI won't be run on SCXI devices or C Series modules, then you can edit a copy of the VI to remove the Active Device Property.  I did this for me tests.
Message 5 of 7
(3,908 Views)
Message 6 of 7
(3,900 Views)
Solution
Accepted by topic author jon_mcbee

Sorry Gmart accidently posted our Internal URL to that knowledge Base, here is the external Link

How Can I Remove the daqmx.rc File from a Source Distribution Created in LabVIEW 8.5 or Later?

 

Hunter

0 Kudos
Message 7 of 7
(3,888 Views)