02-27-2015 02:48 AM
Wie kann ich eine 2D-Tabelle automatisch erstellen?
Hat jemand einen Code dafür?
Danke schön.
Gruss
03-01-2015 07:48 AM
Hi Ghilghi,
You can configure the DIAdem table in REPORT to automatically show as many rows as there are values in the channels referenced in that table. Of course, if your channels have thousands of values this can be impractical.
What is the specific difficulty?
Brad Turpin
DIAdem Product Support Engineer
National Instruments
03-02-2015 01:56 AM
Hi,
eine dynamische Tabelle möchte ich durch das Programm erstellen lassen. Und die Anzahl von Werten könnte sehr groß sein.
Ein Beispielcode für die dynamische 2D-Tabelle mit 4 Spalte hätte ich gern.
Gruss
03-02-2015 07:33 AM
The specific Difficulties ist how to modify the code below, so that i could have
a Dynamic 2D-Tabel.
Dim oCtrlTab, o2DTable, o2DTableColumnChannel
Set oCtrlTab = Report.ActiveSheet.Objects.Add(eReportObject2DTable,"My2DTable")
Set o2DTable = oCtrlTab
Set o2DTableColumnChannel = o2DTable.Columns.Item(1)
o2DTableColumnChannel.Channel.Reference = "[1]/Kraft_Zeit"
Set o2DTableColumnChannel = o2DTable.Columns.Item(2)
o2DTableColumnChannel.Channel.Reference = "[1]/Kraft"
Set o2DTableColumnChannel = o2DTable.Columns.Item(3)
o2DTableColumnChannel.Channel.Reference = "[3]/Weg_Zeit"
Set o2DTableColumnChannel = o2DTable.Columns.Item(4)
o2DTableColumnChannel.Channel.Reference = "[3]/Weg"
Call Report.Refresh
The Daten in Datenportal have been attached.
Please help me!
Bye!
03-03-2015 12:20 PM
Hi Ghilghi,
You need to also post the *.TDX file for that *.TDM file. The *.TDX file is the one with all the data values in it...
Brad Turpin
DIAdem Product Support Engineer
National Instruments