LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using XY graph in a "conditional for loop" with double Y axis.

Solved!
Go to solution

HI,

I have two Y inputs (current in log and linear scale) with same x axis (voltage). This is placed in a conditional for loop. So each time it takes one x value and gives a corresponding y value. I am able to plot the graph (during run time) with only one Y (left) axis. I would like to add a right Y axis which plot the y data in log scale or any other y value during runtime.

0 Kudos
Message 1 of 6
(3,421 Views)
Solution
Accepted by topic author SanjoyJena

1.png

0 Kudos
Message 2 of 6
(3,394 Views)

Hi,

I tried your program. The graph does not clear up after each run. I have one doubt do we really need shift registers? Is it possible to just have x and y inputs? like in "Bulid X-Y graph"? but with two y inputs.

0 Kudos
Message 3 of 6
(3,380 Views)

"Build X-Y graph" does almost the same thing as my program, only within itself.
You can make a separate VI in functional global variable style (ask Google).
The graph is not clears up, because the input of the shift registers is not initialized.

0 Kudos
Message 4 of 6
(3,376 Views)

Initializing with 0 helps. Thanks for that.

I am newbie and not a frequent user of labview. 

I don't not understand how to interpret this.

"You can make a separate VI in functional global variable style."

0 Kudos
Message 5 of 6
(3,371 Views)
0 Kudos
Message 6 of 6
(3,362 Views)