DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

I need to grab 8 maximums, each from a different curve, and plot them on a polar chart.

I know how to grab maximums manually (analysis or view), but I don't know how to graph maximums and place them in a polar chart without merging them into one series. 

 

In Excel I made a simple table:

 

1    100

2    105

3    110

4    108

5    103

6    99

7    95

8    100

 

(numbers arbitrary) 

 

And made a graph which I have attached to this post.

 

I am using a script to open a data file.  I need to be able to grab those eight maximums and merge them into one series to include in a report chart.

 

Any ideas?  Thanks!

Programming Data Acquisition and Control in Measurement Studio and Labwindows/CVI
0 Kudos
Message 1 of 3
(3,792 Views)

Hi Michael,

 

I created the closest corresponding DIAdem polar plot to your posted picture.  The bad news is that DIAdem polar plots do not support the spider web display of your attached picture, nor standard marker shapes at each point (but it does support arbitrary keyboard characters as markers).  I think the lower case "o" character looks reasonable, though.  I also had to create the UserCommand "PolarLabels()" located in the "Polar Labels.VBS" in order to show the point index along the outside of the polar plot.

 

The good news is that I also included a VBScript which automatically reads off the maxima from the numeric channels in each desired Group and dynamically creates the "Angle" and "Maxima" channels for each Group, as well as automatically setting the number of sectors in the polar plot to the number of maxima.

 

The attache ZIP file has two REPORT layouts in it.  The "Polar Maxima1.TDR" file is a standard layout with one curve configuration for each displayed curve on the polar plot.  It has the advantage that the "o" symbol can be the same color as the curve it belongs to, and you can specifically choose which Groups to show a maxima curve from.  The "Polar Maxima2.TDR" file is a "name-expansion" layout with only one curve configuration that will show N curves.  This is useful if you don't know ahead of time how many curves you'll need to show on the same graph.  The disadvantage is that it will always show all the Group curves, the chanels it shows all have to have the same names, and the markers from all curves have to have the same color.

 

Bad Turpin

DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 2 of 3
(3,747 Views)
I will have to look over this process.  I'll get back to you with questions or props.  Thanks!
Programming Data Acquisition and Control in Measurement Studio and Labwindows/CVI
0 Kudos
Message 3 of 3
(3,744 Views)