Zeitdarstellung Graph und Diadem-Report

Hallo Zusammen!
Irgendwie bekomme ich es nicht hin in meinem Graphen eine reelle Zeit (X-Achse) anzeigen
zu lassen. Habe schon alles versucht und der Graph zeigt mir jedesmal falsche Zeitwerte, da er
diese immer über die Sample-Frequenz (Bis zum nächsten Vielfachen...) berechnet.
Stelle ich die Zeit des Schleifendurchlaufs auf 1s (1Hz), funktioniert es.
Ich möchte aber auch gerne andere Samplefrequenzen einstellen können und trotzdem eine reelle Zeit
angezeigt bekommen.
Habe auch schon versucht mit den Einstellungen, "Format und Genauigkeit" des Graphen zu experimentieren
...leider ohne erfolg!
Analog dazu soll auch die Zeit im Diadem-Report dargestellt werden...was mir ebenfalls nicht gelingen will.
Wie kann ich das realisieren?
Wär euch sehr dankbar, wenn ihr mir helfen könntet...
Gruß Stonei
Anbei meine VI's  LV v8.2 / Diadem v10.1
Message Edited by Stonei on 04-13-2008 08:23 PM
Attachments:
SR-FlipFlop.vi ‏10 KB
Regelung mit PID Regler 18.vi ‏382 KB
Regleroptimierung2.vi ‏54 KB

Since your time interval can change during acquisition, you probably need and xy graph and keep track of the time.
(If the loop rate is fixed, you can use a waveform graph and set x0 to the start time and deltaX to the loop time using a property node). Currently, your x0=0 and dx=1, which has nothing to do with any reasonable time axis in this case.
You have some funny code in there! To initialize an array to zero, you could just use the default value of the output tunnel. Using "delete from array" with a lenght=Inf boggles the mind.
Message Edited by altenbach on 04-13-2008 06:52 PM
LabVIEW Champion . Do more with less code and in less time .
Attachments:
DeleteInf.png ‏10 KB

