|
Display processed images on Dashboard?
Here is something I have not been able to get working:
I am using the same Vision Assistant-produced VI (rectangleisolation_OLD) on my Dashboard, as I am in the robot's VisionProcessing.vi. My intent is to see the same images on the Dashboard as I see when probing the output of the VI on the robot.
When probing the output of the VI on the robot, I always set the Palette to binary to see the processed images. I end up seeing RED rectangles that have been isolated for target consideration by another VI (not relevant to this post). It is those RED rectangles that I want to see on the Dashboard.
Here is my code: (see attachment 1)
The "False" case simply passes the unprocessed images through to the "Camera Image" object -- that part works just fine (as it always has) -- I can see what the camera sees.
In the "True" case, I am feeding the same RGB values into the VI on the Dashboard as I am on the robot. And, I have set the "Palette" property of the "Camera Image" object on the Dashboard to binary.
However, the result is always a black screen: (see attachment 2)
Although, I do occasionally see a "flicker" of the unprocessed images.
What am I doing wrong? Has anyone made this work?
Thank you!
|