04-20-2012 01:53 PM
Hello,
Can you please help me to scan the attached array to return (x,y) values for data that is above -90 on the y-axis.
Thanks,
hiNi.
Solved! Go to Solution.
04-20-2012 03:24 PM
@hiNI wrote:
Hello,
Can you please help me to scan the attached array to return (x,y) values for data that is above -90 on the y-axis.
Thanks,
hiNi.
Not sure what you're trying to do here.
You have two arrays. All of your y data is greater than -90.
Are you just looking to Build Array to form a 2-D array? Or are you looking to make an array of clusters of x and y?
As it stands, you have no need for the flat sequence structure or the local variables.
04-20-2012 04:56 PM
Hello,
I am sorry that I put the wrong array in there. The updated array can be found in the new attachement. I also made a mistake on the threshold. The threshold value for the y-axis data should be -75. I would like to display an array showing the y data (and corresponding x-data) that is above -75. Also, how do I add a line on the graph showing the threshold value of -75?
Thanks,
hiNi.
04-20-2012 07:08 PM
Hello hiNI,
Here is an example for you.
If you replace your "Y" values with "NaN" when they are below your threshold, they do not appear in the graph.
Create an array of "-75" values to show your threshold line.
You can test the attached vi by pressing the Run Continuously button, then change the Threshold value.
(Note: The Run Continuously button should only be used for testing.)
steve