|
Re: Vision sample code
Hi, SparkyShires. This might help, but my apologies if this is redundant. I spent two days trying to get an image. I'd start the the sample code, see about ten thousand error lines, shut down the code, and continue to debug the program. Eventually I realized that the first image took almost five seconds to materialize, and about 25 ms for each image thereafter. So unless you wait around for at least 5 seconds to get an image, your report size will be zero.
It's also possible to take a perfectly good image, and with thresholding and filtering, make all the pixels go away. You can see if this is happening by using your favorite web browser to FTP into the cRIO. In the URL window, type in "ftp://10.xx.yy.2", without the quotes. If you've captured images, they'll show up in the cRIO directory. By the way, you have to refresh the browser when you have a new image captured.
Good luck!
|