LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

List of cursor coordinates, after plotting the binary data

Hi, 

I downloaded an example file that can read and plot binary data (2 D plot). When plotted I can browse through my data. I can see the cursors and also the coordinates of the cursors.  

 

I would like to mark certain points on the plot using 3-4 different cursors> say A B C D. When I find the set of 4 locations of interest, I would like to send the coordinates to a text file. Thus, I would like a list in text: 

 

A              B C D

X1 Y1 X1 Y1 X1 Y1 X1 Y1

X2 Y2  X2 Y2  X2 Y2 X2 Y2

.

.

.

.

XnYn XnYn XnYn XnYn

 

Where X and Y are coordinates of the 4 markers, positioned n times.  

 

I would much appreciate if someone were to help me with this. Attached is the file I am using. 

 

Thanks much!

0 Kudos
Message 1 of 2
(2,383 Views)

Hi emgTAPPER!

 

I would like to help you. To do this, I first have the following questions:

1. There is a SubVI missing. It is 'Convert Unscaled to Scaled_RepairedGains_05-14c-05.vi'. Would you please upload it?

2. If I understood correctly, you do want to create a 3D-array (1: A/B/C/D, 2:Xn, 3:Yn) or a Cluster of four (A/B/C/D) 2D-arrays (1:Xn, 2:Yn). Which one do you want to create? I would recommend a cluster of arrays. I think it will be easier to handle.

3. I did not understand what you do want to know / at which point you want to get help. Please help me precising at which point there are difficulties.

a, Are you able to create a useful array?

b, Do you need help in making 2 cursors to 4?

c, Do you want to know how to write the cursor position into the array?

d, Do you need help in "saving" it each time into a new array position?

e, Do you want to know how to send the "saved cursor position" into a text file?

 

Best regards,

 

Stefan

 

---

 

Stefan Egeler

Applications Engineer

National Instruments Germany

0 Kudos
Message 2 of 2
(2,362 Views)