annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

Extract data from XY graph

Résolu !
Accéder à la 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 Compliments
Message 1 sur 17
9 636 Visites
Solution
Accepté par 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 Compliments
Message 2 sur 17
9 628 Visites

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 Compliments
Message 3 sur 17
9 621 Visites

hi

thanks for solution

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

0 Compliments
Message 4 sur 17
9 609 Visites

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 Compliments
Message 5 sur 17
9 603 Visites

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 Compliments
Message 6 sur 17
9 577 Visites

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 Compliments
Message 7 sur 17
9 569 Visites

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 Compliments
Message 8 sur 17
9 334 Visites

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 Compliments
Message 9 sur 17
9 323 Visites

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 Compliments
Message 10 sur 17
9 312 Visites