Jump to content

[CR] Align and distribute


Recommended Posts

index.php?app=downloads&module=display&section=screenshot&id=157

Name: Align and distribute

Submitter: Ton Plomp

Submitted: 05 Dec 2010

File Updated: 23 Jan 2011

Category: General

LabVIEW Version: 2009

License Type: BSD (Most common)

Align Distribute objects v1.2.0

Copyright © 2010, Ton Plomp

All rights reserved.

Author: Ton Plomp

LAVA Name: Ton Plomp

Contact Info: Contact via PM on lavag.org

LabVIEW Versions:

LabVIEW 2009 and up

Dependencies:

No dependencies, demo VI needs the OpenG time library

Description:

A set of VIs to align or distribute a set of points or objects, they behave similar to the align and distribute functions in the LabVIEW IDE. These tools are usefull when dealing with objects that needs to be rearranged.

The set of VIs is bundled in one polymorphic VI (align_distribute.vi) that has the following tree layout

-Align

-Top

-point

-rectangle

-Left

-point

-rectangle

-Bottom

-point

-rectangle

-Right

-point

-rectangle

-Vertical center

-point

-rectangle

-Horizontal center

-point

-rectangle

-Vertical center

-point

-rectangle

-Distribute

-Top

-Left

-Bottom

-Right

-Vertical Centers

-Vertical Gaps

-Vertical Compress

-Horizontal Centers

-Horizontal Gaps

-Horizontal Compress

Installation and instructions:

Use the VI whereever you want, or install it into your user.lib with VI Package manage (http://www.jki-soft.com/vipm)

Examples:

The zip-file includes one DemoVI that moves front panel controls around

Known Issues:

Acknowledgements:

Icons are supplied by National Instruments in the LabVIEW IDE

Version History:

AlignDistribute - 1.2.0 (Released 2010-06-28)

=============================================

- 0000021: [bug] The palette shows Align Distribute.vi as name.

v1.1.0: Initial public release of the code.

License:

This code licensed under the BSD license

==============Start of license==================

Copyright © 2010, Ton Plomp

All rights reserved.

Redistribution and use in source and binary forms, with or without

modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright

notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright

notice, this list of conditions and the following disclaimer in the

documentation and/or other materials provided with the distribution.

3. All advertising materials mentioning features or use of this software

must display the following acknowledgement:

This product includes software developed by the .

4. Neither the name of the nor the

names of its contributors may be used to endorse or promote products

derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY ''AS IS'' AND ANY

EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED

WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE

DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY

DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES

(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;

LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND

ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT

(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS

SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

==============End of license==================

Support:

If you have any problems with this code or want to suggest features:

please go to lavag.org and Navigate to LAVA > Resources > Code Repository (Certified) and

search for the "Distribute objects" support page.

Distribution:

This code was downloaded from the LAVA Code Repository found at lavag.org

Click here to download this file

Link to comment
  • 4 years later...

Hi Ton

Today i have installed this library on a new PC and i notice this package is not correct. All vi's have broken arrow on them because library file seems to be bad. If you disconnect each vi  from this library, the vi's become ok.

I  looked on my old PC under XP and see  same thing.

Best regards

Eric Bobillier

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.