LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pass and Fail Array Graphic Indicator

Solved!
Go to solution

Hi all,

 

I have an array of pass and fail, and I want to make a graphical indicator to represent that array.  Is that a bar indicator that would take an array of pass/fail and show them as green and red on the bar.  The color on the bar should be continous.  I just want an indicator that would generally tell me the % of fail in real time. 

 

Yik

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 15
(5,323 Views)

Hi,

 

Why not use an array with LED's in them as an indicator?  Green LED for True, Red LED for False?

Kind regards,

- Bjorn -

Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's 😉
LabVIEW 5.1 - LabVIEW 2012
Message 2 of 15
(5,318 Views)

Or calculate the percentage and feed that number into an indicator scaled from 0 to 100.

Jim

LV 2020
0 Kudos
Message 3 of 15
(5,315 Views)

XX

Jim

LV 2020
0 Kudos
Message 4 of 15
(5,314 Views)

Are you just looking for an Indicator or Control with obvious Pass/Fail appearance, like this, that you can put in an array?

PF_img.jpg

 

Or bars that update as the rusults come in, like this?

PF_Bars_img.jpg

 

Or like this?

PF_oneBar_img.jpg

 

 

 

Richard






Message 5 of 15
(5,306 Views)

Hi Broken Arrow,

 

It is like the 3rd option, but the red will scatter within the bar.  For example.  Let say that I have 1000 points, and points 1 to 100 and 300 to 400 failed.  The location corresponding to point 1 to 100 and point 300 to 400 will be red, but the rest of the bar will be green.  

 

Not only do I want to know the % pass/fail, I want to know the generally what points are failing.  

 

Yik

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 6 of 15
(5,268 Views)

I dont' want an array.  If  I have 100 points, I can't see a data easily in a glance.

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 7 of 15
(5,267 Views)

I am wondering if I can somehow use the intensity chart.

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 8 of 15
(5,268 Views)

What I have shown is the Sorted result of a scattered array of pass/fail.

 

you said: >>> If  I have 100 points, I can't see a data easily in a glance. Why not? 100 points can take up just a few inches on the screen.

 

I don't have LabVIEW right now, but it's easy to do. Make a Classic flat button into an indicator. Color the false condition green (pass) and true red (fail) (or inverse of that logic if you wish). Make the indicator skinny (a thin tall rectangle) and put it into an array. Size the array to the amount of expected data. Then just feed your pass/fail data to that array.

 

Richard






0 Kudos
Message 9 of 15
(5,257 Views)

So you want to have bands of red and green throughout?

 

Something that kind of looks like the bar of different colors that show you the progress of a disk defrag in Windows?

 

I would recommend using a picture control and within that draw filled rectangles the height of the indicator, and left and width properties that match the locations where you want the bands to appear.

Message 10 of 15
(5,240 Views)