Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

about picture flash

Hi, I wrote a vi, it's very sample, just reads a bmp file, but the picture flashes all the time, can anybody tell me why, Thanks!
Download All
0 Kudos
Message 1 of 4
(3,450 Views)
I can't open your VI. (Version 7.1 here)  But are you perhaps opening your image more than once?
---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 2 of 4
(3,436 Views)

Hi, pallen, I attached a bmp file(read bmp.JPG) which shows my vi connection, just incase you can’t read my code, please have a look at it and tell me what wrong with my code, Thanks.

0 Kudos
Message 3 of 4
(3,427 Views)
Hello Trinight,

I've recreated your code exactly as your attached .JPG depicted it.  I've opened a number of different images using this code and none of them are displaying the "flashing" you mention.  

Are you using another IMAQ Create.vi with the same image name?  

Are you running the code within a loop?  

I've uploaded the code I created just for comparison.  But I would imagine it's identical to yours.  If so, I'm not really sure what could be causing your problem.  

Does it occur when opening any image file, or just one particular one?
--

Patrick Allen
---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 4 of 4
(3,423 Views)