LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Graph

Solved!
Go to solution

Hi Mayur,

 

On my second data you can see there is Current on Y-axis and Voltage on X-axis. So want Voltage on X-axis and Current on Y-axis.

And what is the problem?

Voltage=x axis, current = y axis - just like you want it to be!

 

As others already said: attach your VI!

Show how it currently works and also show how you want it to work.

Tell us the exact problem you have in reaching your goal!

Best regards,
GerdW


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

Sorry my mistake. From second data I want Voltage on Y-axis and Current on X-axis 

0 Kudos
Message 12 of 16
(1,324 Views)

You can use Swap Values to swap the X and Y data before bundling... This is btw the same as swapping the input files to begin with.

 

You might want to flip the axis. For that you need to get a scale reference and set the Flipped property.

Flipped.png

 

Maybe, just maybe, it's a good idea to post the VI?

 

EDIT: OK, you finally did post the VI...

Message 13 of 16
(1,323 Views)
Solution
Accepted by topic author Mayur789

Hi Mayur,

 

From second data I want Voltage on Y-axis and Current on X-axis

When you want the voltage data used for Y axis you need to wire it accordingly for this BuildXYGraph expressVI!

So you aren't able to change the wiring in your VI? Or to implement a case structure with a switch? Or to use the Swap operation suggested by Wiebe on your own?

 

Did you take the free beginner courses offered for free by NI on their website?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 14 of 16
(1,317 Views)

is this what you want? i got confused.

current-voltage-xy-graph--FP.pngcurrent-voltage-xy-graph.png


If Tetris has taught me anything, it's errors pile up and accomplishments disappear.
0 Kudos
Message 15 of 16
(1,305 Views)

No but thanks for the help

0 Kudos
Message 16 of 16
(1,280 Views)