Shift waveform on x axis

Hi,
I have managed to transfer data from 'Read Measurement file' and am able to graph it. 
However, I was wondering how do I shift waveform on the x axis or y axis. I know one way is to change data from the LVM file but is there any VI that I can use to do the shifting?
Thanks
Ridwan
PS: How do I rate an answer?
Solved!
Go to Solution.

What I think is not the value offset, but the time offset - t0
Message Edited by Eugen Graf on 09-26-2008 09:23 AM
Message Edited by Eugen Graf on 09-26-2008 09:23 AM
LabVIEW Portal
Attachments:
TimeOffset.png ‏10 KB

Similar Messages

  • Bug in Digital Waveform Graph X-Axis

    Hello,
    I am making separate queried to a database to retrieve analog and digital data over the same time period.  The data were logged at 2 second intervals.  I have verified that both result sets return the same number of values with the same t0 and dt.  I then plot the analog values on an XY Graph and the digital values on a Digital Waveform Graph.  I then use property nodes to sync the two graphs (left and right plot bounds, XScale.Range, and Cursor Position.X).  After doing this, I can see that the datasets do not line up between the two graphs.  The data on the Digital Waveform graph ends several seconds sooner than the analog data.  The x scales of the graphs appear to match but the plots don't align in time.
    Has anyone else observed this behavior?  Is there any work-around?
    Thank you,
    Peter

    There is a much simpler way to synchronize these charts. Just use a stacked chart.
    If you use a bundle function you can take two signals (almost data type) and wire them into a Waveform Chart together.
    Then on the front panel right click on the chart and select Stack Plots
    Since you only have 1 X axis now they are instrincly synched and will always write valules at the same time and update the UI together. You can skip all of the scale synching....
    Since the data you are working with has lincked time stamps, the data will need to be matched, (make sure the samples are anyched and each itteration both would have the same number of samples.
    The last allternative would be to strip the time stamp off of your data then build a new data structure, with the digital data, analog data and 1 set of matched time stamps. You can then plot this on an XY chart using the time stamp for the X axis for both of your other plots.  Let me know if you have other questions.

  • 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

  • Waveform chart X-Axis reverses itself when upper limit is edited in Absolute Time - problem may be linked to Timestamp Control?

    I've seen this problem for some time now, and it still exists in the Silver toolset Waveform Chart in LV 2012.  If the chart is in strip mode, and you edit the upper limit value to a point in the future, the X-Axis will invert (higher values/ later time to the left), to the limit of the Chart History length.  This happens whether the chart is active (logging data on a compiled executable) or even when in design mode, though it's more consistent when there's data in the chart.  It's not history length related as far as I can tell, as I set the length to 7 days of sampling @ 1-second intervals (605K), and it happens when I try to set the end time to an hour in the future with only a few minutes of data collected - suddenly the right Absolute Time becomes the time my last sample point was collected, while the left Absolute Time becomes nearly 7 days in the future (so neither end point is what I was setting it to).
    It's nice that the chart gives the option of editing the limits, but as such, it's important that they work as you would expect them to.
    Also - until this is addressed, is there a way to lock it against editing?  Until a fix is made, my workaround is to put a transparent button over the range start & end points, and a transparent flat rectangle above all other mid-range points, and pop-up a data entry form with a Timestamp control to allow editing.  Unfortunately, this doesn't work as I would expect, as typing "11 AM" in the Timestamp control over a prior value of say "10:05:34.232 AM" ends up becoming "11:05:34.232 AM" instead.  ???  Another error - or is this by design?  If it's by design, is there an option to make it behave as I would prefer (11 AM = 11:00:00.000 AM), as Excel behaves with timestamps?  I can't help but suspect this may be linked to the chart axis issue.
    Also - I just built a simplified chart modeled somewhat on my current project, and could not get this to recur.  BUT... had the strangest thing happen:  My sample data was generated using the Trig functions for Sine and Cosine, and at one point my waveforms distorted on the display, so I'm attaching that here plus the simplified chart project.
    Last - my system is LV 2012 on Win7 Pro-x64.
    Thanks!
    Erik
    Attachments:
    Chart data distorted.png ‏45 KB
    Waveform Chart Flaw.zip ‏17 KB

    I am not so sure that this is a bug, and I have not been able to reproduce this behavior that you are describing. 
    But you can lock it from editing by right-clicking on the graph and go to Properties>>Appearance>>Enabled State --> Disabled
    Also, word of advice for the future: You will get more replies from the community with shorter posts and keeping it to one question per post. Summarize what the issue is, and put the detailed documentation and instructions to reproduce in the actual VI. 
    Huntington W
    National Instruments
    Applications Engineer
    ***Don't forget to give Kudos and Accepted as Solution where it is deserved***

  • Waveform chart time axis is not matching the waveform data

    So here an interesting conundrum I hope you might be able to help me with...
    My VI has waveform data sent to a chart, though the data is not being plotted against the current time.  Rather, it is being plotted starting way back in the reference time (way back in 1903).  I don't understand why this is happening.  When I build the waveform, I use the "Get Date/Time in Seconds" function outside the while loop and feed that into my "Build Waveform" Function as the t0 value.  My dt value is 0.05 (20 Hz) and then I feed in my array of data in the Y input.  Any ideas why the chart is plotting this data over 100 years ago?  Thanks!
    Andrew

    Hiii, Ronin
          Here is your solution.
    By default, waveform charts and graphs display the absolute time at time 0 as 7:00:00 PM, 12/31/1903 on a Windows based system. Property nodes can be used to get the correct absolute time to display on the x-axis of the waveform chart.
    First, right click the chart on the front panel and select X Scale >> Formatting. Then set the format to Absolute Time.
    Create a property node for the waveform chart by right-clicking on the chart on the block diagram and selecting Create >> Property Node. Expand the property node to display two properties. Select the Format property and the Offset property. The Format property is located under X-Scale >> Format and Precision >> Format, and the Offset property can be found under X-Scale >> Offset and Multiplier >> Offset. Right click on the property node and select Change All to Write.
    For the Format property, the context help shows that there are multiple inputs to this property. Wire in a value of 7 to set the format to Time and Date.For the Offset property, first wire the output of the Get Data/Time in Seconds VI to the input of the To Double Precision Float VI. Then wire the output of the To Double Precision Float VI to the Offset property.
    In addition, if you know the number of data points plotted to the chart per second, you can set the Multiplier property located under X-Scale >> Offset and Multiplier >> Multiplier. If there are x data points generated per second, wire in a value of 1/x to the Multiplier property. A simple example program "Chart with Timestamp" that demonstrates how to do that is attached.
    Thanks,
    Nishant
    Attachments:
    Chart with Timestamp.vi ‏36 KB

  • Waveform chart x-axis in time (secs)

    Ok here's what I'm trying to achieve (unsuccessfully at the moment). I've got a 2D array of data collected from a sensor. Each column in the array corresponds to one of the sensor's axes. I want to display 3 columns of data on a waveform chart with the magnitude of the data as the Y axis and time as the Z axis.
    Here's the tricky bit. I have no timestamp with the data. However, I'm taking the first element of data in each column as being T (time) = 0. The sampling rate of the sensor is 100Hz so => dt = 0.01. So each data element in each column (sample) is separated by 0.01 seconds. Therefore by knowing the number of samples in a column of the array, I can get the end time. E.G. 1000 elements in one column of the array => end time, T = 1000 * 0.01 = 10 seconds.
    So in the above example the chart's time axis should go from t = 00:00:00 to t = 00:00:10. However I'm not gettin anything like this in my chart. I did up a quick vi showing what I'm currently doin. 
    Any tips?
    Attachments:
    2D waveform chart.vi ‏32 KB

    I've re-attached my example vi with a minor adjustment highlighting the problem. Each column of the array now contains 2000 elements which exceeds the deafult chart history buffer length value of 1024. This causes problems with the time display on the chart. I could of course change the chart history buffer length manually by right clicking etc. but would need to do it in real time in my actual vi as I won't know the size of the array until execution.
    Is that clearer?
    Running the vi now should show you, the time starts at 00:00:09 instead of 00:00:00. I understand why but not how to fix it...

  • Waveform axis question

    On the most part, my waveforms (and those of my students) peak at equal distances above and below the axis line.
    However, every now and again I see a waveform that's either got peaks that are bigger on the above (or below) axis side and I can't figure out why. In fact the other day I saw a waveform where the axis line itself changed position in a single file (like a split level house, if you will)!
    How does this happen, and what effect does it have on the audio?
    Matthew

    The off axis that you see will reflect the difference of positive / negative energies of the sound that hit the microphone membrane (energy in terms of over-pressure / under-pressure, relative to standard air pressure). An instrument like the piano, a drum, a guitar or string instrument will send out equal amounts of positive and negative pressure, since they just resonate. A singer or a horn / woodwind player will literally blow the sound they produce towards the microphone, and due to this the soundwave will contain unequal amounts of positive / negative pressure. If you know that the source for the sound is one of these, then what you see is totally normal - it is to be expected even. Nothing to fix! Sometimes you will have a so called DC offset due to faulty or misaligned equipment however. This can be remedied with the DC offset button which I think is found in the 'Normalize' (or 'Amplify'?) effect window.

  • Is it best to set waveform graph scale properties before or after sending new data to the graph?

    Hi I'm wondering when is the best time to update waveform graph scale properties.
    I am sampling data every 15 minutes for 192 samples, i.e. 48 hours.  I want to plot these samples with the x scale in absolute time mode so that x scale maximum is the current time and x scale minimum is x max minus 48 hours (172800 seconds).  I also want the intermediate scale markers to be 6 hours apart and to be multiples of whole 6 hours.  e.g. at 06:00, 12:00, 18:00.  This works OK using property nodes but sometimes the intermediate markers are on the 6 hour multiples and sometimes they are at 6 hours after the min scale marker.  e.g. 09:15, 15:15, 21:15.  Is there a way of guaranteeing that the intermediate markers will be on the 6 hour multiples?
    Thanks,
    Neville
    Solved!
    Go to Solution.

    Hi Bryan,
    Thanks for your reply.  I have discovered that I can achieve what I want by using an XY graph instead of a waveform graph.  I want X max to be the current time and X min the be 48 hours earlier with intermediate scale markers on multiple of 6 hours.  The XY graph in the attached VI does exactly that but I can't get the waveform graph to behave as I would like.  Is there a way of getting the waveform graph to behave as I would like?
    Thanks,
    Neville
    Attachments:
    waveform graph x axis scale.vi ‏16 KB

  • Compositing layers creates pixel shift

    I have been compositing three layers, two are Animation codec QT, one is a TGA still. All are 1920x1080, millions+ and have their alpha channel knocked out. They composite, scale and effect fine. The problem is a 5 to 8 pixel shift on the X-axis that occurs on playback, RAM preview and naturally in the final render. There is no tell-tale filter or action that I can pinpoint that is causing this and I can't reproduce it verbatim every time.
    The layer that shifts is locked and has no keyframes, set to fixed resolution, it is a TGA, 32bit still. The composited layers are 1920x1080 QT 29.97, no interlace. Whole project is set to 29.97 as are the QTs being used.
    Any ideas, suggestions or similar experiences out there?
    I appreciate any advice you can offer.
    thanks
    dey
    G5DP Mac OS X (10.4.9)

    After many tries I have been unable to defeat the problem with the registration moving 1080 images around when compositing layers. The 2K limit is unacceptable. I have yet to upgrade to Motion 3 but I hope this is something they have addressed. If Motion cannot handle 1080 composites without glitches, it is useless to me and I'm sure, many others. Furthermore, if you are rendering for film, forget it. If the almost 2K images wreck the registration, anything larger would blow it up, too.
    I tried fixed resolution, cropping (this would be a band-aid anyway, the whole point of HD is to get the full image, not a percentage) reducing the scale slightly, nothing helps. Previewing at half-rez and then back to full, the image jumps several pixels. I am resorting to using FCP until I install another package of AE or Shake. Very disappointed in Apple. If FCP is HD capable, Motion should be moreso. How can you zoom, rotate or distort a 1080 image if the engine is going to squeeze it and push the center reg around?
    My advice to anyone experiencing this is to move to another solution, I have spent many hours trying to resolve this and am unable. Generally I attribute these things to PICNIC but this is definitely a software issue.
    Dear Apple, please give us Motion HD, and not at a premium. If Apple intends to stay the leader in digital imaging, these "Pro" apps must work together in harmony. The license belongs to Apple, no third-party excuse here.
    Ok, I'm done crying, back to work.
    G5DP 2GRAM 128VRAM Mac OS X (10.4.9)

  • Lecroy oscilloscope multi pulse acquisition

    Hello, I am working with a Lecroy 24Xsa oscilloscope to acquire a waveform with multiple pulses connected to computer over TCPIP.  I have used the labview drivers and example code provided by Lecroy and am able to capture the wave and save it to my computer, but capturing the whole wave at once results in too low of a resolution.  The problem comes from the fact that the multiple pulses are of varying amplitudes across a relatively long time frame.  Is there a way to change the vertical resolution and shift along the x axis, while keeping the timing in order to accurately record the pulses time and amplitude?
    Thank you in advance for your help

    Hello,
    You can use a zoom trace to zoom in on a single pulse.  This will give you better resolution.  Be aware that the zoom uses the lowest resolution that it is set to.
    This means that zooming out, will change the resolution (Just like changing the vertical scale on the input channel) but zooming back in will not increase it again, you would have to turn it off and zoom again.
    The easiest way to zoom is to use a mouse or the touchscreen and simply draw a box around the section of the signal you want to zoom to.
    Then you can grab the data from the zoom trace.
    NYC is correct that this is not a LabVIEW issue and should not be on the NI forums.  If you have more questions or are not sure how to setup the zoom etc.  you may give me a call or send me an email and I am happy to help!
    Cheers,
    Leonard Brown
    Applications Engineer
    Teledyne Lecroy
    [email protected]
    1-800-553-2769 (Extension 6088: 8am to 5pm Pacific Time).

  • Portfolio (Bubble) Chart Capability

    Greetings,
    I am trying to create a bubble chart using WAD 3.5, the Portfolio chart type seems to be the most appropriate, but I can not figure out how to get the chart to show the metrics per my specification.
    X-Axis - Change in Days
    Y-Axis - Change in Value
    Z-Axis (Size) - Total Value
    Bubble Color - Region
    Individual Bubble - Opportunity
    The results should be a bubble chart with 4 different series, each series containing a datapoint representing an opportunity.
    The bubbles are sized based on the total value of the opportunity and are positioned in the chart based on the shift in days (x axis) and value (y axis) from a previous time period.
    The data is not a problem, I have a query with all the relevant characteristics and key figures.  The issue is getting the chart to properly chart these items.  The closest I can get is with:
    Row Fields: Region
    Column Fields: Opportunity, Key Figure Structure
    When I do this, I do get one 'series' for each region, but all the bubbles for each series get placed at the X-Axis value for the first opportunity.  Other attempts have resulted in creation of a series for each opportunity.
    Thanks.

    The frustrating part of this - is that the "Chart Wizard" view in Web App Designer shows exactly this scenario when previewing the Portfolio chart design - a few color-coded series, each containing multiple datapoints, with varying bubble sizes places on the chart based on key figures on the X and Y axes.  I can not figure out how to get any query to replicate this.

  • End Of File Error

    Hi,
    I'm currently writing a program that takes data from a spectrum analyzer (HP 8594E) and displays it on a front panel. The functions of my vi also  include saving the data to a file and also outputting that file back onto the waveform. I can save and display the data file once, but when i save and display it again, I get an "error 4: end of the file encountered" error. I've double checked the properties on both Write and read to measurement file VI's and the file types are the same, but the error still occurs. Do you know how to solve this error?
    I've attached my VI in case you'd like to look at it.
    Also, when I have the outputted data file onto the waveform, the x-axis is always labelled as time, I tried rewriting the label as frequency, but it just overwrites it and replaces the label with "time." Any suggestions?
    Thank you,
    Sammy
    Attachments:
    Spec Anal 02.vi ‏110 KB

    Looks like this might be your answer. It appears to be a limitation in the Express VI itself that won't allow multiple read accesses after the end of the file has been reached (even if new data is appended).
    I do have a workaround, however, that isn't listed in the KnowledgeBase listed above that should only take a couple seconds to implement. The reason this error is occuring is that this VI "remembers" that it has already run before and encountered the EOF. It does this by setting internal flags. My trick will be to wipe the VIs memory after every time it runs. You might want to try this on a backup copy of your VI first. Here's how:
    First, we will need to convert the Read from Measurement File Express VI into a normal VI. You can do this by right clicking the VI and selecting Open Front Panel. A dialog will ask you if you want to convert. Select Yes. Your Express VI has now been turned into a normal VI whose parameters you set are hard-coded into the VI. In other words, you won't be able to use the configuration dialog to change any more settings at this point.
    Save your new VI with whatever name you choose. Now that the Express VI is a normal VI, we can change the way a VI is loaded into memory as a subVI (this is a NEW feature in LabVIEW 8, and one of the really cool ones). Right click the new VI and select Call Setup. It will bring up a dialog asking you how you want to load the subVI. "With Callers" just means a completely normal subVI. We want the option called "Reload for each call". This means that every time the VI is called, it is loaded into memory, and then unloaded from memory when it is finished executing. This, in effect, wipes the VI's memory after every call. Check out the modified VI I created below. After taking these steps, there is no more Error 4 when calling this VI in a loop. Hope this helps!
    Message Edited by Jarrod S. on 07-06-2006 10:36 AM
    Jarrod S.
    National Instruments
    Attachments:
    main1.vi ‏66 KB
    myReadMeasFile.vi ‏30 KB

  • Why can't I get Blue Colors to Print Correctly??? It prints violet/blue!!

    I'm runing Windows 7 - 64 Bitwith Adobe CS5 Master Collection. But ever since I allowed CS5 Photoshop to control my new printer (HP Photosmart Prem C310) to do a test print of a graphic that I created all of my Blues print a violet/blue color, no matter what color blue I try to print. It has even affected MS Word & MS Project when I try to print known blue colored fonts or Gantt Chart Blues will no longer print blue. but it will print the same violet/blue color. I've even tried a brilliant stock windows blue which all view great, but prints the same shades of violet/blue! All my color paletes and blues view perfect. My monitor is calibrated and I've reset my new printer several times and still the same problem. I never had this problem before until I installed CS5 Suite.
    A strange thing is that I can run the check printer test and the data and image that is stored in the printer willl print every color perfectly, including blues. Plus I've ran a full color copy directly from the scanner bed and the copy prints perfect as well. I almost feel as though Adobe CS5 has possessed my PC and Printer! So does anyone on here have the knowledge of getting this to print correctly like it did before installing CS5 Master Suite? Thanks to all who can take the time to respond back with solutions to my problem as I have been trying to correct it for nearly three weeks now! Could  the problem be in Adobes hidden files possibly??? Thanks....

    Dave,
    there are at least two explanations, why Blue appears Violet on a print:
    1. The printer isn't correctly calibrated or not calibrated at all.
    2. A difficult explanation, please look here at p.60,61:
    http://www.fho-emden.de/~hoffmann/cielab03022003.pdf
    (the doc may have 2MBytes)
    We are in the color space CIELab. A printer color space (gamut volume)
    looks like a fruit in CIELab.
    Pure (saturated) blue is mostly out-of-gamut for the printer space -
    it cannot be printed with correct appearance.
    A gamut compression is required. The blue has to be shifted towards
    the middle axis L* of CIELab, in order to make it less saturated.
    Correctly that should be done on a curved line (p.60, plane a*,b*),
    but often it's done on a straight line towards the middle axis (dashed).
    This straight line crosses areas which are not blue but slightly violet!
    Remedies:
    Use Softproofing for the appearance in the simulated prints.
    If it is photo, for instance a blue sky, then shift the sky blue slightly
    towards cyan.
    If it is a spot color or a strong RGB blue, then use something else.
    Related:
    Handling sky blue
    http://www.fho-emden.de/~hoffmann/skyblue14072008.pdf
    Gamut mapping
    http://www.fho-emden.de/~hoffmann/gamshow15052009.pdf
    Some illustrations are understandable without mathematics
    (p.18-21).
    Hope this helps a little.
    Best regards --Gernot Hoffmann
    Message was edited by: Gernot Hoffmann

  • Is It Possible to Save a Soft-Proofed File?

    Let's assume that I have an image, foo.psd, open in PSCS4. I softproof the image for a particular paper and printer. When I hit Ctrl-Y, the image is shown in softproof mode, and the softproofing info is appended to the image name in the PSCS4 window. Is there any way to save a copy of foo.psd with the soft proofing applied, i.e. foo-softproof.psd?
    Reed

    Reed,
    a print looks often different to the monitor. Quite normal
    - many monitor colors cannot be printed.
    They are out-of gamut for the printing CMYK space.
    The RGB image data are converted via the RGB profile
    to Lab, which is large enough to represent real world
    photos without loss.
    From Lab the data are converted to CMYK via the CMYK
    profile. Here is loss because of the smaller gamut.
    The colors have to be mapped from the larger RGB gamut
    into the smaller CMYK gamut. This can be done
    a) automatically by Rendering Intent Relative Colorimetric:
    in-gamut colors are not changed. Out-of-gamut colors
    are mapped to the gamut boundary; this process isn't
    accurately defined by standards.
    b) automatically by Rendering Intent Perceptual:
    all colors - even those which were in-gamut - are
    shifted towards the gray axis. This process depends
    very much on the scientist or programmer and is nowhere
    defined by standards.
    So far one doesn't need human interaction, but the results
    are not always pleasing. The third and optimal method is
    c) image based gamut compression. Reduce the saturation
    and eventually rotate the hue in regions which are out-
    of-gamut until Photoshop's Proof Color Gamut Warning
    doesn't show larger out-of-gamut areas.
    Gamut compression algorithms and the color science behind
    are explained in this excellent book:
    Jan Morovic (accents omitted)
    Color Gamut Mapping
    John Wiley & Sons, 2008
    Manual image based gamut compression is demonstrated here
    by many examples (but it's called 'Editing in Lab'):
    http://www.fho-emden.de/~hoffmann/labproof15092008.pdf
    Attention: 3.4 MBytes.
    Chapter 9 shows visualized gamut boundaries for several
    color spaces.
    IMO you're seeking the impossible (if I'm understanding
    you correctly).
    Best regards --Gernot Hoffmann

  • Daqmx read.vi timestamp incorrect problem (storing the timestamp from start task)

    Hello,
    I have a state machine with 1st state: configure DAQ where i have [daqmx create channel.vi --> daqmx timing sample clock--> DAQmx start trigger--> daqmx start trigger] connected in order
    sample clock in continuous mode, 10000 samples to read and sample rate 1000 Hz ,
    start trigger has rising edge selected with a dev1/PFI0 from a daq board.
    next state of SM is read channels which has daqmx read.vi set to 1d waveform  Nchan Nsamp.
    and the program first configures and goes to read channels state and is just waiting for the true value on PFI0,
    but the time stamp is not updated to current time/ when daqmx read starts instead it is getting the initial t0 from the time when it was in configure DAQ state of my SM in other words it stores the starting time when strart task.vi was run and then updates from then on.
    so in effect i am not getting the exact time stamp values while i am running the vi.
    i tried to build waveform by inputting the actual current time but the chart doesnot scroll and shows only few values each reading, when i tried to input the t0 from the waveform given out by read daqmx. vi, it then behaves normally..
    option #1 from this link says
    http://forums.ni.com/ni/board/message?board.id=250&thread.id=47648&view=by_date_ascending&page=2
    Try and do exactly what the driver does.  This
    will require you to do exactly what you are doing in the posted
    example.  Call the current system time immediately prior to calling the
    DAQmx Read and subtract dt * x where x is the number of samples already
    acquired.  This will require you to know exactly how many samples have
    been acquired.  This can be found by calling the Total Samples Per
    Channel Acquired property immediately prior to the DAQmx Read.  This
    introduces some points of innaccuracy.  For example, you're system time
    is already innaccurate to some amount.  In addition, it takes some time
    between calling system time, calling the total samples acquired, and
    calling the DAQmx read.  If 2 samples are acquired between calling the
    system time and total samples acquired, you could be off by a few
    samples.  For slower clock rates, you will have more accuracy. 
    but there are no samples that are acquired until the rising edge, so the number of samples is always zero before the read operation
    http://digital.ni.com/public.nsf/allkb/5D42CCB17A70A06686256DBA007C5EEA 
    this link says that
    and the number of samples in my waveform is constantly changing around 20-40, so i cannot really input the current time to build the waveform, thats what i can figure out for now..
    can somebody tell me why this is happening or is there any fix around this, how to get the current time into my daqmx read.viso it displays the currect time on my waveform chart
    Thanks,

    thanks,
    im using LV 8.6, daqmx driver 8.9.5.
    yes the program u posted get the currect time. but see attached program thats what i have in my program exactly
    if you took out the time to using the get waveform components using the waveform  from daqmx read. i still have the timestamp as the application start time. plz see attached code 8.2v and FP
    the waveform time x axis is not current, it is starting from the application start time.
    PS: samples to read = 10,000 and sample rate = 1000
    plz help..
    Attachments:
    daqmx read problemp.png ‏8 KB
    daqmx read problem.vi ‏36 KB

Maybe you are looking for

  • Wizardpen and Xorg 1.8.1, Genius Tablet problem and solution

    Hello!!! I post this information just to contribute with a solution to a problem I was fighting with in the last days. I search for an answer and did not find it. If someone need more information feel free to ask. Oh! And sorry for my english. The Pr

  • JEditorPane

    I am trying to show a JSP page inside my Java Swing application. The JSP Page is working fine, when accessed through the normal browsers. I am accessing it on my application, through JEditorPane. I am passing its URL as string to the constructor of t

  • R.I.P Steve Jobs

    Adam came to the earth with biting an apple and Steve went back to heaven with same bite, rest in peace and thank you for all you have done!

  • Project will not open....help!

    I have Premiere pro cs3....I have several projects I am editing all of which will open with no problem.One of my main projects that I have been working on for the last 3 months will not open! I closed it last night after working on it most of the day

  • Propagation delay in kvp info to ubuntu in integration services

    Running HyperV on Windows 8.1 for testing, with planned deploy on 2008R2, and with Ubuntu 14.04 as guest. I have the key-value pair information working.  Sometimes; and there is the question. All I want is for the guest to obtain the HyperV virtual m