Creating a waveform from a set of data points

I have a set of Y values which are spaced 1/sampling rate apart. I am trying to build a waveform with them, but buildwaveform.vi does not seem to be working. Any suggestions? Thanks.
Intern NSWCCD Carderock.

Did you try the build waveform function.
Look at annex,
Hope it helps,
Paulo
Attachments:
BuildWaveform.vi ‏27 KB

Similar Messages

  • Creating intensity graph from ywo sets of data?

    Hi,
    In my vi, I am getting two data set dependent on each other, i.e. amplitude(y) versus position(x). The data acquisition of x-y data happens in a for loop. This data is transferred outside the loop with index enabled. Outside the loop I want to plot an intensity graph out of these data, while z=amplitude, x=position,y=not important, say index. I don't want simply to transfer the amplitude data outside the loop and connect the 2D array of amplitude to the intensity graph. I want to preserve the position information in the intensity graph. How can I do this?
    Thanks

    Here is a link to a posting that may have been yours also. Just some ideas I had. I hope it can help you get started somewhere.
    J.R. Allen

  • Create waveform from a set of points with differtent time intervals

    Hello,
    I would like to create a waveform from a set of points like this
    Time           Data
    0                 0
    0,5              1
    0,6              2
    1                 1
    2                 0
    5                 1
    The problem is that the time interval between each points are not the same.
    The only idea I found was to create a waveform for each doublet of points with the same rate (100ms) and than to append them together.
    Does anybody have a better idea?
    Regards,
    Risotto.

    If you use a Wave From data type, re-sampling is not required.
    When using a WF datatype the chart (graph) will pick-up the X value from the t0 of the waveform.
    The trick is to just build an array of the single update value and make sure the t0 value is correct.
    Re-create this example
    and try it for yourself.
    Ben
    Note: make sure the data you pass is consistant with the data already displayed. If you post a t0 value that is older than what is already displayed, the chart will clear the display and start over.
    Message Edited by Ben on 09-15-2006 11:49 AM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction
    Attachments:
    WF_Datatype.JPG ‏59 KB

  • Why do i get 2 curves and not just 1 when i create a diagram from a row of data in a table ?

    Why do I get 2 curves and not just i when I create a diagram from a row af data in a table ?

    Erik,
    Thank you for giving me the points.  Generally you wait to award points until your problem is solved.  It is totally your at your descretion.
    OK.
    This is still not clear.  To post a screenshot get the "stuff" you want to show in view on your screen, then type the key combination <Command>+<Shift>+3.  The cursor will change to a crosshair.  Click and hold on the top-left corner, then drag to enclose what you want to show (to the bottom-right corner), then release.  The screenshot will appear on your desktop and will be named something like "".
    Now click the camera icon in the tool bar for this forum:
    , click the text box to allow you to navigate to, and select your screenshot.
    Here is what you sent me:
    The graph does not seem to be associated with the table of data you are showing.  Generally when you highlight a graph the corresponding table will highlight and show the source of each of the series in the graph (dark and light blue).
    This is what I would expect to see when highlighting a graph:
    Right now I think there is ANOTHER table arround that is the source for the graph and the table you show is "just another table".  You can move your data into the table the graph refers to by copy and paste, or simply typing the values.  You can change how many series there are by grabbing the little circle at the bottom right of the highlighted cells (when you have the graph highlighted) and dragging as shown:
    The Numbers Users' Guide is a great resource you should utilize and can be found here:
    http://support.apple.com/manuals#macosandsoftware
    The chapter on graphing (or charting) is 7 and starts on page 134.

  • Create an area from a set of points

    How to create an area from a set of points ? I searched everywhere but could not find a better solution for it. Let�s say that I have a matrix that contains the points for a shape. I�ll need a way to connect the points near each other continuously to form the outline for the shape.
    Thanks fro any feedback.

    ... But I'll also need a way to connect
    those points in an order so that they'll form the
    path (edge) of the shape.Do you mean the Convex Hull [1] of a set of points?
    If so, you could find it by implementing a Graham Scan [2] algorithm and then calculating the area of the polygon [3].
    [1] http://mathworld.wolfram.com/ConvexHull.html
    [2] http://en.wikipedia.org/wiki/Graham_scan
    [3] http://mathworld.wolfram.com/PolygonArea.html

  • How can I plot two sets of data points in 3d graph?

    I am trying to plot two sets of data points in 3d graph. I also need to make a set of data with one color and the other set with a different color. For example, I need to plot 10 (x,y,z) data points in 3d. Maybe 6 points need to be blue, and the other 4 red. Could you tell me how?

    What is your LabVIEW version? (things are a bit different in 8.6).
    Basically, you create multiple instances of the VI that gets placed automatically when you drop the 3D graph and then wire a different number to the plot ID at the bottom.
    You define all the plots (color, style) via the properties dialog.
    Have a look at my example posted here. One plot is "blue dots" and one is a "shaded surface". See how far you get.
    Message Edited by altenbach on 04-23-2009 01:11 PM
    LabVIEW Champion . Do more with less code and in less time .

  • Cut off some data from a set of data

    I have a set of data our of from power spectral density measurement.
    I want to curve fitting with the data.
    But I want to cut off below a certain frequency.  For instance, the PSD
    data
    contains {(1,10),(2,3),(3,4),(4,3),...} and I want to fit from 3 Hz
    {(3,4),(4,3)...}.
    I tried high pass filter but it does not change.  I tried several ways such
    as
    get time stamp and find the index for the element and remove the array
    using
    'Array'tools.  It cuts off the data sets that I wanted to remove but it
    does
    not remove the frequency values.  So it works like {(1,4),(2,3)....}
    instead of
    {(3,4),(2,3)..}.  Please let me know how I can make this work.
    Thanks.
    Attachments:
    new-PSD-factor-v3.vi ‏522 KB

    Hey Arrow,
    I think I understand your question better now. You'll want to use the "delete from array.vi". It can be found by going to all functions>>Array. You'll need to input the array to be edited, which index to begin deleting from and how many elements to delete. From your application it sounds like you'll want to start from element zero and delete the number of elements that corresponds to 0 through 4 Hz.
    In addition, you'll need to create an array that represents the frequencies you want to plot (4 1000 Hz or your upper limit). There'll need to be one frequency on your x axis for each element in your PSD array. Then bundle the two arrays together and plot them on an XY plot. You can use the "bundle" vi to accomplish this. You can find examples using clusters from help>>find examples. Then navigate to Fundamentals>>Arrays and Clusters.
    Hope this helps out.
    Chris Cilino
    National Instruments
    LabVIEW Product Marketing Manager
    Certified LabVIEW Architect

  • Create test database from standby without some data

    Hi. I want to create test database from my standby database using rman.
    But i have some some tables and where information is too large i dont want backup all data from this tables. because i dont have enough space on my test server.
    Have u any idea for solution this problem.
    Thanks

    But have suggestion.
    You can create duplicate database on based your target database (to new host) and skip undesired tablespaces...
    bash# rman target /
    RMAN> ....
    your code should be like :
    run {
    allocate auxiliary channel 'dev_0' type 'sbt_tape'
    parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
    allocate auxiliary channel 'dev_1' type 'sbt_tape'
    parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
    allocate auxiliary channel 'dev_2' type 'sbt_tape'
    parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
    allocate auxiliary channel 'dev_3' type 'sbt_tape'
    parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
    SET UNTIL SCN 7769764681915;
    DUPLICATE TARGET DATABASE TO MYTS SKIP TABLESPACE TOOLS_IDX,TOOLS,ARCHIVE,IDX;
    Edited by: Ulfet Tanriverdiyev on Dec 21, 2010 3:42 AM

  • How to find Majority from a set of data

    Dear Oracle Guru's
    I have a set of data something like for example
    Payment Amt which has data like this (45,53,46,45,52,45,63,45,44,45,41,45...)
    I have to find the Majority Payment amt .in my given example it is 45 ... i.e Maximum occurrence.
    I couldnt get it correctly . I thought of AVG , and MEDIAN .... but not exactly correct
    Is there any other method or function which is eluding me
    Kindly help me out of this
    With Warm Regards
    ssr

    May be this ->
    satyaki>
    -- Start Of Virtual Table For Data --
    satyaki>with temp
      2  as
      3    (
      4       select 45 amt from dual
      5       union all
      6       select 53 from dual
      7       union all
      8       select 46 from dual
      9       union all
    10       select 45 from dual
    11       union all
    12       select 52 from dual
    13       union all
    14       select 45 from dual
    15       union all
    16       select 63 from dual
    17       union all
    18       select 45 from dual
    19       union all
    20       select 44 from dual
    21       union all
    22       select 45 from dual
    23       union all
    24       select 41 from dual
    25       union all
    26       select 45 from dual
    27    )
    -- End Of Virtual Table For Data --
    28  select amt,
    29         count(*)
    30  from temp
    31  group by amt
    32  having count(*) = ( 
    33                  select max(count(*))
    34                  from temp
    35                  group by amt
    36                 );
           AMT   COUNT(*)
            45          6
    Elapsed: 00:00:01.05
    satyaki>
    satyaki>Regards.
    Satyaki De.

  • Creat a DLL from a set of VIs

    Hello,
    I've a board that cames with Labview VIs for each of its functions.
    As I'd like to use it from CVI, I need a DLL.
    NI support team gave me the procedure to make such a DLL, it works fine.
    But, the create DLL can't be used by 2 application in same time, as it was possible with the old fashion driver on WindowsXP, delivered by the board supplier.
    When I've an application launched using functions in the DLL, it is loaded and seems to be "privative" to this application: if an other one tries to load the DLL, there is an error frolm Labview wrapper.
    Is there an option to make such DLL "reopenable" or "reentrant"?
    Regards

    The DLL is written by Lavview tool to encapsulate VI and get them reachable from CVI: the board supplier no loger delivers a C-compatible DLL, only Labview driver and C# / .net / Java... modules, that implies heavy changes in our application to manage. NI support suggested to make this way a DLL from the set of VI delivered by supplier.
    In our case, on XP, the main application was using the board but it was possible in parallel to send commands from an other application.
    You're right it may be a question of locking resources by DLL / VIs functions: I'd like to know it there is a specific otpin when creating the DLL to make it reentrant and possibly get double access.
     

  • How to avoid the House Bank when creating a vendor from the HR master data?

    Hi all,
    I am using T-code PRAA in order to generate the vendors from the HR master data.
    It works fine, but the programs tries to record a House Bank in the company code view of the vendor.
    Which I don't want.
    Does anyone know how to get rid of the house bank ?
    I already tried, by deleting the entry in the characteristic TRVHB, through PE03, but then, the file is not generated successfully.

    Hi Madhuri,
    Best way to avoid such problem is to use TAB delimited file instead of comma separated data. Generally TAB does not appear in data.
    If you are generating the file, use tab instead of comma.
    If you cannot modify the format of file and data length in file is fixed character, you will need to define the structure and then move data in fixed length structure.
    Regards,
    Mohaiyuddin

  • How to update multi-handle graph with a new set of data points

    I have multiple sets of data that all have the same number of columns but different numbers of rows. Each column is plotted on a graph. I want to keep the format of the original graph with the same number of handles, and update each handle with new data points by bringing in a new set of points.
    See attachment for example.
    Attachments:
    hiqgraph.HiQ ‏14 KB

    There are several ways to do this.
    1. You can create a HiQ script that plots the new data to the graph using the existing plots. The following three lines plot the new data into the three existing plots (indicated by the plot handles.) Put these lines into a HiQ script object, right-click and select Run.
    addplot(Graph2D_1,-1,data2[*,1],data2[*,2]);
    addplot(Graph2D_1,-2,data2[*,1],data2[*,3]);
    addplot(Graph2D_1,-3,data2[*,1],data2[*,4]);
    2. You can do it interactively by right-clicking on the individual plots and choosing Change... This will being up a dialog you can use to change the data in that plot. This will be difficult to do when plots are right on top of each other, so you may want to display the plot legend, where you can also right-click a
    nd select Change...
    3. I like your idea about DataSocket. This way it will happen automatically. Whenever the matrix published to DataSocket changes, the plot should automatically update.
    I hope this helps.
    David

  • How do I create a waveform from my excel data?

    I have entered read my excel file data into Labview using the ActiveX application. There are four columns of data. I was wondering how I would go about creating waveforms with this data.
    Thanks

    For each column, you would pass that array to the Build Waveform function along with the dt and t0 information that you saved in the file.

  • Creating XML file from ABAP internal table data....

    Hello,
    I am fethcing data froma  custom table and I have to write data in XMl format. Following is the XML format in which I want data. Is there any function module iN SAP which will help me in writing data from internal table to XML file ?
    <batch>
      <invoice>
        <StatusCode>10</StatusCode>
        <paymentamount>122.00</paymentamount>
         <ReferenceNumber>70980934</ReferenceNumber>
      </invoice>
      <invoice>
         <StatusCode>90</StatusCode>
        <paymentamount>122.00</paymentamount>
         <ReferenceNumber>70980934</ReferenceNumber>
      </invoice>
      <control>
        <InvoiceCount>2</InvoiceCount>
      </control>
    </batch>
    Please help.
    Regards,
    Jainam.

    I suggest you look into "simple transformations". That's SAP's most recent technology for such purposes, as far as I know.
    http://help.sap.com/abapdocu_70/en/ABENABAP_ST.htm
    Thomas

  • HT201274 How do I stop my iphone from erasing setting and data?

    I Put my iphone on erase settings and data, how can I stop this process?

    Try removing the device from your account. That is discussed here:
    stopping iphone erase
    I read it in an Apple article but I can't find it now
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account

Maybe you are looking for

  • How to get the count of all the entries in the DB?

    I want to know the way getting the count of the entries in a DB. Not using cursor to visit all entries and record the count. Message was edited by: user633842

  • If you've installed the Mac OS X Mountain Lion and want to restore your MacBook to factory settings, what do you do?

    Havinig a lot of problems with my MacBook since I've upgraded to the Mac OS X Mountain Lion program. Can someone tell me if it's possible to reset my computer back to factory settings?

  • Page number wise printing of sapscript

    Dear All, I have SAPSCRIPT program for SAP FI/CO voucher printing . The problem is that the user has to select each and every page to print after they have a print preview. What user need is that the script would be printed as according to the user e

  • Connect an Ipod to your Car Stereo

    I recently purchased a new car radio that supports mp3 players, meaning it has a usb input. Is there a cable that converts the ipod headphone cable to a usb output, or is it not possible to connect the ipod to the radio. PS. I tried connecting it wit

  • VOIP 321

    I have a VOIP 321 Phillips phone.  Recently stopped working - the message on the phone says contacts unavailable when I want to use it as a hands free skype phone.  Otherwise skype works well when I use my laptop but I want to be free to walk around