Example Code

2D Boolean Control

Code and Documents

Attachment

'Clickable' 'zoomable' 2D Boolean Control.  Example of a 2D control that populates a 2D array.  Would like to promote the idea of 3D controls that users can populate with 3D lines in space, and either output the line equation or define by points to populate a 3D array for subsequent use in program code.  Controls that a user can manipulate with the mouse by clicking or dragging handles would be very useful in a number of laboratory applications.  Would like to have the ability to import lines/shapes from simple text files, etc., and anchor points/lines i.e. constrain axes, etc. to help manipulate the shapes.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors