LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Extract data from XY graph

Solved!
Go to solution

hi

here i want to extract data from the  XY graph . I attached vi which i use for 1D array . how i can use this VI for 2D Array.

 

Thanks

0 Kudos
Message 1 of 17
(7,379 Views)
Solution
Accepted by topic author bijal

Hi bijal,

 

you may use the same approach.

The only thing that changes is the ArraySubset function as it adapts to the 2D array. You can select either rows or clumns from your data (depending how you generated them)...

Best regards,
GerdW


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

Exaclty the same but you have to subset array double.

scale.png

 

Follow GerdW's example if you want to use graph instead of XY graph.

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 3 of 17
(7,364 Views)

hi

thanks for solution

but if i do as per solution X- scale is change and give wrong ans.

0 Kudos
Message 4 of 17
(7,352 Views)

You mean the X-scale differs from the the original?

Then you have to use a XY-graph as in my post

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 5 of 17
(7,346 Views)

hi

 

here i send u my vi.in this vi i use xy graph and use array subset double.but it gives me x-scale differ than original.

 

thanksxy graph.png

0 Kudos
Message 6 of 17
(7,320 Views)

Hi Bijal,

 

that's not a VI, it's just a huge picture with a lot of whitespace!

 

- Attach the VI...

- You're working with some ExpressVIs and a lot of DDT wires. Whenever you convert your DDT to something else (like you you) it may also affect the data, hence "changing the x axis"...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 17
(7,312 Views)

Hi

I am facing problem to extract data from XY graph . I need to extract data between two cursors in a graph into an array. I was trying out the method mentioned over here but I couldnt get exact values between cursors.

 

Thanks

0 Kudos
Message 8 of 17
(7,077 Views)

Hi mahesh,

 

do you think we can debug your VI by looking at a picture of the frontpanel?

 

What exactly is your problem?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 17
(7,066 Views)

Hi Gred,

   I am attaching my VI...

 I exactly want the values lying between two cursors.and extract them to an array......as I shown in front panel picture....

0 Kudos
Message 10 of 17
(7,055 Views)