Relative-time waveform creation

Hi,
   I have read a bunch of posts, and people kind of kept suggesting, but none works.
  Question is simple, and is caused by the new "t0" components introduced in labview, I guess from 8.x
 So, I have big good, which is already using waveforms, so forcing the usage of old waveform, doesn't really work: I would have to change everything,
   Now,
   In simple terms,
   Suppose we have waveform1, which starts at zero with dt0
   waveform2, which starts at t0_2 with dt0
   waveform3, which starts at t0_3 with dt0
   t0_2 and t0_3 are just doubles: suppose to_2=10, t0_3=15      ...    (they are in seconds)
now I want my graph to provide them as signals
1:starting at zero
2:starting at t0_2
3:starting at t0_3
   I can't just use some formatting to kind of simulate the numbers, because all sort of stuff like cursors, and other programmatical graphics are already shown in the graph.
I tried, pretty much all components on waveform/time stuff, but couldn't find something compatible, to force the t0 to start from 0, 10, 15
so, if you had any idea, would you mind verifying it fast in LabVIEW?
Thank you very much,
Best,
Morteza

You could take a look at this example.  This example uses the same t0 for all of the graphs, but you should be able to change it and go from there.
Brandon Treece
Applications Engineer
National Instruments

Similar Messages

  • Reset waveform chart relative time

    Hi all
    I created a wavefrom chart that starts from a relative time of 00:00:00 when the vi starts and display the waveform versus the time elapsed since the vi started.
    I did this using an example that i found in ni forums by subtracting the current relative time from the relative time of the waveform as seen in the block diagram attached  
    when i stop the vi and start it again normally it starts again from zero and so on .
    the problem that i want the chart to start from zero every fixed amount of time (ex: 50 seconds ) and not require to stop the vi and start it again in order to start back again from zero !!
    I've been thinking about how to do this for a lot and i tried a lot of things but i couldn't ,does any one have an idea on how to do this ?
    i have a feeling that the solution will be simple to a lot of people ,but please forgive me coz i'm new to labview and its my first project using it 
    Thanks in advance,
    Regards
    Shady
    Solved!
    Go to Solution.
    Attachments:
    block diagram.jpg ‏48 KB
    Chart with DataTime Beginning from zero.vi ‏21 KB

    shadyman wrote:
    Ben
    First of all thanks a lot of your reply.
    I just want you to clarify how can i replace this tunnel with a shift register ,where will this sr take the data from ,coz the "Get current date and time" is actually placed outside the loop ,also how can i replace this value with a case structure ,shall i put the "get date and time" in a loop or in a case structure ? coz i actually tried ways that looks like that but it didn't work .
    I will appreciate that a lot if you showed me what you mean by a diagram. or on the actuall vi that i attached to the post.
    Thanks in advance
    Regards
    Shady
    I reserve that type of service to my paying customers.
    Let me turn it around and welcome YOU to post an image of what you have tried and let us comment based on your efforts.
    I'll get you started with two suugestions and a question.
    1) You can right-click the input tunnel and select "replace with Shift Register".
    2) If you watch your code in execution highlighting mode, you can see were the data comes from and goes to when.
    Now for your question!
    After watching the code run where would there have to be another "Get time" node have to be located to get a new value WHILE the loop is running?
    Like I said post images of what you are attempting to do and let us offer advise based on that.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Relative time displaying improperly

    Hello everyone,
    I'm struggling with the relative time display function in my waveform chart.  It seems to be displaying my data improperly.  I'm collecting temperature readings every five seconds, displaying the data on the waveform chart, and writing the data toa text file.  My data is writing correctly to the text file, but it looks like mychart is not interpreting the times appropriately.  I should have a new data point every five seconds, but instead it's displaying a new point every 1 second, despite there being 5 seconds between each data collection instance.  I've attached a jpg of the graph output, as well as the vi I'm working with.  The data collection step is #7 on my state machine.  Thanks ahead of time for any help you can give.
    Matt
    Attachments:
    Relative Time problem.jpg ‏78 KB
    PND1 USV Recording.vi ‏270 KB

    A chart has no way of knowing what your loop time is. You have to program that information by writing to a property node. Just look at the example called Real-Time Chart.

  • Alert message is needed at the time of creation ,if it reaches ,the maximu

    DEAR SA EXPERTS,
    Can you please me that alert message is needed at the time of creation ,if it reaches ,the maximum stock level (Stock+level)
    Thanks
    Mohit

    Hi,
    Please refer the below links.
    Alert Message
    Re: Alert Message
    Hope it helps you.
    Thanks.

  • At the time of creation of POaccount assignment is coming mandatory

    Dear all;
    At the time of creation of PO system showing the msg that the  account assignment is mandatory for the material ,how to overcome this?
    Kindly suggest whre in material master record I can change settings for account assingment ,or the control is somewhere else.
    Regards;
    Joydeep Mukherjee

    Hi
    In OMS2 t-code
    for your material type and  plant ,you have to mark value based and qunaity based updation mark
    Regards
    kailas Ugale

  • Problem at the time of creation order

    Dear Gurus,
    facing update termination error at the time of creation/change the sales order..in development system
    after some analysis,  found one more error due to which above mention error is coming
    report run : "RMCSUTIC" : check utility logistic info system
    after running this report system giving error message "Unit O2 : No DDIC Information for source field OI0BW_ADQN - OIMSEHI1"
    but when but in production server it's working fine without error message
    kindly suggest some solution for the same
    Regards,

    No DDIC Information for source field
    You may have to check the following notes.  Take the help of your basis team.
    1)  542872
    2)  557683
    3)  579022
    4)  645136
    thanks
    G. Lakshmipathi

  • Issue at the time of creation of transfer order for inbound delivery

    Hello,
    I am facing one issue at the time of creation of transfer order for inbound delivery.
    If I create inbound delivery for purchase order with account assignment as 'M' (Ind. cust. w/o KD-CO), inbound delivery is not updated. Also document flow for inbounde delivery s not updated. I can create N number of transfer orders for on inbound delivery. Need help to resolve issue.
    If I create inbound delivery for purchase order with account assignment other than 'M' (Ind. cust. w/o KD-CO), inbound delivery and document flow is updated.
    Thanks and Regards,
    Nikhil

    Hi
    In OMS2 t-code
    for your material type and  plant ,you have to mark value based and qunaity based updation mark
    Regards
    kailas Ugale

  • Query relating to the creation of Managed Service Accounts

    Hi Folks
    I am studying for my 70-411 exam and have a query relating to the creation of Managed Service Accounts.
    I have successfully created an MSA account named 'MSATest' on a DC  using:
     new-adserviceaccount -name msatest –dnshostname home-dc-01 -passthru
    and
     add-AdcomputerServiceAccount -identity home-ap-01 -serviceaccount msatest -passthru
    However the guide that I am using now says that I now need to run:  Install-ADServiceAccount on the host computer in the domain to install the MSA in order to make available it available for use by services.
    So on my member server (home-ap-01) I have installed the Active Directory Module for powershell and ran:
    PS C:\Users\administrator.PCECORP> Install-ADServiceAccount -Identity msatest
    Install-ADServiceAccount : Cannot install service account. Error Message: 'An
    unspecified error has occurred'.
    At line:1 char:1
    + Install-ADServiceAccount -Identity msatest
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : WriteError: (msatest:String) [Install-ADServiceA
       ccount], ADException
        + FullyQualifiedErrorId : InstallADServiceAccount:PerformOperation:Install
       ServiceAcccountFailure,Microsoft.ActiveDirectory.Management.Commands.Insta
      llADServiceAccount
    PS C:\Users\administrator.PCECORP>
    However this errors, Have I misunderstood the purpose of the Install-ADServiceAccount ?  or am I doing something wrong?
    Thanks in advance for you help.

    Try using  -RestrictToSingleComputer parameter when creating service account with New-ADServiceAccount.
    Gleb.
    Hi Gleb
    Thank you for your help, it is appreciated.  That did the trick.
    All the best.

  • Different batch no in prod order at the time of creation of prod order

    Hi, we need different batch numbers in production order at the time of creation of production order. tried in system, i can able to create only one batch no at the time of creation of order. we need different batch no at the time of order creation and same no should be assigned at the time of GR from prod order. pls advise how to map this.

    Dear,
    Use the Exit EXIT_SAPLCOBT_001 under enhancement PPCO0001 where-in based on your requirement you can create batch for your order. You can use CALL FUNCTION 'VB_CREATE_BATCH' to create the batches as per your requirement.
    Also make sure the automatic batch creation setting in Prodn Scheduling profile has been turned-off so that the batch is created only through the user-exit.
    Refer this thread,
    Re: Batch creation
    Please try and revert back.
    Regards,
    R.Brahmankar

  • Problem In time of creation wprk Scheduled...

    Hi...
    I have faced a problem in time of creation work scheduled, it is displaying a error massage like " Error while accessing public holiday calender on 20100101".
    Can anybody help me to resolve the problem....
    with regards,
    Diptendu

    Hi Diptendu,
    I believe you are creating work schedule rule for the year 2009. So for this, u need to mandatorily generate holiday calendar upto Jan 2010.
    This is because in order to generate workschedule rule for Dec2009, holidays in the holiday calendar should be assigned atleast in the month of Jan 2010 and then generate the holiday calendar upto Jan 2010. So the dates for generating holiday calendar would be 2009-2010
    Hope this would solve ur issue.
    Thanks.

  • Time of creation of PO

    hi ,
    Any particular table - field  where the details of  Time of creation of PO (server time) is stored.
    Any pointers will be helpful.
    Thanks ,
    regards,
    CK

    Hello
    Goto table CDHDR with
    OBJECTCLAS = 'EINKBELEG'
    OBJECTID = '4500000001' (number of PO)
    CHANGE_IND = 'I' (insert)
    You will have CDHDR-UDATE (date) and CDHDR-UTIME (time)

  • Adding 1 hour to photo's time of creation (aka change the photo's time zone

    Hi
    I had my camera's time set incorrectly (1 hour less than the actual time), so all the photos I took during my vacation have this error embedded onto them. Is it possible to use iPhoto or any other tool to add 1 hour to the time of creation of each photo?
    What I found in iPhoto is a way to reset the time of one or multiple photos to a single specific hh:mm:ss, but I just need to modify the hh part, leaving the mm and ss intact. Can this be done?
    Thanks!
    Ale.

    I understand how to change the time on multiple photo as you described.
    My question, I have several hundred photos that the time is off by 12hrs and 45 minutes. Is there a way to select multiple photos and adjust the time by 12 hr 45 minutes? (ie...1 photo shows 2:44am but was actually 3:29pm) either thru iPhoto or automator.
    Thank you.

  • How to remove time zone offset when we use a number as a relative time variable?

    Hi everyone!
    I've a small doubt in using a number as a relative time. If I change the display properties of a numeric to relative time, it takes default value "5:30 AM", may be because I'd set time zone to Indian time during installation ( India is 5:30 hours ahead of Greenwhich). I want it to take default value "12:00 AM'. Please help me how I do it?
    ( I can also subtract 5:30 hours and get the same. But I want that to have "12:00 AM" by default......?!)
    Thank you all..!
    pavamana

    pavamana_pk wrote:
    Hi everyone!
    I've a small doubt in using a number as a relative time. If I change the display properties of a numeric to relative time, it takes default value "5:30 AM"
    As Ravens already stated, you are using ABSOLUTE time.  Relative time can only be set to display hours, minutes, and/or seconds.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to get information about time of triggering and entire time waveform

    I have been trying to capture a certain portion of waveform from Textronix DPO2024 using triggering in Labview. Further, I want to save the the entire triggered waveform (triggered time as one array and triggered signal amplitude as second array)  in .xlxs format.
    With the present setup (screenshot, and output of program attached). I only get the triggered portion of signal, I get time stamp (that I do not want) but require the time array, instead.
    I know there are methods to convert the timestamp to time array. I do not want to use this, as I need to capture the data every 10 ms  or even faster, and this slows the acquisition process.
    Any help will be much appreciated.
    Thanks

    Hi Dennis,
    Thank you for the response.
    Please find the .vi attached. In the case - without triggered, with the information of dt and length of Y, we can determine the time waveform (as calculated using matlab script on right). But in the presence of triggering, neither  the length of waveform nor the start time of triggering is known, so calculating the time waveform is tricky. In addition, since the waveform is continuously changing, and keeping trigger fixed at a particular level,  the length of waveform is also changing in some of the acquisition. So I wanted  a 'simple' method where I can get the time information about the triggered waveform in each acquisition.
    More specifically, I wanted help in regard to getting time array of the triggered signal and save it as a column in excel file.
    Thanks

  • Labview absolute time waveform chart to excel

    Hi everyone, I have a bit confusing on absolute time waveform chart. My problem is when I want to export to excel, the data duplicate nearly 30 times for each second. My project is about collect temperature from serial port and plot it in waveform chart, and I want to view history data in excel.
    Anyone can help to solve my question? I attached my vi here..
    Thank you so much..
    Attachments:
    NEW FINAL1.vi ‏96 KB
    snap.PNG ‏11 KB

    You are getting such a large number of readings because your VI has no timing control in it, if you simply add in a delay somewhere of maybe migrate to an event structure with a timeout then you can control the number of readings that are taken per second.

Maybe you are looking for