LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Strange "Border problem" making IMAQ "movies"

I was trying to create some moving images using IMAQ functions, displaying them in a Display Window (I've got a dual-monitor setup, and was using Monitor 2 as my "Screen").  I created a "black" screen-size Image as a background, then made my "movie" (updating the images at around 250 Hz) which filled a rectangular area inside the screen (so it had a black border).

 

What I didn't notice, at first, was that under some conditions, my image had a thin (1 pixel?) blue line at the edges, best seen when the image itself had black along the border.  The reason I missed it at first was that this "blue border" disappeared when I clicked the mouse (to activate a control for the movie).  At first, I thought it was my background Screen color (I use a plain blue background), but changing the screen background didn't change the color of the "blue border".

 

This seems very curious to me.  When I originally coded this, my "movie" took up the entire Monitor screen, and the "blue border" was not noticed.  In fact, I just ran the full-screen movie again, and if I squint, I can see the blue border on the right edge, which also disappeared on a mouse click.

 

Can anyone suggest why this is happening?  It's not a big deal, but is totally unexpected, and may suggest "something not quite right" in IMAQ Image creation.

 

Bob Schor

0 Kudos
Message 1 of 3
(2,322 Views)

Perhaps somehow related to this topic?  (WARNING: WHAT YOU WILL SEE HERE MAY BLIND YOU FOR LIFE!!!)

 

Well, maybe it won't blind you, but once you see it, there's no going back...

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 3
(2,270 Views)

Ha!  I hadn't seen that!  But I've solved it another way.  I just re-read my original Post, and noticed that I forgot to mention one other weird finding -- if you click the mouse anywhere (and the program generating the display has some front-panel controls that you click), the border disappears!  So now the problem reduces to "add a mouse click", which isn't so easy, but is possible to do ...

 

Bob Schor

0 Kudos
Message 3 of 3
(2,212 Views)