DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Diadem Contour plot using script

I am a new user to diadem script, and am having problems automating the data loading/displaying process. I have everythong working except the display of matrix data as a contour. I also need to turn on "create and refresh channels for intersection curves" using script. I would like the user to be able to switch between matrix datasets (there are three) using a dialog box or something.

 

I have been unable to find any documentation or examples concerning setting up countor plots with matrix data using scripts.

 

The record function of script is not working well for the plotting of data in view (it records nothing beyond splitting the workspace). Is that normal?

 

Any help is appreciated 

 

Thanks


David

0 Kudos
Message 1 of 2
(4,576 Views)

Hi David -

 

I'd be happy to talk through this with you, but first I'd like to make sure I understand what you're trying to do.  Please email me at:derrick DOT snyder AT ni DOT com...and perhaps we can arrange a brief phone call to talk through the details.

 

With regard to script recording for VIEW (and REPORT for that matter), we purposely limit the amount that is recorded simply because of the sheer volume of parameters and settings associated with VIEW or REPORT layouts.  For example, each VIEW sheet might have multiple VIEW areas, which might have many curves, which each have many formatting options (etc).

 

To combat this, we allow you to dictate exactly the parameters that get recorded using the following procedure:

 

    1. Turn on script recording.
    2. Navigate to VIEW (or REPORT).
    3. Navigate to the dialog box containing the setting you'd like to programmatically modify (e.g. the formatting of a curve).
    4. Press CTRL+A.  
    5. Navigate back to SCRIPT.

At that point, in SCRIPT, you'll see a recording of all of the environment variables/settings that exist for the dialog box that you interacted with.

 

I look forward to your email.

Derrick S.
Product Manager
NI DIAdem
National Instruments
0 Kudos
Message 2 of 2
(4,566 Views)