2D-Curve in DIAdem 9.1

Hallo,
ich würde gern eine Kurve in einem 2D Koordinatensystem erstellen. Laut Hilfe soll das mit:
  Call

siehe http://forums.ni.com/ni/board/message?board.id=60&message.id=3024

Similar Messages

  • How to manipulate data in Diadem

    Hello everybody,
    I have been working on a project and faced a problem which I was actually not expecting. I am doing some counter operation of several sensor data for measuring the rotational speed of a shaft and returning the values into an array of 4 columns with different lengths. I am doing this on Labview.
    What I have to do is to display the speed vs time curves on Diadem (4 curves on the same plot). I am able to save the array to a file on Labview. You may see the example data I am exporting as a file in the attachments. It's a text file. The first 4 values represent the time steps between the data values and will be used to plot the time axis.
    As you see, Diadem has to construct a time axis by using this data and plot the actual data versus this one. Is it possible to do that automatically? Is it possible to write a code or something similar in Diadem for creating array from the file read and manipulate this array? In addition, the zeros at the end of the columns should be eliminated since all the columns are not of equal length.
    I would be really really grateful if you could show me some directions.
    Cihan Akdogan
    Attachments:
    data.txt ‏2 KB

    Hello Caroline,
    I would really be grateful if you could help me about that. Ok, the situation has changed a little bit since I progressed on the project (a bit of course). I am pasting the VI where I am doing the counting operation. I also implemented some blocks to communicate with DIADEM. They are more or less working.
    I am saving the data as a TDM file. Inside this file I have 4 channels. 1st and 3rd channels are the values for the x-axis, whereas 2nd and 4th channels are the values for the y-axis. All I want to do is to plot these two curves on the sama graph. I even succeeded to automatically open a preprepared layout for the graph, however I could not manage to assign the channels to the axes and make the plot I was trying to construct a script for that, but the scipt is not recording the operations I make manually for this. I don't understand why...
    I am also sending a text file where I copied and pasted the channels.
    I am posting three messages to be able to attach three files.
    Thank you again for your concern. I am eagerly waiting for your solution.
    Cihan
    Attachments:
    project.vi ‏494 KB

  • How many curves can be plot on one 2D graph in DIAdem

    Hi everyone,
    I want to  plot some(360+) curves on one 2D graph.I have results for samples which are measured at different temperatures.I had no problems to plot the curves of all devices for one temperature.But what I noticed when I tried to plot curves of all devices for all temperatures is that it doesn't work.DIAdem (ver.10.2) gives an error if the number of curves is more than 250,how can this be?Is this a program limititaion which can be fixed with a patch or service pack, or I'm doing something wrong? 
    Thanks in advance
    Solved!
    Go to Solution.

    Hello fscommand,
    When you overlay the axis systems, make sure to turn of the colors for the axes, labels and ticks on the 2nd axis system. You can exactly align them in the "position" tab of the "Axis and curve definition" dialog.
    You only need to set this up once for every 250 overlayed curves, so it should be a relatively quick and painless effort.
    Let us know if you have any additional questions,
    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."

  • How to load a curve and the view automatically in diadem from labview ?

    Hello,
    I want to automate a system for processing and analyzing data and for that I am using labview.
    I recently discovered software diadem and already I am able to send data from labview.
     I would now like to obtain a curve directly in the "view" is that possible?

    Hello Beneuss,
    You can create a layout template in VIEW, save it to disk and then load it when DIAdem is started. These two lines will automatically load a VIEW layout called "Example" and display the VIEW window.
    Call View.LoadLayout("Example.tdv")
    Call WndShow("VIEW")
    To automatically have a curve show up in VIEW, make sure that you assign the correct curves in the VIEW layout before you save the layout. This is done with the drag&drop functionality from the DataPortal. Just assign the channel you wish to see, and then save the layout. It will "remember" all the channel assignments and automatically show all the channels you had assigned, as long as you don't change the channel names.
    Please let me know if that helps and if there is anything else we can help you with.
         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 14: Marker are fix at a curve?

    Hello,
    in the past i worked with DIAdem 8.
    After i was setting the marker on the curve it was possible to scrolling between a area and the marks in the area runs from point to point at the curve.
    In the older system the marks were running by during i scrolled on the button.
    Isn´t this funktion in DIAdem 14?
    Please could you explain it how to use it correctly or is it the normal way in the one?
    Have a great thanks

    Hi DIAtester,
    Actually I don't see the different behavior between DIAdem 8.1 and 2014.
    What do you mean by jumping markers? Markers are attached to datapoints and do not jump...
    When using band cursors and enable scrolling in another 2D Axis System, it's normal behavior that markers stay attached to datapoints. This behavior can be observed in both DIAdem versions.
    Walters example in this thread also shows expected behavior:
    http://forums.ni.com/t5/DIAdem/Marker-in-Diadem-sollen-beim-scrollen-mit-laufen/m-p/3121200#M20302
    If there are any further problems please also feel free to call our german support hotline +49 89 7413130
    Best regards
    Christian

  • Y axis auto scale not working in DIAdem 11

    Hi
    A few years ago I created a user dialog box for selecting and displaying channels in DIAdem view.
    It worked fine for all DIAdem 10.X releases, but for DIAdem 11.X there is a problem with the y-axis scaling.
    The channels are displayd as [n  Systems (Linear)]
    In DIAdem 10.X the y-axis for each separate graph would be scaled automatically accoring to the min. and max. values of the displayed channel.
    In DIAdem 11.X the y-axis for each graph is scaled from 55.0397 to 133.7655.... for all channels, no matter what the values are for the displayed channel.
    When I click the "Zoom Off" button the scaling becomes correct.
    What do I need to put in to my script to make the y-axis scale correctly?
    Below is the code that is used to set the scaling (no scaling for Y axis is set):
        R1 = SelectedStartTime 'this is a variable defined earlier in the code
        R2 = SelectedEndTime 'this is a variable defined earlier in the code
        View.ActiveSheet.Cursor.X1 = R1
        View.ActiveSheet.Cursor.X2 = R2
        View.ActiveSheet.Areas(1).DisplayObj.XScaling = "RangeZoom"
    I've tried adding this code, to no effect:
        View.ActiveSheet.Areas(1).DisplayObj.YScaling = "n systems [phys.]"
        View.ActiveSheet.Areas(1).DisplayObj.YScalingMode = "automatic"
    Solved!
    Go to Solution.

    I tried with Macro recording and Ctrl+A and the result was
    Option Explicit 'Forces the explicit declaration of all the variables in a script.
    R1 = 30
    R2 = 52
    Call View.NewLayout()
    View.Sheets("Sheet 1").Areas("Area : 1").DisplayObjType = "CurveChart2D"
    Dim oMyDisplayObj
    Set oMyDisplayObj = View.Sheets("Sheet 1").Areas("Area : 1").DisplayObj
    oMyDisplayObj.Curves.Add "[1]/Time", "[1]/Speed"
    oMyDisplayObj.YScalingMode ="automatic"
    oMyDisplayObj.Abscissa ="X-Cursor"
    oMyDisplayObj.Ordinate ="Y-Cursor"
    View.ActiveSheet.Cursor.X1 = R1
    View.ActiveSheet.Cursor.X2 = R2
    View.Sheets("Sheet 1").Areas("Area : 1").DisplayObj.XScalingMode = "RangeZoom"
    WndShow "VIEW", ""
    which seems to work fine. So there is only one difference to your code which is
    .XScalingMode
    instead of XScaling. Does changing this work with your code?

  • Improving graphics performance in DIAdem 11.0 Report?

    Dear Forum,
    when working on a Report layout, the poor graphic performance of DIAdem is a real problem for me.
    For example, many diagrams with lots of data are on one page. One opens the proficiencies of one of the diagrams and changes e.g. the curves color or whatever and closes the dialog window. After this, the whole Report page is refreshed - wich takes up to one minute, depending on the amount of data displayed.
    The strange thing is, when I close the given dialog window, and while the report page is being refreshed sent DIAdem to the taskbar and open any other application window, the process of refreshing the screen takes only 1 second instead of 30 seconds.
    The question is: Is there a tweak to improve the speed how DIAdem refreshes the report page? Or is there any workaround other than switching applications during refreshing?
    Thanks a lot.
    Greetings from Germany
    Oliver

    Hello Oliver,
    The easiest way to speed up the graphics performance in Report with large data files (or 3D graphs with lots of nodes) is to turn off the "Data Layer" (German: "Datenebene") in the "View" menu (German: "Ansicht").
    That function basically turns off the display of all data in Report, but retains the axis systems, texts, etc., so you can still move them, place them and edit them without having to guess sizes. Once you're done with the report, simply turn the data layer back on and you're ready to create a PDF, print or save the result as an image file (JPG, BMB, etc.).
    I think the performance difference you described (1 vs. 30 seconds) is due to the fact that once DIAdem has drawn a page, it retains an image in memory and will simply draw that image when you bring DIAdem to the foreground (or maximize it). After any edits you make to the report (e.g. change the color of a graph), DIAdem redraws the complete page from scratch, which takes much longer then just re-displaying an image that has already been drawn previously. Someone from the DIAdem R&D team could probably do a better job explaining this, but I think this is the explanation for the time difference in drawing.
    Anyway, the "Data Layer" trick should hopefully solve your problem, let us know if that works for you.
    Greeting from Austin, TX.
    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."

  • Create a new curve in Graph module using vbs

    Hello.
    I am trying to get control over the curves in the Graph module of Diadem 8.1 using vbs. I can change the propoerties of the curves that have been already created, but it is not always the most appropiate. How can I create a new curve in the Graph module?
    I hope someone can help me.
    Regards from Mexico.

    Hi ingluiseflorest,
    The command you're looking for is "GraphObjNew()", which will work in your DIAdem 8.x version.  Here's an example from the DIAdem 9.1 help file:
    Call PicDelete()                            'Deletes all objects
    Call GraphObjNew("2D-Axis","New_2DAxis1")   'Creates a new 2D axis system
    Call GraphObjOpen("New_2DAxis1")            'Opens axis object
      D2AxisTop        =10                      'Sets position
      D2AxisBottom     =10
      D2AxisLeft       =10
      D2AxisRight      =10
      Call  GraphObjNew("2D-Curve","New_Curve") 'Creates a new curve
      Call GraphObjOpen("New_Curve")            'Opens curve object
        D2CCHNX          ="[1]/[1]"             'Defines x-channel
        D2CCHNY          ="[1]/[2]"             'Defines y-channel
        D2CurveColor     ="red"                 'Defines curve color
      Call GraphObjClose("New_Curve")           'Closes curve object
    Call GraphObjClose("New_2DAxis1")           'Closes axis object
    Call PicUpdate()                            'Updates report
    Cheers,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • How to put a Group property in a Curve Related Text label with Curve Expansion

    Hi
    I am working on a Graph which Plots a WaveFormChannel named "Test". Since I have activated the curve expansion, the graph shows all the Channels named "Test" within the DataPortal. Now I want to put the value of the group property "MyGroupProperty" in the legend, so every time I add a new group, automaticaly add the new signal "Test" and show "MyGroupProperty" in the legend.
    So far I tried to use the curve related text in the label option, with something like this
    @GroupPropGet(GroupNumber,"MyGroupProperty")@, but I have to give the value of GroupNumber, and then it shows the same value for all the signals. So If I add a new group to the dataportal with a channel Test, The legend will show the label of the new signal but, the MyGroupProperty remains as the same for all the labels
    Thanks in advance for your help
    Solved!
    Go to Solution.

    Hi dslemusp,
    You can use the global variable "CGI" in a DIAdem expression to supply the Current Group Index of the curve being plotted (even in expansion mode).  I prepared an example for you that shows this and attached it below.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments
    Attachments:
    dslemusp.zip ‏117 KB

  • 2D Axis Scaling Bug in Reports (DIAdem 2014)

    Hello,
    I've run across a rarther annoying bug in the 2D axis scaling for Reports.  Here's how to recreate it:
    Load a dataset that has x and y components.
    Create a new layout in the Report tab
    On Sheet1, add a Simple 2D Axis System.
    Select x and y from the dataset and drag it into the 2D axis system.
    Change the scaling mode from "Completely Automatic" to "Manual."
    Change the "Begin" number to something close to the default DIAdem has set.  Do not touch the "End" number.  Click OK.
    Add Sheet2 and repeat steps #3 thru #6 on Sheet2 with a different dataset.
    Both plots look good right now...
    Go to Sheet2 and double click on the chart to bring up the Curve and Axis Definition.
    Don't touch anything...just click "Cancel."
    After clicking Cancel, the scaling of the 2D axis completely changes.  I believe what happens is that DIAdem takes whatever the previous "End" number was and uses that instead of the "End" number you want.  Also, you don't actually have to go into the Curve and Axis Definition to create this bug.  Press cancel while editing anything like text (for example)...bye bye plot.
    Moreover, if I go back in and set the scaling mode back to Auto, click preview to refresh the plot, then switch the mode to Manual, everything looks good.  However, if I copy Sheet2, the plot on Sheet2_Copy1 is messed up the same way as if I hit Cancel but Sheet2 is OK.
    Worst of all, the undo function does not work on this unwanted scaling change.
    This is a bug that makes plots in the Report files almost unusable.  I hope this is re-producable on other systems so a patch can be issued.  Let me know what you find.
    The only workaround I've found is to click OK instead of Cancel, which isn't always preferred.
    Thanks,
    Jacob
    Solved!
    Go to Solution.

    Hello jrasco,
    You are right. This is a bug in DIAdem 2014. We fixed it for the DIAdem service pack.
    This is the link to the English DIAdem 2014 SP1
    Thank you
    Walter

  • How do I create a subaxis in DIAdem GRAPH using an autosequence?

    I am creating graphs in DIAdem REPORT using an Autosequence (3 graphs and text). This is to prevent anyone from changing the format of the report, which is why I am not simply loading an existing layout. My question is how do you add a sub-axis to a 2d Axis system? I can tell the curves in the axis-system that they belong to subaxis 2, but the subaxis doesn't exist so the curve is not displayed.
    How do I create the new subaxis?
    Thanks, Jeff

    Hi Jeff,
    Unfortunately this is a gap in our function set for GRAPH objects. I have been told by the developers that there is no VBScript-level function to create a Y axis programmatically. Your only option as far as I know is to have several copies of the same report layout saved off with different numbers of Y axes. As you accurately pointed out, once the Y axis exists, you can programmatically associate various curves with it or edit its properties.
    Sorry for the bad news,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Multiple X axes in DIAdem 9.1

    Is it possible to have multiple X-axis scales for a 2-D plot in DIAdem 9.1? 
    I have no problem with multiple y axes but I would also like multiple x axes as well.
    Thanks,
    Tom

    Hi Tom,
    Multiple X axes are not supported anywhere in DIAdem 2012, so that's a dead stop.  If you want to overlay multiple curves in VIEW that have different X values, you will need to rescale those X values.  If you're plotting waveforms, this is as easy as multi-selecting the set of N channels you want to change in the Data Portal and editing the waveform start offset property, which will make the property value change you entered once to all N channels selected.  If you have N Y channels that share an X channel, then you just need to rescale the one X channel once with the Linear Scaling function in ANALYSIS.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Working with DIAdem REPORT in DIAdem SCRIPT

    Hello,
    I am working with DIAdem 9.1 Advanced. I would like to create a report with a 2D graph object containing one curve (X,Y1) or (X,Y2). The user has to choose between (X,Y1) and (X,Y2) via a dialog box. I want to generate this report with a VBS script without loading a predefined TDR report.
    I tried the following sample code:
    '1. Load "Example.CSV" from the DIAdem DEMO folder
    '2. Load a new blank report
    Call GraphObjNew("2D-Axis","MyGraph") 'Creates a new 2D-graph object called -MyGraph- in the report
    Call GraphObjOpen("MyGraph")      
      D2AXISSYSTEM     ="one system"
    ' The user selects which channels he wants to plot via a dialog box
    ' If the channel "Sine" is selected, we need to create a new curve on the 2D-graph
    ' Do I need to create a new object for the curve? Which type of object ?
      Call GRAPHObjOpen("2DObj1_Curve1") ' ERROR -Object 2DObj1_Curve1 unknown or not open-
        D2CCHNX          ="[1]/Time"
        D2CCHNY          ="[1]/Sine"
      Call GRAPHObjClose("2DObj1_Curve1")
    Call GraphObjClose("MyGraph") 
    Call PicUpdate
    Is it possible in DIAdem to create dynamically a 2D-graph when we do not know before which channels will be plot?
    Thanks in advance for your answer.
    Matthieu G.
    Eurilogic, France

    Hello Matthieu
    Variable: ObjType
    The terms 2D-curve and 3D-curve are valid keywords for new 2D-curves and 3D-curves and the enumeration terms of the ReportObjType variable for all other objects.
    I attached some topic of the DIAdem 10 help that descibe some variables that correspond to this topic.
    The following script create a 2d-Axis system an a new curve and defines the data for this curve
    Call GraphObjNew("2D-Axis","MyGraph") 'Creates a new 2D-graph object called -MyGraph- in the report
    Call GraphObjOpen("MyGraph")      
      D2AXISSYSTEM     ="one system"
      Call GraphObjNew("2D-curve","MyCurve") 'Creates a new 2D-Curve object called -MyCurve- in the report
      Call GraphObjOpen("MyCurve")
        D2CCHNXNAME      ="[1]/Time"
        D2CCHNYNAME      ="[1]/Sine"
      Call GraphObjClose("MyCurve")
    Call GraphObjClose("MyGraph") 
    Call Picupdate()
    Hope this helps
    Winfried
    Message Edited by winner on 02-27-2006 11:54 AM
    Attachments:
    report.zip ‏18 KB

  • Chart type option in diadem

    Hi,
    Do we have type of chart selection in diadem as like in excel which has different chart types like line, XY scatter, pie chart. At present I need X Y scatter type chart for my data.
    For example I have data like below,
    X -  0,    0.1,    0.2,    0.3,      0.4,    0.5
    Y - 300,    0,   250,       0,       350,    0
    I need the graph starting from 300 and coming down to zero and again starting from 250 & coming down to zero and again starting from 350 & coming down to zero. There should not any line joining from zero to 250 or from 0 to 350.
    Is it possible in diadem.
    Regards,
    X. Ignatius

    Hi Igni,
    DIAdem REPORT has the most flexibility in its various curve styles, of which XY Scatter is one, but a Pie Chart is completely missing.  Most people mean by an XY scatter plot a graph of only markers.  It sounds like you're requesting some of the points be connected by a line but other points not be connected.  Is there a regular pattern to the connections?  Could you send a picture of what you want to see?  If I understand you correctly, then we can do this in DIAdem by adding a NoValue between any data point you don't want to connect with a line.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Using DIAdem, how to get the slope of a signal (Linear or non-linear​)

    Rate of rise or rate of fall on a temperature signal, I'm trying to include the slope in my report using DIAdem,
    I couldn't find , Is there a slope function?
    or a way to do that
    Thanks
    Solved!
    Go to Solution.

    Hi amat,
    You can get the slope fit calculation from the built-in function "ANALYSIS >> Curve Fitting >> Calculate Regression".  If you want to fit only a subset of the data, you will need to extract that subset of data to a new data channel and then run the approximation calculation on the new channel.
    Here is a script I have created to do the range extraction and statistics/slope calculation automatically.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments
    Attachments:
    Selected Region Stats.zip ‏5 KB

Maybe you are looking for

  • Lock/unlock and charging sound.

    Yesterday night at 12:35am my lumia 535 phone lock/ unlock and charging sound was not work. So can. I or you please resolve this issue.

  • Message Monitor List Empty

    Hello All, Working on MII12.1.6 Build 96, NW7.1 SP03 With my user name, I'm logging to MII on 2 different workstations, at the same time. 1st one is showing the messages received on the defined listeners in the Message Monitor. 2nd one showing "No da

  • Alternative Reconcialtion account while doig the MIRO

    Hi All, One of the cleint required alternative Reconcialtion accoutn while doign the MIRO. Scenario like this there is one Vendor 'A' used supplies Raw material and Serives to company. Business is not intrested to create new vendor. But they needs di

  • Can I lock my 6th generation ipod nano whilst listening to it as it keeps switching off if i knock the sleep button

    can I lock my 6th generation ipod nano whilst listening to it as it keeps switching off if i knock the sleep button?

  • Web Service & XML

    Hi all. Somehow I am not able to run my web service...here is the invoke page my code. <cfinvoke webservice=" http://bt2bcm:8500/comp.cfc?wsdl" method="myFunction" returnvariable="aString" > <cfinvokeargument name="url1" value="Hello"/> <cfinvokeargu