Jump to content

[Discuss] Array Point to RowCol


Recommended Posts

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

Name: Array Point to RowCol

Submitter: LAVA 1.0 Content

Submitted: 03 Jul 2009

Category: General

LabVIEW Version: 8.0

Version: 1.0.0

License Type: GNU Public

Potentially make this available on the VI Package Network?: Undecided

Copyright © 2006, dsaunders

All rights reserved.

Author:

dsaunders

--see readme file for contact information

Description:

Converts a pixel coordinate to an array index. Returns an array of indices with a length equal to the number of array dimensions. Also returns if the point is within the content rectangle (not on the caption, scrollbars, etc.)

Works on any N-dimensional array regardless of visibility of caption, label, index display, or scrollbars. Designed to be used on mouse events that provide the mouse coordinates.

Limitations: Property nodes do not indicate the array border width, nor if the user has chosen to display an element gap. These inputs are thus provided on the VI.

Version History:

1.0.0:

Initial release of the code.

Click here to download this file

  • Like 1
Link to post

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.