LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[Bug?] Source Distribution of Class (In Library?) places Members Outside of Destination Folder by default

[LV2009.SP1]

 

I can't seem to replicate it yet with a simple example to post it, but I see this alot with my distributions.

Don't know if its related to the fact that the Class is in the Library?

But I have seen this since LV2009 was released.

Workaround is in video.

 

Video (with audio) explaining the problem in detail:

 

 

Video (no audio) - another example with a different distribution.

 

Has anyone else seen this?

Is it a Bug?

 

Cheers

-JG

Certified LabVIEW Architect * LabVIEW Champion
0 Kudos
Message 1 of 2
(2,461 Views)

I believe this is expected behavior. I believe the use of "caller" is in relation to calling VIs. So, just because a class VI's library is going to a certain location does not mean that the class VI itself will go there as well. In app builder, library files (this included classes) are not treated as containers from the point of view defining individual VIs' behavior in the Source File Settings page. So just like setting a password on the class file doesn't apply the password to all referenced VIs, setting the destination of the class (or library) doesn't apply that to the referenced VIs. This behavior is limited to containers - folders in a project. That's why the behavior worked as you expected when you set the folders under the class to a specific destination. If the library that owned the class was under a project folder, then you could set the destination on the folder and all files under that folder would go to that destination.

George M
National Instruments
0 Kudos
Message 2 of 2
(2,440 Views)