Similar Messages

  • Is there a way to link the x-axis of multiple graphs in a report? Using DIAdem 12.0

    Is there a way to link the x-axis of multiple graphs in a report?  Using DIAdem 12.0

    What  I am after is this...  If I have multiple 2D axis systems in a report with each y axis showing different channels of a particular data file and with each x axis being the time stamp of that data file, rather than changing the x axis values of each 2D axis system to zoom in on a time slice, I'd like to change only one and have all the others match.  So I suppose yes, I want each of the multiple 2D axis systems to have the same x axis, but I want unique 2D axis systems, not one system with multiple y axis or "n systems".  I'm hesitant to post a sample report as this is a public forum.  Thank you.

  • Problem mit Express VI "Diadem report" bzw. "Messwerte in Datei schreiben"

    Hallo Zusammen!
    Habe ein Problem mit dem Express VI  "Diadem report"  bzw. "Messwerte in Datei schreiben"
    Mein Express VI befindet sich innerhalb einer While-Schleife, wo auch meine Messdaten (Regler mit Regelstrecke) generiert
    werden. Folglich werden die "einzelnen" Abtastwerte der Regelung ständig in eine neue Datei geschrieben (somit erhält man quasi für jede Messung hunderte von Dateien bzw. einzelne Graphen pro abgetasteten Wert).
    Habe auch versucht das Express VI ausserhalb der Schleife zu platzieren, was natürlich auch nicht geht, da so nur ein Punkt gespeichert wird (da es ja nur einmal aufgerufen wird).
    Wie kann ich nur einen Report bzw. Datei für eine Messung erstellen...was mache ich falsch??
    Brauche dringend eure Hilfe  (LabView v8.2)
    Gruß Stonei
    Attachments:
    Regelung mit PID Regler 51.vi ‏297 KB

    Hallo Stonei,
    wenn du das vi statt eines Bildes anhängst, können Forumteilnehmer leichter Änderungen vornehmen (Falls dein Arbeitgeber nicht gute Gründe dagegen einzuwenden hat.)
    In deiner Schleife fehlen Shiftregister... Dein Indicator "Graph (W/X/Y)" ist höchstwahrscheinlich ein Chart, da du nur die aktuellen Werte übergibst. Sammle die Messwerte in Arrays, die über Shiftregister in die nächste Schleifeniteration übernommen werden. Dann kannst du auch einen "echten" Graphen verwenden Wenn die Daten erst einmal in SR vorliegen, lassen sich weitere Aufgaben recht einfach erledigen (z.B. Subarray auslesen und in Datei speichern).
    Hast du dir die Beispielprogramme von Labview angeschaut? Da sind auch welche bei, die die Benutzung von Charts&Graphen demonstrieren - und da wurden garantiert auch Shiftregister benutzt!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • X-Y-Graph in DIAdem 10.0

    Hello,
    How is it possible to create a X-Y-Graph at DIAdem 10.0?
    Creating normal Graphs including only Y values is simple, but how it does it work, if i have X AND Y values and i want to show the Y values not over, for example, the time, but over the x values, to get a curve?
    Has anyone got an idea, then please help!!
    Thanks, Thomas

    Hi Thomas,
    You should ask your question on the DIAdem board.
    But here's the answer, it is only possible in Report (not in View) to make a XY graph, and quite easy, select the X-axis data, than the Y-axis data and drag and drop this on the graph you wan t to use!
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • How can I show groupped columns inisde Diadem report ?

    Hi,
    I am trying to show some values inside a Diadem report. I must show then in a similar way as "groupped columns" inside Excel, comparing different values in columns, just one columns next to the other one, but I do not know how I can manage it inside Diadem. With "bar" and outlined bars, all the columns are located at the same X point, so it is not the same as in Excel. How could I compare values of differet columns?
    Thanks for your collaboration

    Hi koniker,
    Do you mean Y offset? If so, you can do it, but it's not a built-in feature, so again, you would have to shift the Y values up or down by Delta with the FormulaCalculator prior to graphing.
    Normally multiple values occurring at the same X axis point are displayed either as lines and/or symbols. Bar graphs come up occasionally in DIAdem, but they're much more important for business graphing needs, thus the strong support of them in Excel.
    What's your use-case? Are bar graphs the only acceptable choice? I can create and send you VBScript code to shift the bars either in the X direction or the Y direction, as you wish, if that's the optimal diplay. It just won't be a built-in feature.
    Regards,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Create Objects in DIAdem reports with VBS

    I wish to create objects in my DIAdem reports such as text boxes, frames, pictures, and graphs using VB Script. I know I can use the command "GraphObjNew(ObjType, GraphObjName)". But where can I find a list of ObjTypes? For example, I know that if I want to create a 2D Graph, the ObjType is "2D-Axis". However, if I want to create a text box, I do not know what to pass as the ObjType parameter.

    Bill,
    Here is a list of the objects you can create. Please note that some of them (like arrow, etc.) will not be available in DIAdem 8.x and 9.0x. They are new objects for version 9.1 that will be available in Augsut/September this year.
    Script term Interface term, Explanation
    2D-Axis 2D axis system
    2D-Table 2D table
    2D-Polar 2D polar axis system
    3D-Axis 3D axis system
    3D-Table 3D table
    FreeText Text
    FreeFrame Free frame
    FreeGraph Any graphic
    UserObject Text object
    Arrow Arrow
    Comment Comment
    Circle Circle
    Hope this helps. Let me know if you need more information,
    Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • DIAdem Report express VI works only with a single sheet template??

    Hi,
    I'm very new to Diadem and I'm using the 2011 evaluation version to try a report generation of LabView data (2013 version, evaluation also). I'm using the "DIAdem Report" express VI to generate a 2 pages, quite simple report; the first page has to contain some pictures and free text to be compiled with Labview strings, and the second page has to show an XY chart. The goal is to export in PDF file format.
    Creating two separates TDR report models for each page and calling two instances of the DIAdem Report, the report is generated correctly with the expected value in two separate pdf files. If I'm using a report template with the two previous pages loaded in two sheets, the text value and the XY data are not loaded in the PDF file, causing a two pages empty export (only images, default text and chart border are visible).
    I'm missing something? Attached a TDR file that reproduce the malfunction.
    Many thanks in advance.
    Solved!
    Go to Solution.
    Attachments:
    1+2.TDR ‏59 KB

    WorldTraveler
    When I have a report that has multiple pages  (Over 5)  I like to use one tdr file for each of the pages, and then use the report append feature to make a resulting tdr and then a PDF.
    (Search for report appending) 
    I make one cover tdr and one summary.tdr file, and then work to try to make the other sheets as reusable as possible.  That way I can build each resulting large TDR from a appending of as many smaller tdr files as needed. This really cuts down on the maintenance time for reports, and results in large PDF at the end, so the users do not know the difference.
    Paul

  • Error 7 occurred at _createExplicitChildObject.vi DIAdem report express

    I am using DIAdem Report express in LabVIEW.  I made a change in the file name and now it works most of the time but is generating an error.  Sometimes it doesn't work.
    C:\Neuronetrix_Sync\Development\LabVIEW Test System\SC-1673\Logs\110091507\110091507 Frequency Response 5983823
    This is the file path, it is constructed using string tools and then converted using string to path, then create folder then piped to the DIADEM report and Export Image function.
    I get an error that cancels out the program the first time, then on subsequent runs it works just fine but still generates an error.
    Error 7 occurred at _createExplicitChildObject.vi
    Possible reason(s):
    LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
    Error 7 occurred at _createExplicitChildObject.vi
    Possible reason(s):
    LabVIEW:  File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
    -Regards
    eximo
    UofL Bioengineering M.S.
    Neuronetrix
    "I had rather be right than be president" -Henry Clay
    Attachments:
    FILE name error.png ‏18 KB

    In the screen shot you can see I am using to DIAdem expresses.  When I was using just one express, and have everything wired up correctly, and everything works, i'm still getting the error.
    -Regards
    eximo
    UofL Bioengineering M.S.
    Neuronetrix
    "I had rather be right than be president" -Henry Clay

  • How can I find outliers in a DIAdem report using LabVIEW

    I am new to DIAdem and I am trying to take a DIAdem report and find the outliers and mark them with an 'X'. I found an example of this but it uses a VB script. The example has a constant to determine what is an outlier. I need this to be a variable. Thanks for the help in advance.
    AJL

    Hello AJL,
    an easy way to realize your task would be to use the VBS script you allready found.
    You can call a VBS with the "Diadem run script.vi". Inside the VBS, just locate the parameter you want to change and replace it with one of the DIadem Variables (for a realvalue you could use R1 for instance). You do not need to declare those internal variables initially, they are part of DIAdem and free for everybody to use. Just make sure it is not used a second time in the script you are calling. Then, prior to running the script you just have to set the respecting variable with the "DIAdem variable set.vi". This allows you to change DIAdem command parameters from your LabVIEW vi.
    Both VIs I mentioned above are part of the LabVIEW DIAdem Toolkit. In case you don't have it yet, you can download the functions at
    http://digital.ni.com/softlib.nsf/websearch/5121C7​F322C9392886256EDF005BB4FF?opendocument&node=13207​0_US
    Ingo Schumacher
    Systems Engineer Sound&VibrationNational Instruments Germany

  • Export graphs from Web report

    Hi.
    I need to copy graphs from web reports in 3.5.To do this, i have followed a roundabout:
    1. Save the page as mht (web archive file)
    2.Copy the image from there and paste into Powerpoint or wherever required.
    Is there any better way to do it? Or can I bring the save as mht option in the context menu?
    Is SAP addressing it any soon?
    Also is there any way to send graphs in addition to the tables via the 'distribute as email option"?
    Cheers
    Anand

    When you broadcast using the standard template the template '0QUERY_TEMPLATE_BROADCASTING' is used for broadcasting. This template only has a navigation block and table item, this is the reason why the chart is not displayed in this template. If you create a custom template for broadcasting which has chart item in it you will be able to get the chart displayed (it will be always displayed.) See the attached link for custmoizing.
    http://help.sap.com/saphelp_nw04/helpdata/en/3a/0e044017355c0ce10000000a1550b0/content.htm
    You can also override this behaviour if you attach the query to a custom web template, in this case when you broadcast you will get exactly what you see in the current report.

  • Generate graphs from Oracle Reports

    How to use graphs in Oracle Reports server, the version of Oracle Application Server is 10.1.2.3
    thanks,

    You need to develope your graph in reports builder. Then deploy the rep file to the server and run it.
    You can open this post in reports forum.

  • DIAdem report with more than 3 signals

    Hi everybody!
    How can I create a report with more than 3 signals  as input. The DIAdem report accepts only 3 signals as Input.
    In my opinion this is an very easy question but I could not solve it during a few hours!
    Thanks in advance,
        Manuel123

    Thank you for your answer!
    But I have still some problems.
    According to your help I have connected eight of the signal-boxes to the connector. After that it is possible to connect up to eight signals to this sub-vi. Great!
    But now I want show all these signals in the Diadem report, for this reason I created a new report-layout (see attachment) and wired the path of it to the "report layout file" - input. Unfortunately Diadem uses still a layout with just two signals and even if I open my own layout in Diadem there are only two data-lines listed in the "Data Portal: Internal Data" - panel.
    Where is my failure?
    Regards,
       Manuel123
    Message Edited by Manuel123 on 08-29-2007 10:00 AM
    Message Edited by Manuel123 on 08-29-2007 10:01 AM
    Attachments:
    man.TDR.zip ‏11 KB

  • Creating graph in a report

    Hi,
      I got to create a object in which the client requires a graph with the datas in the report, is it possible to create a graph in a report, if yes how can i do it?

    Hi,
    Check the following code to display graph in report:
    DATA: BEGIN OF ITAB_DATA OCCURS 0,
    DATANAME(15),
    QUANTITY1 TYPE I,
    QUANTITY2 TYPE I,
    QUANTITY3 TYPE I,
    END OF ITAB_DATA,
    BEGIN OF ITAB_OPTIONS OCCURS 0,
    OPTION(20),
    END OF ITAB_OPTIONS.
    ITAB_DATA-DATANAME = 'Electricity'.
    ITAB_DATA-QUANTITY1 = 55.
    ITAB_DATA-QUANTITY2 = 62.
    ITAB_DATA-QUANTITY3 = 59.
    APPEND ITAB_DATA.
    ITAB_DATA-DATANAME = 'Gas'.
    ITAB_DATA-QUANTITY1 = 35.
    ITAB_DATA-QUANTITY2 = 52.
    ITAB_DATA-QUANTITY3 = 44.
    APPEND ITAB_DATA.
    ITAB_DATA-DATANAME = 'Water'.
    ITAB_DATA-QUANTITY1 = 18.
    ITAB_DATA-QUANTITY2 = 22.
    ITAB_DATA-QUANTITY3 = 19.
    APPEND ITAB_DATA.
    CALL FUNCTION 'GRAPH_MATRIX_3D'
    EXPORTING
    COL1 = 'Jan'
    COL2 = 'Feb'
    COL3 = 'Mar'
    TITL = 'Utility Expenses in US$.'
    TABLES
    DATA = ITAB_DATA
    OPTS = ITAB_OPTIONS
    EXCEPTIONS
    OTHERS = 1.
    Hope this helps.
    Reward if helpful.
    Regards,
    Sipra

  • Hyperlink in DIAdem report

    Hi,
    I am wondering if it is possible to include a hyperlink inside DIAdem report and then, when exporting to PDF, have this hyperlink in the final PDF document.
    I want to have a summary page with hyperlinks to other documents.
    Thank you
    Egor

    Hi Egor,
    Matthias is correct that there is no feature in DIAdem 11.1 or earlier to support hyperlink export to PDF files.  However, if you have a valid URL as text in the REPORT, it will show up as an active link in the PDF file (when viewed by Adobe Acrobat Reader, but not in the Foxit PDF viewer).  So if you want the URL to show up with the full URL text as a link, that's all you need to do.  If you want a different text to become the URL link, then you need to use 2 texts, with the URL text on top and the descriptive text underneath.  If you paint the URL text white, this will look reasonable-- here's an example TDR file and the PDF file it created (courtesy of R&D).
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments
    Attachments:
    Links For PDF Output.zip ‏45 KB

  • Diadem report generation

    Hi,
    I want to generate test reports automatically, so I chose using DIAdem as a report engine. But I am stuck at a point. Appreciate any help.
    In our reports we need these fields: 2D string tables / 2D Axis Systems / Text Parameters
    I started with DIAdem Report Express VI, but I stopped using it when i found that its impossible to transfer string arrays from LabVIEW to DIAdem. So I found Connectivity VIs. I had no problem with generating 2D tables and 2D axis systems. But I couldn't find any way for transfering texts.
    I know it could be done with scripting or using ActiveX, but they have a huge API to learn.
    What is the easiest way to transfer 2D string table and simple text from LabVIEW to DIAdem.
    Thanks
    Emre

    There is a way to send text data. I use the following file. On the VI menu Connectivity-Diadem-Automation data- "Diadem variable set” Then select the text for the polymorphic version. Jim
    C:\Development\LabVIEW 2009\vi.lib\addons\DIAdem\DIAdem.llb\DIAdem String Variable Set.vi

Maybe you are looking for

  • Two iPods on same internet

    My son and I each have iPods. I am not sure how to seperate them from each other. Every time I add a song to my iPod it also adds to my sons when he plugs his iPod in to the same computer. How do I seperate these? Please help!

  • OS won't boot up

    Okay, so right now, my laptop and my ipod are a whole host of problems now. My laptop is refusing every attempt i make to make it work again. At first, i was trying to fix my ipod, it was basically just a complete restore since it wasn't being very n

  • PHP: URL variable that is unnamed

    Suppose I have <a href="foo.php/?foo" How would I get at that URL variable? If I print_r($_GET), I just get an array.... Murray --- ICQ 71997575 Adobe Community Expert (If you *MUST* email me, don't LAUGH when you do so!) ================== http://ww

  • Error 4sns/1/40000000: TNID 119.000?

    I recently ran a diagnostics check after my macbook was recieving some problems. I got this error. After a quick google search, I couldn't figure out what it was. Could someone explain what this error means? Some problems with my computer include: •E

  • Engineering Screen Set-up

    Hi, first of all I admit my problems are a result of my stupidity and gross incompetence. The story: I downloaded a program to calculate the Blackberry Engineering screen unlock code. Now with access to the ES Screen settings, I sort of messed things