LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

remove block diagram support for multiple targets

Hi all, 

 

Have you ever wanted the security of "remove VI block diagram" but not wanted to deal with the "now I need n+1 copies of all my VI's" where n is the number of supported targets you need and the "1" is for your development source?

 

It isn't possible today, but take a moment and read/comment and maybe even up-vote this idea on the exchange: http://forums.ni.com/t5/LabVIEW-Idea-Exchange/quot-Remove-block-diagram-ed-quot-VI-s-contain-compile...

 

then maybe one day... 

QFang
-------------
CLD LabVIEW 7.1 to 2016
0 Kudos
Message 1 of 5
(2,856 Views)

As Intaris commented on the idea exchange, this could also be what we need to prevent VI's for becoming "dirty" when you open them in a project for a different target (this causes a lot of unecessary comitts in an SVN system).

QFang
-------------
CLD LabVIEW 7.1 to 2016
0 Kudos
Message 2 of 5
(2,831 Views)

On a counter-note I'm working on a VI to actually automatically revert such trivial "dirt" VIs when using svn.

 

I tested it yesterday and the basic functionality seems to work.  I need to test a bit and polish it up and maybe I can release it.  This would be a huge time saver for me when committing, not to mention doing away with a source of human error when cleaning up my local files before a commit.

 

Shane.

0 Kudos
Message 3 of 5
(2,810 Views)

That tool sounds very useful, but how did you get around needing to rely on a user to filter real vs dirt changes? I'm assuming you are not automatically reverting every open VI, nor are you just doing an svn revert?  I'm intriged.

QFang
-------------
CLD LabVIEW 7.1 to 2016
0 Kudos
Message 4 of 5
(2,795 Views)

There is a private method to do a LVCompare of two VIs.  It outputs if there are any actual CODE differences (Cosmetic, FP, BD etc.).

 

If the file is marked as changed by SVN but LVCompare says it's the same with the version in the repository, then it's safe to revert.

 

shane.

Message 5 of 5
(2,787 Views)