XY-graph, 30 minutes constant real time interval

I want to create an XY graph with a time interval of 30 minutes. Minimum X-scale range should be the time the program starts and Maximum X-range 30 minutes from startingpoint. Example: Starting the program 10:00: The graph should be scaled from 10:00 to 10:30, no autoscaling. After 30 minutes i want to start from 10:30 to 11:00.
Anyone know how to do this?
Solved!
Go to Solution.

Right click the XY-graph and play with properties and you should be able to achieve what you want.
Below is the programmatical approach to do all that.
Also atatched is the code for the same (saved in version LV 2012).
I am not allergic to Kudos, in fact I love Kudos.
 Make your LabVIEW experience more CONVENIENT.
Attachments:
XY Graph with properties.vi ‏8 KB

Similar Messages

  • How to plot bar graph in the real time?

    Hi guys
    I have n row and 3 column array, n will vary according the time, for example t=10ms, n=1;t=20ms, n=2;..., I would like to display all the data of the array in the bar graph  in real time. I tryied with example "array to bar graph demo.vi" but very time, only one row was displayed.
    Could anybody help me?
    Many thanks. 
    Sorry I don't know how to capture the picture from VI, so I pasted it diagram to word document.
    Attachments:
    question.doc ‏240 KB

    Where did you get this example. I can't find it listed in the current shipping examples.
    Also, posting a small image of a section of a block diagram is not much to work with. You are using local variables and a sequence structure. Neither one is a good sign. If you would simply post the actual VI (and any subVIs), it would be much easier to see what you mean.

  • BAM : define graphs in a specific time interval

    I working with 11g.
    in BAM I want define graphs of event in a specific time interval
    Example : Show graphic of last 30 days
    Someone can I tell me where I found specific documentations
    Thank
    Elena

    Check out this tutorial: http://www.ni.com/example/31410/en
    It should get you started.

  • I would like to see the time in a waveform graph (real-time​)

    i need the x-axis of the waveform graph to show real time (from the computer clock). I have made a program with all the example. He read and log data when the chosen time has elapsed. the program work's well...but i dont't know why the x-axis blink every time he draw a point
    i can see two x-axis in the same time.
    i give you a picture of one of a part of my program, i hope someone can help me
    Attachments:
    my_software.JPG ‏128 KB

    Hi,
    I tried to reproduce what you were getting by building a simple VI but I havent had much luck (I have attached the VI).
    Could you post your code so that I can take a look at it?
    Feroz P
    National Instruments
    Attachments:
    Graph.vi ‏39 KB

  • LMS 3.2 real time graphs

    Hi Guys,
    Can somebody tell me how to set up the following in LMS 3.2 running the latest version of various modules like RME, CS etc.
    1. Real time graphs. If I am monitoring 100 switches in LMS, to be able to display reachability status of 100 switches in a graph (say refresh interval of 5 mins)
    2. When a switch goes down, to generate an email.
    TIA

    You can't view syslogs in real-time through LMS.  You can run reports within RME to view them once they are stored in the RME database.  This is done under RME > Reports > Report Generator.
    LMS is not a general purpose trap receiver.  The DFM application does receive and process SOME traps.  Instead of traps, DFM primarily relies on polling to build its fault events for devices.  These can be viewed in real time under DFM > Alerts and Activities > Alerts and Activities.

  • How to display on the graph three or more waveforms where time scale is not an index of array but a real time

    How to display on the graph three or more waveforms where time scale is not an index of array but a real time:
    I measure three voltages Va, Vb, and Vc on my Test stands every 3sec. So I’m building four arrays (Va, Vb, Vc, Time) and combine all in one.
    Time
    Va
    Vb
    Vc
    0
    5
    3.5
    2.8
    3
    4.9
    3.6
    2.9
    6
    4.8
    3.8
    2.1
    Now I need to show on the graph in which scale X is “Voltage” and scale Y is “Time”.
    How can I do it?
    Thanks a lot,
    Boris

    Hi, thanks all your reply.
    You may find "points_to_bar_graph.vi" from this website, I find it by this way.
    I will ask a stupid question: I don't have any photo processing software, how can I save the vi into a picture format?
    So here I just paste it into word document.
    Attachments:
    question.doc ‏520 KB
    points_to_bar_graph.vi ‏62 KB

  • Trouble getting a subvi to update a graph in real-time on the front panel

    Hi All,
    First post here, so play nice =). I am trying to update a graph on the front panel from within one of my subvis, however it does not update it in real-time. It will only show the completed graph after the subvi finishes running. I have tried to use references/property nodes and I have also tried using my chart as a global variable, but neither of those methods have worked (I am probably doing it wrong). Can anyone provide a detailed walk-through of how to do this using either one of those methods? Or perhaps even a different method?

    ModusPwnens wrote:
    This is how you do it, right?:
    Try this for a quick demo of the reference method:
    Create a VI as shown in the image.
    Select only the while loop and do "edit...create subVI" (as shown). (you will get a subVI that contains the needed connectors and is alread wired to the reference)
    Run the main VI, and the chart will update every 200ms.
    Note that this is only a draft and many things are missing. (For example, the subVI cannot be stopped at the moment. Also, you want a graph, and not a chart.)
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    updateViaSub.PNG ‏32 KB

  • Plotting a graph in real-time without reading from a file

    Hello there.
    I am trying to plot a graph. I have succeeded in plotting the graph by first writing the data to a text file (.TXT), then reading from that text file.
    However, I feel this method will take up a lot of memory. Thus, I was wondering whether it is possible to plot the graph directly without first writing it to a text file.
    Thanks a million.

    You can use a while loop with a shift register, inside the while loop, put a case structure, and in it, your data aquisition vi. When you get data, use the shift register to append data to the array, using build array (the shift register will go in as an array, and data as an element) just execute the appending state when data is present, and you'll have a real time graph.
    Hope this helps

  • Real time waveform graph in while loop

    Hi
    I have a VI which includes a subVI that reads data from an oscilloscope and presents the output in the form of a cluster made up of the initial time t(0), a time interval delta t and an array of voltage readings.
    This cluster can then be wired to a waveform graph in the usual way. All of this is situated within a while loop in my VI and on each iteration of the loop I obtain a waveform graph of the voltage readings starting at the same time t(0) and ending at the same time t. However I want my graph to begin at a time t(0) when I set my VI running and then continuously acquire and build up the data on each iteration of the while loop so after my VI has finished executing I have a complete graph of all the voltage readings acquired after the set number of iterations of the loop. I know on the Express X-Y Graph VI you can double-click the node and deselect the box that says 'clear data on each call' - if I could do this in my case that would be great but I can't use an x-y graph because I have an array of y-values to plot on each iteration.
    If anyone can help me out it would be much appreciated - I'm sure there must be an easy solution to this but I'm going out of my mind trying to find out what it is!
    Many thanks,
    Bex.

    As usual, you have several options.
    You can use an XY Graph by generating the X values yourself. This will ensure that you place the data exactly where you want it on the X axis. This is fast, but does involve a memory cost.
    You can use a Waveform Graph with a waveform input instead of the cluster you are using. Use the Build Waveform primitive instead of the bundler to make your waveform. Set the t0 values to the appropriate values (negatives do work, as do small numbers - time is in seconds, use the To Time Stamp primitive to convert from DBL to timestamp). Finally, you need to set the Waveform Graph to use the t0 values. Pop up on the Waveform Graph and make sure Ignore Time Stamp is not checked. Depending on your version of LabVIEW, you may have to pop up on the graph or the axis. When you unselect Ignore Time Stamp, you will probably want to reformat the X-axis again. The Waveform Graph clears data at each iteration, so you will need to replot all your data each time. Just create an array of waveforms and keep adding to it. The t0s will put the waveforms in the right places. Yes, this may cause memory problems.
    Finally, you can use the Waveform Chart, which does have memory. Create the waveforms like you did for the Waveform Graph and send them to the chart. It will remember what was sent to it from run to run. Make sure you set the Chart History Length (pop up on chart and select Chart History Length...) to long enough to hold your entire data. You can use a property node to get the data back at the end, if you need to.
    Good luck!
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Waveform graph x-axis into real time recording

    Hey there,
    I have acquired voltage off a LVDT through the DAQ assistant and connected it to a waveform graph. However, the x-axis says its 'Time' but its got the white line running across it even though no time has elapsed and the time itself has funny units to it. What I need on the x-axis is real time so that I can see the line register from left to write as time passes by. I have tried a few things like connecting the DAQ to a chart graph but it doesnt have the log graph which I need. I have also fiddled with the XY graph by connecting the DAQ assistant into the 'Y Input' but I am not sure how to input time into the x input.
    If someone could help me with this problem, it would be much appreciated.
    Thanks,
    Gurung 

    Hi Gurung,
    what do you expect here? Wire waveforms to a chart:
    (DAQmxRead settings: n channels, n samples, 1D array of waveforms)
    For learning the basics you should
    - examine the examples coming with LabVIEW
    - go through the Basics course on NI website
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • 2 real-time plots + curve fits on the same x-y graph

    Hello all-
    Per the title, I'm trying to plot two series, both in real time, plus curve fits for each series on the same x-y plot.  Some background on the subject - this will be used to show the temperature distribution across a counter-flow heat exchanger.  So the x-y plot will plot temperature vs. position for two different flow streams - a hot flow stream, and a cold flow stream.  I would like to plot them both on the same graph so the temperature relationship between the two flows can be clearly seen.  If I can plot 2 series with simple lines connecting the points that would be fine, but would prefer some smoothing on the line or using a curve fit if that is possible to do in real time.
    A screen shot of my block diagram is linked below.  As you can see, the diagram is symmetrical with the inputs from the cold flow being processed on the top, and the inputs from the thermocouples in the hot flow being processed at the bottom.  I've got 2 issues:
    1.  Plotting 2 series on the same X-Y graph in real time.  (I've done this before, but never in real time).  Am I correct in assuming, if I append the array so it is a 3-D array (X, Y1, Y2), that I can plot both series on the same X-Y graph?  The individual X-Y graphs are functional, but I would like to combine them.
    2.  I've circled a bundle output which outputs the X,Y values of a curve fit.  The output here is a string (pink wire), so I cannot plot it on the X-Y graphs which are shown, due to it being 2 different data types.  Is there any way to plot the curve fit on the same graph?  Is LabVIEW capable of doing this in real time?
    Thank you for any help...   I realize that some of the answers here may be obvious, but visualizing what's going on in LabVIEW is a bit of a challenge for me, since I'm used to seing text-based code in VBA and MATLAB.
    Attachments:
    HX Block Diagram 2.jpg ‏302 KB

    The output you have circled is a cluster of two 1D arrays, not a string.
    XY graphs take a varirty of inputs (array of points, cluster of x and y arrays, complex arrays, etc.) but you cannot mix datatypes in a single graph. Since you are graphing arrays of points (a point is a cluster of an x and y scalar), you need to do the same for the data you circled. Simplest would probably be to just wrap an autoindexing for loop around the bundle function. See how far you get.
    If you want detailed help, please attach your actual VI. We cannot debug a picture.
    LabVIEW Champion . Do more with less code and in less time .

  • Real-time updates of an XY graph with a 2D array (x,y) inside a for-loop

    Hi all,
       I am new to this forum, and relatively new to LabView (I've used TestPoint in the past), and I have a question. I have implemented a for-loop to grab data from an LCR meter (via GPIB) which becomes the Y data. The X data is calculated and tunneled into the for loop (although varies with incrementing 'i'). Anyhow, I am trying to store all of the data and keep the user updated throughout the test by plotting the XY Graph each iteration. Right now, the XY Graph plots one point at a time, so somehow the data I am appending to the 2D array (x,y data) is getting overwritten each itteration. How can I make it so that each new point is added to the array, making it bigger so that the data will be saved and so that the user will be able to see all the data in real-time on the graph as the test in running?
    Thanks
    P.S. I would post a screenshot, but I'm not sure how to upload here.

    Hey Mendeleev3104,
    There is an attachment section at the bottom of the post when creating or editing a post. You might want to use that to attach a picture of your code.
    None the less I will give a shot with some suggestions without viewing your code.
    You should look into using shift registers along with the Insert Into Array.vi to build an array of numbers. A good source of information for shift registers can be found in the For Loop and While Loop Structures help.
    Hopefully this helps!!
    Aashish M
    Applications Engineer
    National Instruments
    http://www.ni.com/support/

  • I want to be able to tweak the graphic equalizer in real time while recording - and have this have the audible effect written to the recording.   At the moment i have to go into post-production and manually set the graph equalizer at various time points .

    i want to be able to tweak the graphic equalizer in real time while recording - and have this have the audible effect written to the recording.
    At the moment i have to go into post-production and manually set the graph equalizer at various time points ...

    This won't be real-time as you record, but you could tweak the EQ in real-time after the recording thus:
    Record what you want to tweak into GB with no effects.
    Solo the track and output it into something like Audacity.
    Start Audacity recording, then play your track in GB as you make those tweaks. That's what Audacity will record.
    Get that file from Audacity and put it into GB, then you'll have that effect.
    Sorry if it's complicated, but that's what came to mind. Hope it works.

  • 3D real time voltage graph

    Hi I'm a beginner at Labview.
    I'd like to plot a real time contour graph from voltage readings from 4 diodes which is obtained via the DAQ. The x-y coordinates are the coordinates of the locations of the diodes while the z coordinate is the (current) voltage measurement of each diode.
    I've already splitted up my location coordinates into x-vector and y-vector. I've tried to wire my latest readings values into the z matrix, however I received an error about the different data types.
    Any idea how can I plot a 3D real time contour graph?
    Ps. With the exception of the 3D graph, everything else works prefectly.
    Attachments:
    voltage array 2 - Copy.vi ‏122 KB

    jsp6 wrote:
    Hello,
    I'm trying to view the voltage measurements in real-time chart. (Labview2012 and I've connected 2400 sourcemeter with my laptop by using GPIB-USB-HS)
    My question is, how can I increase the chart update rate? Say, how can I increase samples/second rate?
    Here is the screenshot of my chart -> . Its update rate is quite slow and I dont know why the voltage measurement takes time to settle back 0V (notice the descending slop after the voltage pulse).
    I'm using labview to measure a voltage pulses. So I need fast-response chart that looks like this -> .
    I'm very new to Labview. Please help 
    I'm attaching the vi
    Are you sure they're the same timescale?  The LabVIEW shot sure looks like a time-stretched version of the display photo...
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • What is a fast way to drive a HP53132A counter to do real time, "time interval" measurements?

    Right now I run my system on a simple PCI GPIB bus. The fastest I can the time interval measurement is at 100 Hz. However, the has 350 ns timing and the PC running the program is much faster than this. So I should be able to achieve a rate of at least 10 kHz (depending on the counter of course). Do you have any suggestions for the way to set up the counter for the fastest measurement?

    I think that you're running into a limitation of the counter itself. My manual for the 53131 says that it can can do a maximum of 200 GPIB measurements per second. I think that the 53132 is similar except for extended resolution. What you might try is the STATS mode where you command the counter to take a number of measurements and then calculate the statistic. It is generally fster to let an instrument do a series of measurements and accumulate the results than to try and transfer one measurement at a time over the GPIB bus. VXI, PCI, PXI instruments can do things a lot faster so that might be an option as well. You should also be aware that your rate of 10 kHz requires timing resolution greater than what is in a PC (a PC has 1 msec resolution at best a
    nd it's not deterministic at all) so if you need something accurate, you'll have to use external hardware timing.

Maybe you are looking for

  • How can I register My iPhone?

    *How can I register My iPhone?* *Accidently I was click in the "NEVER REGISTER" button when My iTunes start up.* *Now I'd like to register My iPhone. But how I can get that resiter screen?* *Thanx for your attention.* Chris

  • Edit template.fmb to incorporate my custom forms

    Hi guys, I have created 2 forms on my win xp workstation using Forms 6i Builder, both of which work fine. Now i want to install them into the oracle application on our server (which runs on linux platform). Copied template.fmb, appstand.fmb, the libr

  • Pages as attachments

    Any explanation as to why all my Pages documents get zipped when attaching them to email?

  • Adapter Module Error Log

    Hi all, I am doing an IDOC to File Scenario. In the File adapter i am using the Module tab to configure the file adpater to call conversion agent service(CMTransform Bean). When there is any error while processing the bean in adapter module the error

  • Connect to Oracle 8.1.6

    I need to connect to an Oracle database version 8.1.6. (TCP/IP). Documentation recommends using SQL*NET 2.x but this does not appear to be available online. SQL Developer can only connect to database versions 9.2 and up. Anyone know what I need to co