Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 rating:
 1 out of 5     Rate this Document

How Do I Programmatically Populate a Report Table With Channel Data in DIAdem?

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

Problem:
I would like to dynamically assign channel data to a particular table in my DIAdem report. How do I go about making this designation?

Solution:
Similar to programmatically creating a graph, there are several scripting commands that can populate an exisiting table on a particular layout. The following code makes use of the example data channels that ship with DIAdem:

Call GraphObjOpen("2DTable1")
  D2TabChnName(1)  = "[1]/Time"
  D2TabChnName(2)  = "[1]/Speed"
Call GraphObjClose("2DTable1")


Note that this approach will be contingent on a layout for the report which includes a table called 2DTable1.

Related Links:
KnowledgeBase 2OK2J7FN: How can I automatically send the Report I've created in DIAdem GRAPH to a PowerPoint slide?

Attachments:





Report Date: 04/29/2009
Last Updated: 04/30/2009
Document ID: 4WSCDI8Z

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