LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question about 3D Boolean Arrays

Is there any Paint ActiveX or simple Image Editor ActiveX for doing this ?
Another question: Is there any way to customize Microsoft Paint to make it as simple as possible ? (just supporting black and white and ... )
Thanks

0 Kudos
Message 11 of 13
(428 Views)

Yes, you can use ActiveX.  Look at the Controls Palette for ActiveX and you will find a PictureBox.

 

I may have lost track of what you are trying to do, but look at the example below that converts TRUE (boolean) to a black dot in a Picture Control.

You can create an array of picture controls and have the 3D array propulate it.

 

 

 

 

You can also draw rectangles (or squares) instead of dots.  All the functions are available under the Picture Functions Palette.

If you use rectangles or squares, you have to pay attention to how many points you are using so as not to overwrite your values (dots).

 

Using ActiveX may not be simpler than the example above.  Probably harder...

 

 

Download All
Message 12 of 13
(418 Views)

For some strange reason, the code snippet does not show the two I16 contants inside the cluster (brown rectangle).

Message 13 of 13
(413 Views)