DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Diadem recuperate cursor coordinate using script

Solved!
Go to solution

As a new comer on this site, I say hello to everyone.

 

My question is simple:

 

How can I get the values (X, Y) displayed on the curve of my report 2D graph using the "add curve coordinate" (right click on the curve) as input for a script, values that I use for further computation in this scirpt (basically the difference between Xs)?

 

I join a picture of that.

 

Moreover, I want to work with the Report and not the View.

 

I hope you can help me 🙂

 

To us all,

 

Louval

 

 

 

 

 

 

 

 

 

0 Kudos
Message 1 of 2
(6,090 Views)
Solution
Accepted by louval

Hi Louval,

 

the function you are using marks any coordinates in your coordinate system but not a special point on your graph.

In DIAdem script is no object that refers to this function.

You can do for example:

 

Refer to peaks or other special point on you graph.

This could look like this:

Call ChnPeakFind("Example/Zeit","[1]/Drehzahl","[1]/PeakX","[1]/PeakY",4,"Max.Peaks","Amplitude") '... XW,Y,E,E,PeakNo,PeakType,PeakSort
So what do you want to mark? any point of the system or special points of the curves like in the attached image?

 

Kind Regards,

 

Philipp K

 

AE | NIG

0 Kudos
Message 2 of 2
(6,064 Views)