05-13-2021 10:05 AM
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.
05-13-2021 11:29 AM
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…
05-14-2021 07:23 AM
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.
05-14-2021 07:47 AM
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.
05-14-2021 08:14 AM
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…
05-14-2021 09:58 AM
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)
but that graph has limit lines( mark with cricle in Pic 2). Limit line has 3 upper limits
Help me with your example. Thank you
05-14-2021 10:03 AM
05-15-2021 10:24 AM - edited 05-15-2021 10:29 AM
The problem in this VI. Please help me
Thank you, Sir
05-15-2021 12:02 PM - edited 05-15-2021 12:04 PM
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.)
05-16-2021 10:10 AM
Thank you,Sir
That is not answer I want but I will follow your advice.
Thank you again for everything you've done