LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Power factor graph

I don't have knowlegde in ASCII, its hard to make it??

Maybe a help on that? =x

 

or How can I separe the plot in 2 plots one positive another negative... and than put them together in a new graph with a custom scale? is that right? I think I didn't understand it.

Message Edited by EduU on 04-26-2010 08:04 AM
0 Kudos
Message 11 of 27
(1,869 Views)

Hi EduU,

 

did you google for ASCII? It's an old standard for coding text... And it's the standard behind LabView strings...

 

Well, you can create more than one scale per graph. You can create more than one plot per graph. You can assign each plot to a different scale. You can change each scale to your needs. You can assign the same color to each plot. In the end it looks just like one plot with an "odd" scale jumping from 1 to -1...

 

Go and look at the examples coming with LabVIEW.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 27
(1,864 Views)

Well GerdW,

 

In my case I only have one plot how can I separe it?

I will need to separe the positive values from the negative one.

 

0 Kudos
Message 13 of 27
(1,845 Views)

Hi EduU,

 

attached an example. You may have to do some modification to Y scales & plot colors, and maybe replace labels by (simple) strings - but the general idea is there...

 

Next time please try to do something on your own - I didn't do any comments to force you into "learning mode" Smiley Wink

Message Edited by GerdW on 04-26-2010 05:39 PM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 14 of 27
(1,835 Views)

Well GerdW,

 

Thanks for the example

Now for sure I will try to understand and make my own solution!

0 Kudos
Message 15 of 27
(1,830 Views)

Hey GerdW,

 

I was trying something here... and looking your vi....

I only need to know one thing know...

 

How can I put the 2 graphs "together" because I need a "continuos" graph

and in your case I have a graph that show me when the value is positive in top

and when the value is negative at bottom.

 

how can i take those 2 plots and put them in only 1 waveform?

 

Thanks

0 Kudos
Message 16 of 27
(1,786 Views)

Hi EduU,

 

-you can create multiple Y axis for one graph

-you can plot more than one plot in a graph

-you can assign each plot to a different Y axis

 

So put multiple plots in a graph (as shown in the context help of the graph) and assign the plots (2 plots as in my example) to different Y axis. Now you only have to set the axis scaling as needed and you're done...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 17 of 27
(1,784 Views)

Well I understand that... but it gives me a graph like that:

 

imagem.JPG

 

and I can't have those empty lines =x I need a continuos graph

somethine like that: /\   /\   /\

                                  \/   \/   \/

 

Something like that!     

0 Kudos
Message 18 of 27
(1,782 Views)

Hi EduU,

 

one idea crossed my mind:

Insert points in both plots when the "1" value is crossed. Inserting the same point in both plots will make them appear as one line in two colors...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 19 of 27
(1,753 Views)

well I understood,but how can i make that?

I tried here but don't work x(

0 Kudos
Message 20 of 27
(1,738 Views)