change the properties of the report axis (together begin and end)

Hey everybody,

I am a beginner with DIAdem reports and close to despair that I have yet found any solution.

I wrote a script, which produces reports of various measures with 9 pages (3 2D-slots each, a total of 27 lots).

Now, I want to put the beginning and the end of the x-axis of certain specific parcels.

First question: tiara offers something similar to an Object Explorer (for easy access to the names of the objects drawn in a report)?

I created two GlobalDims called x_time_begin and x_time_end to set these properties, but I don't know how to access these variables in the report (tried @... @ and @... @ the 'Axis settings' tab).

These variables change for each measure, so each report has a different set.

The presentation of the State is responsible from a set of. TDMS files and is not altered in the script.

How can I find the name of a specific plot in the report can access?

Is it possible to define the range of the x-axis in a variable at all?

Best regards

Nils

Hi Nils,

It is possible to set the x-axis of begging and positions in the scripts end (see text below).  When you create a report object in the script you can name it anything you want to access later. Otherwise, I think that the default name is the name of the object, of the number (for example the 2D first table is called "2DTable1")

Dim oMy2DAxisSystem, oMyXScaling
Report.NewLayout
Set oMy2DAxisSystem = Report.ActiveSheet.Objects.Add (eReportObject2DAxisSystem, "My2DAxisSystem")
Set oMyXScaling = oMy2DAxisSystem.XAxis.Scaling
oMyXScaling.AutoScalingType = eAxisAutoScalingManual
oMyXScaling.Begin = 0.01
oMyXScaling.End = 100

Hope that helps,

Sadie

Tags: NI Software

Similar Questions

Maybe you are looking for