LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY graph and Cursor help. LabVIEW

Having trouble displaying my intended function, Log(X) for X = 1 to 11 on my XY graph. No function appears. I've added a curser to the X-Y Graph, but I'd like to find the “Median Value” (midpoint of the data set) using the curser then calculate the Median using the array data (Log(x)) and verify that the curser and calculated value match. 

 

Here is my VI for troubleshooting.

0 Kudos
Message 1 of 3
(1,691 Views)

Your For loop is autoindexing based on the array you're feeding it, which has zero elements.

 

How are you trying to set X=1 to 11? Those numbers don't appear anywhere in there. What is the purpose of the empty array feeding the loop anyway?

0 Kudos
Message 2 of 3
(1,667 Views)

Graph range from 1 - 11, 11 plots. The empty array was connected to a shift register but it was removed.

0 Kudos
Message 3 of 3
(1,659 Views)