03-20-2016 12:28 PM
Hello!
I have main VI (Convert Image.vi) which converts color image to grayscale (U8). It works well. Now I need to use Gray Pixel Location as SubVI (https://decibel.ni.com/content/docs/DOC-4373) to obtain of pixel locations. It has some inputs, one of them it U8 - I can take it from main VI, but others - I dont understand, especially error-in input. And do I need to put this subVI inside main while loop or not. How it is possible to connect properly this subVI to make main VI works to obtain pixel locations?
Thank you in advance for help.
03-20-2016 02:05 PM
You can put this subVI inside of loop after "array to image" VI.
Error input may be skipped, but you can connect error out from "array to image" again.
And brightness level you should set value 0..255 which you wish.
03-20-2016 03:02 PM
I already tried it. But the problem that after I did it - the main VI after running shows me only frame - it does not change the image while I am moving the web-camera. And subVI also did not evaluate any coordinates data.
03-21-2016 05:03 AM
Did someone use this subVI - https://decibel.ni.com/content/docs/DOC-4373 ? How it can be used in correct way?