11-29-2017 10:15 AM
Hello,
i am developping a program to recognise display-Defect. For this i first created a vi which compare the Display Image before and after a certain time (t). If there is any difference of Luminosity, Color or Image-Contents (e.g Time or Date) i save both Image for a Report.
Now i want to know if i can implement any logic in my vi, so that every normal Change of time or date would be ignorate. with the actual vi, i am saving Images when something changes on the Display. that automatically means that i will be saving 2 (16:50 and 16:51) Images per Minute, even if there was no defect. And this is not so efficient.
So i will like to know if someone has an idea how i can distinguish between normal and abnormal Changing of time. Is it possible to do that in Labview? may be with OCR ?
11-29-2017 10:26 AM
There are several ways in LabVIEW to perform an action when a condition is met. The simplest is to use a case structure. When your data is "normal" and does not require any record, the case will be empty. When the data is "abnormal", the case will contain code to save data.
OCR stands for optical character recognition. If it is set up correctly you could have a picture of the letter "E" and the computer could tell you it's the letter "E", for example. I don't see how it relates to your current problem.
Perhaps if you shared some example code and images I could give more pertinent feedback.
11-30-2017 04:13 AM
Hey ,
thanks for replying.
Hier is my Code.
11-30-2017 08:44 AM
Your question is unclear, but I think maybe you're saying that the display you're examining has the time of day superimposed over whatever static image you're using to detect changes in luminosity or color? Are you saying that you want to ignore changes in the part of the display where the time is shown, because it's being mistakenly identified as a display defect? If this is the case, I suppose my first question would be, can you just turn off the time display so that it isn't interfering with your testing?
11-30-2017 09:06 AM
Hey,
I am using camera to detect any changes on a Display (Color, luminosity and display-Contents). I don't want to ignore where the time is shown, because i will be ignoring any defect, which can appears on this part of the Display (e.g if because of a technical Problem, the time is missed or has turned to Default time, my vi should registrate it as a defect. but if the time has normaly changed, i should ignore it).
11-30-2017 09:08 AM
I will like to turn of the time, but this will lead to the Problem that defects of time are not registered.
11-30-2017 09:30 AM
What do you mean by a "defect of time"? It seems like you'd want an unchanging image on the display if the display is what you're testing.
11-30-2017 09:46 AM
yes i do. once something Change on the Display, i registrate any defect. But in the case that the time changes normally (13:00 to 13:01), i want to ignore it.
11-30-2017 10:24 AM
Presumably the computer taking the images has an accurate clock, so there wouldn't be any need to include the time of day on the display, right?