LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mask and Limits Testing

Hello everyone, I want to ask about how to make a chart, please help me!!!

Pic 1: I have a database to display this chart and it is this indicator (Pic 2)

Pic 3: I create this chart but it is not same type.  

Problem : So i want to make a chart(Pic 3) but use database, or how to change indicator (Pic3) to indicator(Pic2). 

I am not good English so acting is a bit bad. I am sorry for any inconvenience this has caused you. Thank you.image.pngimage.pngimage.pngimage.png

 

0 Kudos
Message 1 of 11
(2,315 Views)

Hi kienle,

 


@kienle99 wrote:

Hello everyone, I want to ask about how to make a chart, please help me!!!

Pic 1: I have a database to display this chart and it is this indicator (Pic 2)

Pic 3: I create this chart but it is not same type.  

Problem : So i want to make a chart(Pic 3) but use database, or how to change indicator (Pic3) to indicator(Pic2).


How are all those "database" and "pic1/2/3" related to your header line of "Mask and Limit Testing"???

And what exactly is "Pic1", "Pic2" and "Pic3"?

Where exactly do youhave charts? In your images I only see a XYGraph…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 11
(2,277 Views)

Thanks for answer,

Pic = Picture (Sorry ,my habits)

Those " database" in SQL server create a line in XYGraph(Picture 1) but XYGraph is not have limit as Test Alarm (Graph in Picture 3 have the limit lines (1 pink, 2 green)). So I want to make XYGraph has the limit lines as Test Alarm.

 

0 Kudos
Message 3 of 11
(2,230 Views)

The problem was understand what you meant by "Pic1" "Pic2", but the fact that you in-lined a bunch of pictures awkwardly without labeling them to know which is 1, 2, 3,   or the fact you actually have 4 of them.

 

And none of those pictures show anything about databases or even a SQL server.

0 Kudos
Message 4 of 11
(2,223 Views)

Hi kienle,

 

as RavensFan explained: you inlined 4 images without any description/labels in your message, but in the text you referenced them by arbitrary names…

 


@kienle99 wrote:

Those " database" in SQL server create a line in XYGraph(Picture 1) but XYGraph is not have limit as Test Alarm (Graph in Picture 3 have the limit lines (1 pink, 2 green)). So I want to make XYGraph has the limit lines as Test Alarm.


That graph in your image shows 4 plots (as far as I can tell from an image).

When you want to replicate that image in your VI then your XYGraph should also contain 4 plots…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 11
(2,218 Views)

Thanks for answer,

I will simplify,

I want a graph ( X: real time; Y: collect value from sensor). Pic 1( mark with cricle is graph)

kienle99_0-1621003762570.png

kienle99_1-1621003828938.png

 but that graph has limit lines( mark with cricle in Pic 2). Limit line has 3 upper limits

kienle99_2-1621004083724.png

 

Help me with your example. Thank you

 

 

0 Kudos
Message 6 of 11
(2,210 Views)

Hi kienle,

 

as I wrote before: you need to create an array of plots for your graph...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 11
(2,207 Views)

The problem in this VI. Please help me
Thank you, Sir

Download All
0 Kudos
Message 8 of 11
(2,178 Views)

Hi kienle,

 

it's always a bad idea to rely on ExpressVIs and DDT wires…

 

Your XYGraph expects plots consisting of [x, y] points, so you need to convert the DDT wire into such a plot:

(When your "database" source gives you evently distributed samples over time then you might go the other way around by creating a waveform instead of an XY plot from your database data.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 9 of 11
(2,170 Views)

Thank you,Sir
That is not answer I want but I will follow your advice.
Thank you again for everything you've done

0 Kudos
Message 10 of 11
(2,153 Views)