Graph plot in labview to get time in seconds or minutes in X axis starting from 0.

How can we obtain time starting from 0 seconds or 0 minutes on X axis in a chart and XY graph in labview.When I plot it is showing the system time on   X axis.I would prefer the time to start from 0 ( seconds) , rather than system time.Please reply.

I have NI cDAQ 9174 chasis and NI 9211 and NI 9207 for thermocouple (NI 9211) and current (NI 9207).Can I acquire all three data inputs within a single DAQ Assistant express vi.Because I tried to access all 3 in one DAQ Assisstant , but it was not accepting it.So I had to place one DAQ Assisstant for thermocouple readings and another for current.For reference I have attached my labview diagram.
Attachments:
rktr3.vi ‏218 KB

Similar Messages

  • I created an album and have been showing it presentation style, ken burns effects etc. Now every time I try to re-run it it starts from the end, last picture first! Can't seem to be able to reverse it. Any clue anyone?

    I created an album and have been showing it presentation style, ken burns effects etc. Now every time I try to re-run it it starts from the end, last picture first! Can't seem to be able to reverse it. Any clue anyone?

    First try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
    User/Home/Library/Caches/com.apple.iPhoto folder (Snow Leopard and Earlier).
    or with Lion, Mt. Lion or Mavericks delete the contents the User/Library/Containers/com.apple.iPhoto/
    Data/Library/Caches/com.apple.iPhoto folder.
    3 - reboot, launch iPhoto, reset iPhoto's preferences and try again.
    NOTE: In Lion and Mountain Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and press the Return key - 10.7: Un-hide the User Library folder.
    If you're running Mavericks, 10.9,  go to your Home folder and use the View ➙ Show View Options menu to bring the this window:
    where you can check the Show Library Folder checkbox.
    Next, if necessary, continue with the two fixes below in order as needed:
    Fix #1
    1 - launch iPhoto with the Command+Option keys held down and rebuild the library.
    2 - run Option #4 to rebuild the database.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button and select the library you want to add in the selection window..
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the Library ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • Please help me get time by seconds duration

    Hello dear friends.
    I have duration of the procces in seconds in table column, but I need show this duration in regular format like this: 00:00:00.
    Examples:
    13 (00:00:13)
    65(00:01:05)
    I know that I can write function, but may be somewere this function exist, or anybody have written this function.
    Thanks.

    Assuming the format you showed is how it is stored (the HR:MI:SS) in your table as a VARCHAR2 and not DATE, then this code would appear to do what you asked, except it just needs to be put within a function wrapper:
    SQL> create table x (secs varchar2(8));
    Table created.
    SQL> insert into x values ('02:20:05');
    1 row created.
    SQL> commit;
    Commit complete.
    select to_number(substr(secs,1,2)) * 60*60 +
           to_number(substr(secs,4,2)) * 60    +
           to_number(substr(secs,7,2))         ||
           '(' || secs || ')' SECONDS
    from x;SECONDS
    8405(02:20:05)
    Bob
    Message was edited by:
    psalms1

  • Excel time is current, how do I have it start from zero

    I am sending time and temp data to excel.  I want the time to show elapsed time instead of current time in decimal form.  Right now the time displayed is the current seconds that the actual time is when I start the program.  How can I get the time to start with zero everytime?
    I want it to look like this:
                                0.000    21.233
                                0.250    21.256
                                0.500    22.001
                                1.000    21.563
    Thanks for your help!
    Kenny

    Will you take a look at this set-up?  I am getting the data I want, but the columns and rows are messed up.
    0
    0.25
    0.5
    0.75
    23.29717
    0
    0
    0
    22.92344
    0
    0
    0
    23.29717
    0
    0
    0
    21.86387
    0
    0
    0
    This is what I'm getting can I make it give it to me like:
             0           23.29717
             0.25      22.92344
             0.50      23.29717
    Attachments:
    elapsedtc1.vi ‏132 KB

  • Display Data on waveform chart or XY graph over a long period of time

    Display Data on waveform chart or XY graph over a long period of time
    Can anyone help?
    I am acquiring data from an Ni DAQ card with the following parameters - sample rate = 12800, number of samples = 4096. I want to extract order information so as to track changes in the amplitudes of certain frequency harmonics. So I use the sound and vibration toolkit to extract this information as shown in the attached Vi.  I will like to plot the resulting amplitudes against real-time starting at the time the Vi was run.  I really want the display to show these changes over long periods (eg. days, months and even years).
    Problem.
    I have tried to plot the Y component of the resulting magnitude for a given order on a waveform chart. My choice of the waveform chart is because I also want to display  alarm limits (using the mask and limit vi) (I can't have these lines displayed on an XY graph plot).  I tried adjusting the scale offset using the property node and setting the offset to current time. However, the display on the X-axis can only show a span of  2 minutes as will be seen when you run the attached vi. I want the time display on the x-axis to be over a period of  days, months  and even years.  Is there a way to set the maximum scale on the x-axis to be say a year or so in future.
    I really want the display to be like the one in in the second attachment.
    Attached is a sample VI created using an Ni USB 9234 DAQ card. Any card will do but I am only getting the signal from one channel for this example
    I will appreciate any help that can be given to me.
    Thanks
    Attachments:
    Real-Time Graph Display.vi ‏170 KB
    Sampe screen1.doc ‏37 KB

    Long term testing can be tricky- and we'l get into that later.  Lets start with the basics that you have wrong.
    The vi as you have constructed it has only one memory element, the chart history length (default is 1024.)
    You can change the number of points the Chart will remember by Right-clicking the chart an select Chart History Length from the menu.
    But for a long term test - and one where you want to REMEMBER the first value you need a memeory element that is independant of the application.  Your PC WILL loose power or need to be rebooted eventually.  Heck it might even need to be replaced! you really need to store your data in a file. Preferablly in a file that is backed-up on a regular basis so you don't lose every point of data if the PC dies.  It realy hurts when you have to restart a 2yr test because you've lost the 18months of data you collected.
    For an application like this I would seperate my "collection" and "Evaluation" operations. 
    Have one vi that takes the reading and writes it to a file at a configurable rate  You may want 1reading  per minute for seveal days then 1 per hour for a few weeks- then maybe only once or twice a week for the next couple of years since you are looking for LONG TERM stability.  having too much data to evaluate can take a lot of digging to find the few things that interest you (but always take more that you think you need)
    Have another utility that COPIES the files, reads them and displays the data you are interested in that day.  The data you want to look at won't change over time HOWEVER, you WILL want to analize it in different ways depending on what the data trends look like.  Having seperate routines for collection and display allows you to update the display style and analisys without even stopping the collection vi (much less editing the vi)
    Jeff

  • Graph plot with time stamp

    Hello All,
    In my attached VI I am facing some issues.
    My loop rate is 100ms and in chart plot data is not appering as per the x-scale(Time stamp). Values are just plotting in the chart without time. I am trying to implement a graph program that should show values according to time loop rate can be different. 
    In attached VI I have chart and XY graph both. Please have a look and suggest me the valuable modifications.
    Thanks and Regards
    Himanshu Goyal | LabVIEW Engineer- Power System Automation
    Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
    It Only gets BETTER!!!
    Attachments:
    Graph.vi ‏14 KB

    Hello Ben,
    Thanks for your valuable inputs.
    I don't have waveform data from the field, its only RS232 communication and each and every 100 ms interval I am getting only one value from the device. Now in current program I am using the chart function. But the value(Y-Axis) and the time(X-Axis) sync in not proper. To avoid this i am planning to implement this using XY Graph so I develop this sample VI. Here if you browse and observer in the code I have both chart and XY graph, in chart you can see my current implementation. If you run this code for few seconds you will get some difference in Y-Axis and X-Axis values plot time difference.
    Now If I am talking about XY graph on X axis I can send my system time with the field value to avoid this chart issue. (I am trying to implement same in XY Graph)
    Today I achieve the target by done offset and some chart property settings. Now I am looking for same in XY Graph.
    Thanks and Regards
    Himanshu Goyal | LabVIEW Engineer- Power System Automation
    Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
    It Only gets BETTER!!!

  • How do I make an XY-Graph plot points over time?

    I am building a program to plot and take data of a relationship between two voltages.  One is voltage is uniquely dependent on the other.  So far I have successfully built an XY-Graph to plot the voltages against each other (Voltage1 along the x-axis and Voltage2 along the y-axis).  However, the XY-Graph only diplays the point (V1, V2) at the instantaneous time I am looking at it, and does not continuously plot different points as I vary the independent voltage.  I need the graph to display all the points that occur as I vary the independent voltage.  As of right now, all I see is one little cursor that moves all over the graph as I vary it.  My program consists of a While Loop that contains all of the following:  two seperate data anolog input functions that take both voltage separately from my board.  The the output samples from each 'AI Sample' function are then bundled into one cluster using the 'bundle' function.  The cluster output from the 'bundle' function is then wired to a 'build array' function.  The 1-D array output from the 'build array' function is then wired to my 'XY-Graph'.  How do I get the XY-Graph to plot a point every millisecond or so?

    Bundling and then using the Build Array is not correct. Yuo can see the correct method in the help for an XY Graph below. In order to use the normal XY Grpah, you would have two shif registers. One for the X array and one for the Y. Bundle the two arrays and then wire to the graph.
    The other way is to use the Express XY Graph. With that, you can just wire your scalars to the X and Y inputs and set the Reset input to false.
    Message Edited by Dennis Knutson on 11-12-2007 06:32 PM
    Attachments:
    XY Graph 1.PNG ‏21 KB
    XY Graph 2.PNG ‏6 KB

  • How to let the user define the colors for each plots in the graph (I use LabVIEW 7)?

    How to let the user define the colors for each plots in the graph (I
    use LabVIEW 7)?

    Hi,
    Take a look at this example, it uses property nodes to select tha
    active plot and then changes the color of that plot.
    If you want to make the number of plots dynamic you could use a for
    loop and an array of color boxes.
    I hope this helps.
    Regards,
    Juan Carlos
    N.I.
    Attachments:
    Changing_plot_color.vi ‏38 KB

  • I'm trying to set up a DAQ assist just to measure some voltage, how do i get the graph to start from 0 (time) every time I press run

    Hi all,
    I am trying to set up a simple DAQ assist to measure some voltages (currently a 9 volt battery to aid set up), when choosing to use a waveform chart to log the voltages the graph doesnt start from 0 (time seconds) how do I do this and get it to reset every time I press run or even stop.
    What I want to see at the end is a chart for the full lenght of the test showing voltage against time in seconds.
    Any ideas peeps
    many thanks
    Shane

    Hi Shane,
    Look at this VI
    Here, I clear the chart before running the VI, using a 'history data' property node ( i pass an empty array to clear it)
    In effect, each time you run the VI, the chart will begin at 0:00
    Hope this helps
    Regards
    Dev
    Attachments:
    chart_start.vi ‏20 KB

  • Getting time expired error in labview while getting screen capture

    Hello,
    I have to capture a screen shot for Agilent's Spectrum analyzer, ESA series. But Whenever i run the program i always get time expired before operation is completed. I am attaching the program and also screen-shot of program. If anyone can solve this problem i would be very glad.
    Thanking you all...
    Pals
    Solved!
    Go to Solution.
    Attachments:
    PSA Screen Capture via GPIB.jpg ‏39 KB
    VISA Read Binary Block Data to File.jpg ‏48 KB
    PSA Screen Capture via GPIB.llb ‏91 KB

    Hi, 
    I tried to increase the time out but it didnt work. i am trying to read 1 byte at a time... So is it ok?
    Thanks so much....
    Attachments:
    PSA Screen Capture via GPIB.jpg ‏39 KB
    VISA Read Binary Block Data to File.jpg ‏48 KB

  • How can i remember array, a using after next time in graph plot

    Hello i have a two graph , first graph case 'AF' consist with 3 arrays a second graph case 'BF' consist with 3 arrays + i need arrays of case 'AF', how can i do it? I have attached example.
    Thanks
    Attachments:
    0408 (16A) v jednom CASE.vi ‏398 KB

    Hi,
    If i have understood you right, you want to save the AF graph plots.
    am i right? if not plz correct me.
    If i got u right, the simplest is to build a 2 D array by merging your 1D arrays and write to spreadsheeet file.
    Now, you can read it whenever u want and display on the XY graph.
    hope this help, if not, plz eloberate on what you are looking for.
    Regards
    Dev

  • How to generate an s-curve graph/chart in labview

    I would like to generate my s-curve shape in a visible graph in a labview vi. Are there any quick/dirty vi's that can take position, accel/decel, vel and jerk value, and plot this into a time graph? Something akin Motion Assistant...
    I am able to construct a trapazoid graph using basic algebra within lab view, but cannot find a good formula to compute an s-curve. I am familiar with converting the jerk value to actual counts/s^3, but from there on, I do not know how NI-Motion calculates to accel, decel and velocity times. Thanks.

    Hello,
    What versions of LabVIEW and Motion Assistant are you using? Motion Assistant 1.2 exposes its API to LabVIEW and these functions can be accessed by opening LabVIEW and navigating to All Functions >> NI Measurements >> Motion >> Motion Assistant. Using these VIs, you can set up a move and use the Get Move Profile VI to obtain an array of points for the velocity profile.
    Beyond this method, there is no straightforward way to obtain those datapoints.
    If you have any questions about this method, please let me know.
    Regards,
    Scott R.
    Applications Engineer
    National Instruments

  • How do I update a waveform chart with multiple plots one point at a time?

    Hi,
    I am updating multiple plots one point at a time.  That is, every time I update the chart I have a value for one of the plots.  If I put in a cluster with NaN for each of the charts except the one with the data I can only get individual points on the chart.  I would rather have them connected.
    Any clues?  The only thing I can think of is to delay the update and do interpolation between samples - too complicated for me.
    Thanks

    Are the points within a given plot equally spaced in time?  If so, perhaps you need to maintain your own history of the data and used a waveform graph rewriting the history data to the graph each time.  If the points are unequally spaced, then you will need to do it as an XY graph.

  • How do you update an intensity plot one element at a time?

    I would like to use an intensity plot (or other control) to plot data collected from A/D channels. How do you get the Intensity plot to update one element at a time vs. row by row? Tips and suggestions greatly appreciated!

    > I would like to use an intensity plot (or other control) to plot data
    > collected from A/D channels. How do you get the Intensity plot to
    > update one element at a time vs. row by row? Tips and suggestions
    > greatly appreciated!
    >
    You will need to use the intensity graph and keep the buffer yourself.
    Init the data with background values and start filling then in using
    Replace Array subset. Presumably you are in a loop. Recirculate the
    data in a shift register adding new data each iteration and plotting the
    array to the intensity graph.
    Once you get to the horizontal edge, you need to decide if you split the
    data to get rid of the first row and append a new background row to the
    end making a strip chart, or do you clear the array and start over from
    the initial edge again making a scope chart, or do you mod the index
    with the buffer size and erase a row at a time in advance making a sweep
    chart.
    To update the scales, you don't have to change the data. Just write to
    the Offset property each time you scroll and it will relabel the data
    with 0 mapping to the offset value.
    Greg McKaskle

  • 3D graph plot properties - cannot be changed

    Hi all,
    I still cannot change the plot properties of the 3D graph.  I open the Plot Properties tab up and it gets stuck on the first page.
    This means that I cannot release any VIs which use the 3D graph - a big problem.
    Has anyone else experience this?  What do you suggest to fix it.
    Thanks,
    Battler.

    I have experienced exactly the same behavior (can not change 3D graph plot properties) with 3D plots (scatter and surface) in LabVIEW 2011.  The 3D plot properties page works correctly at first but then fails to switch pages after larger data sets have been loaded to the graph.  For example, my scatter graph contains 13 plots, each with 320 points of data.  Once the page "gets stuck" it is stuck for all 3D graphs until the offending graph is deleted and re-created.  To reproduce this issue create at least one 3D plot with a large number of plots in it.
    On a related note, if there was a programmatic method for deleting plots from a 3D graph then it's possible that this issue could be worked around.

Maybe you are looking for

  • Problems with repainting in new JD 9.0.4.0

    I just installed new JD 9.0.4.0 . I think that from this moment I have problems with painting java graphics objects (for example Application Module tests or simple login dialogs). When I move that window, its remains are left on the screen until I ov

  • Blue screen with cursor at boot. And everything after that.

    Dear Forums, (Please note, I'll refer to the machine as a Server, but it is only using 10.4 client; I am merely using the Sharing capabilities of such). I have a MDD G4 that I'm using as a server. When I start it up, I get the Blue Screen with Cursor

  • Deleting old data won't reduce Windows Azure SQL Database usage

    My Windows Azure SQL Database usage keeps increasing. Deleting old data didn't help much. I was wondering how to figure out the distribution of the usage. All tables in my DB should not occupy more than 5GB and now it is most 12GB. Please help! http:

  • Issue in SOAP PI  Scenario(With Load Test)

    Hi all, we are in the middle of load testing, Scenario: SOAP> PI.... here are the findings, 1. when the size of the xml is for say upto 60 line items, the message gets to PI and gets processed. 2. when the size of the xml is for 100 lineitems , the m

  • Adobe reader X, internet exporer 9 and windows 7.

    I have installed Adobe reader X, internet explorer 9 an windows 7 on my computer. I want to view a pdf file from the net and I get a message "Cannot find adobe Reader". What can be done to fix this? I have tried re-installing, look for plug-ins, sear