LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How plot Current VS Voltage (XY graph??)

Hello,

 

I obtain current and voltage by analog inputs of an USB 6009, and I need to plot it in the same graph (C vs V).

 

Please help me, it is very important to finish my proyect.

 

I attachment a sample of the graph that I want.

 

Thanks

0 Kudos
Message 1 of 8
(10,046 Views)

All about graphs is here 

 

http://zone.ni.com/reference/en-XX/help/371361B-01/lvconcepts/types_of_graphs_and_charts/

 

There are many examples which comes with LabVIEW itself, one particular I would point out is Waveform Graph.VI.

 

I hope this helps, If you have any more questions just reply back

 

Smiley Happy

Kudos are welcomed 

 

-------------------------------------------------------------------------------------------------------------------------------
Thanks & Regards,
Kunal Raithatha.
CTD - CLAD (I wish I can take off that A, and maybe use it later to replace D 🙂

Easy Tip :- "To copy an image to a VI icon, drag the image file and place it on the icon
located in the upper right corner of the front panel or block diagram" ...If you know any
more reply back.
-------------------------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 8
(10,038 Views)

Can anyone  tell me how to plot a graph in labview with any other parameter other than time on x-axis. I am not able to plot v versus i graph, as I guessed it is only able to plot v versus time and i versus time!

 

 

 

 

 

 

 

 

 

 

0 Kudos
Message 3 of 8
(9,358 Views)

You can plot anything you want on the x-axis when you use the XY Graph. A single plot on an XY graph is simply a cluster of an X array and a Y array. Have you looked at the shipping example for an XY Graph? Have you taken any of the basic tutorials? If you drop an XY Graph on the front panel and then go to the block diagram, the Context Help window will show you the datatype when you move the mouse over the terminal.

 

It is not enough to simply say you are unable to do something. You should attach your code.

0 Kudos
Message 4 of 8
(9,354 Views)

pkbigboss@gmail.com wrote:

Can anyone  tell me how to plot a graph in labview with any other parameter other than time on x-axis. I am not able to plot v versus i graph, as I guessed it is only able to plot v versus time and i versus time! 


You can edit the label of the x axis to say anything you want. The string "time" is only the default label. If the X values are equally spaced, all you need is define x0 and dx for a plain waveform graph. If the x values are not equally spaced, you need an xy graph.

 

You really need to be a bit more clear explaining what you want. Attach your code and some typical data. Show us what you get and explain what you want instead.

 

All this is well defined. No guessing needed (especially if your guess is wrong!). 😄

0 Kudos
Message 5 of 8
(9,345 Views)

Same here. Have you find anyway to do that? 

aknine_0-1708785234019.png

 

0 Kudos
Message 6 of 8
(1,117 Views)

Hi ak9,

 

how is your question related to LabVIEW?

Best regards,
GerdW


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

ROtake_0-1708812604120.png

from the front panel insert a XY graph 

 

 

then on the diagram insert CLUSTER - Bundle 

it will bundle 1d array for X and 1D array for Y and plot on XY. 

ROtake_2-1708812911709.png

 

RKO
0 Kudos
Message 8 of 8
(1,080 Views)