LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Program won't build if a broken vi is included in a diagram disable structure

I develop code that can run on both PXI and Compact RIO devices.

 

To allow for the different DAq methods I have a target specific child object that I tried putting in a conditional disable diagram.

 

I found that even if it was disable, the build would still fail.

When you build rio code on a pxi target, you et problems But I didn't expect them if the class was diagram disabled

In fact it won't build if it is in the project at all.

 

Will Build.png

 

 

Won't Build.png

 

Posted as a bitter lesson for others to avoid.

iTm - Senior Systems Engineer
uses: LABVIEW 2012 SP1 x86 on Windows 7 x64. cFP, cRIO, PXI-RT
0 Kudos
Message 1 of 1
(2,171 Views)