04-13-2012 08:58 AM
Hello,
In this document you can find a diagram to convert to binary. But it doesn't work. Can you find the mistake in this diagram, please?
Kind Regards,
Jerome
04-13-2012 10:29 AM - edited 04-13-2012 10:35 AM
You have attached much more than one VI, so it is not clear waht you are talking about.
untitled:
You are not converting anything to binary*, you are converting to an array of scaled greyscale colors that you convert to I32. Unfortunately,your output terminal is U8, meaning you are throwing way 2/3 of the information (...but since it is greyscale, it contains all information). I would change the representation (right-click...representation...I32) of the output terminal to the correct data type. (notice the red coercion dot? That needs to go!)
* everything is binary at its core
What are you actually trying to do with all this? The code looks very convoluted.
04-13-2012 10:37 AM
Looking at the main P&O... VI:
Again you have complete datatype confusion. There should not be any orange on that diagram! Make sure that all your diagram constant have the correct representation.
Explain what the program is supposed to do, what ouput you want, what output you get, and what's wrong with it.