LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why my vi cannot work?

Solved!
Go to solution
Highlighted

I want to change rgb data to a white-black data and save to a bmp file.

 

But i don't know why my data cannot be output into bmp file, only black result.

 

even they can be seen by Draw Flattened Pixmap.vi.  Maybe miss somethng.

 

But i just don't know.

 

Anyone can help me about it?

 

my enviroment:labview 8.5. Format for bmp: h: 234,w:320.

 

thanks.

 

0 Kudos
Message 1 of 3
(914 Views)
Solution
Accepted by topic author mmm2006

You need to define which colors to use.

 

Your VI will work if you wire a 2-element array of color constants (white and black in your case) to the color input of the Flatten Pixmap.vi.

 

Cheers,

Dan

Dan
CLD
Message 2 of 3
(910 Views)

hi, DanB1983,

 

just like you said, it work now. Thanks. very nice.

 

br

 

0 Kudos
Message 3 of 3
(886 Views)