ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

taking values from an array depending on the elements of another corresponding array

 Hello,

Here I have attached a text file and I am reading it in LabVIEW and taking the columns of the text file in two different arrays . as you can see in excel plotting there are points in 4th quadrant also. I want to take those points only (4th quadrant) for further display. Can anyone help me in this as how to do it?

p.s. ignore the jsc,voc part.

Download All
0 Kudos
Message 1 of 5
(2,664 Views)

Hi jyot,

 

simple as this:

check.png

 

Just some functions: ReadSpreadsheetFile, IndexArray, Bundle. A FOR loop iterating over all points and filtering only those with X&Y<0.

 

So how far you get!

 

(Usually you show your VI and we help you to improve it!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,658 Views)

hi,

i have been upto getting the extreme points of x&y axis(voc and Isc)

0 Kudos
Message 3 of 5
(2,652 Views)

Hi jyot,

 

dunno why you need interpolation functions here.

I just used a FOR loop to filter the points with "IF X<0 AND Y<0 THEN…"

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(2,643 Views)

Hi,

Actually, these are values on the x and (-y) axis taking as the marking value for the 4th quadrant.

0 Kudos
Message 5 of 5
(2,634 Views)