DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How to output the result parameters from a circle regression (or any analysis function for that matter).

After you perform an analysis function in DIAdem, you get a results window.  For example, after a circle regression, you get a results window that shows the function executed, the input channels used, and a list of results parameters including the output channels, the X and Y mid-points (the circle's center point), the radius of the circle, and the quality of the regression.  This text is not copyable, so how do I get these results into results channels or onto the clipboard?

 

Thanks!

0 Kudos
Message 1 of 2
(3,238 Views)
Hi InternationAL,

If you use the help button in the dialog box of the circle regression you'll find the following:

DIAdem saves the results in the following vector variables:
CircleRegr Contains the characteristic values of the regression circle.
CircleMaxInci Contains the characteristic values of the maximum incircle.
CircleMinCmci Contains the characteristic values of the minimum circumcircle.
CircleConcInci Gets the characteristic values of the concentric incircle.
CircleConcCmci Gets the characteristic values of the concentric circumcircle.

If you have a look in the help of one of these vector variables, each consists of 4 values containing the x-coordinate, the y-coordinate, the radius and the Q-value.

To display these results in a report you can include a string similar to the following in a text
regression circle center: (x/y)= @@str(circleregr(1),"d.dd")@@/@@str(circleregr(2),"d.dd")@@

It might help to have a look at the step-by-step procedure "Using variables in text" to learn more about text, variables and formatting

Some of the other analysis function (e.g. Regression) have more direct ways of copying variables or variables content into the clipboard. You then find a tab called "Results transfer" in the dialog box.

Hope this helps,
Ralf
National Instruments
0 Kudos
Message 2 of 2
(3,229 Views)