Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

How Can I Automatically Execute a Script When a File is Loaded into the Data Portal in DIAdem?

Primary Software: DIAdem
Primary Software Version: 10.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I would like to execute a specific series of actions when a data file is loaded into the Data Portal in the Navigator pane of DIAdem. How do I go about implementing this functionality?

Solution:
The DIAdem Navigator recognizes an event called OnLoaded to handle this case.  To dictate what actions to take when this event occurs, follow these steps:
  1. Create and save a script similar to the following:
  2. Navigator.Events.OnLoaded = "Actions"

    Sub Actions ( )
    [your code here]
    End Sub
  3. Select Settings » Options » Extensions » User Commands and add the script you previously created to the resulting list.


Related Links:
KnowledgeBase 3Z9994I9: Why Doesn't a Refresh Occur When Cursor Events are Processed in DIAdem VIEW?

Attachments:

 






Report Date: 04/22/2009
Last Updated: 04/22/2009
Document ID: 4WL9AP8Z

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit