08-31-2008 08:05 PM
I have a 2D array coming out of Mathscript; values of 0 and 1, the 1's form a small rectangle in the center.
So I expect to see a small white rectangle in the center. but all I see is black.
I have attached the simple VI in both ver 8.5 and 8.0.
Thank you.
08-31-2008 08:33 PM
I can't get your 8.0 VI to work with my version of Labview (8.2.1), it's complaining it was made with version 8.5.
Either way, I believe your problem can be solved by right clicking the image display and changing your palette from greyscale to binary. The rectangle should show up as red. If you really, really want the image to show up as white, you can either make a custom palette where a pixel value of 1 is mapped to 255,255,255. Or, you can multiply your image by 255 and not have to change your palette at all.
08-31-2008 10:21 PM