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

Similar Messages

  • 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

  • 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 to create scrolling graph from input values?

    Hi i'm new here, I'm trying to build a new concept for an interface inside an operating theatre - What I was trying to do (to start with) was make a line dynamically draw itself from a set of values (which I have in an excel spreadsheet) - gradually revealing itself over time like in the screens you see on medical drama's. How would I go about doing this?
    Thanks for your time,
    marksy
    PS Using CS4 if thats relevant

    Well first off you need to store your data somewhere, I suggest XML. Then you can use this data to draw a graph dynamically using the drawing api. To draw a single line you could do something like this.
    myClip.graphics.moveTo(0,0);
    myClip.graphics.lineTo(point1.x, point1.y);
    myClip.graphics.lineTo(point2.x, point2.y);
    To animate that you would simply need to interpolate a point that lies on the line connecting point1 and point2. Then you could ease your way to the end point (point2) and redraw the line at each frame. Its not very difficult to do once you are comfortable with the drawing api.

  • 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

  • Creating stacked graph from multiple rows

    Hi!
    I am trying to create a stacked bar graph from multiple rows. My data looks like this:
    Date_Time Error_Code Count
    16-01-2011 12:00 100 10
    16-01-2011 12:00 200 15
    16-01-2011 12:10 100 5
    16-01-2011 12:10 200 7
    16-01-2011 12:20 300 20
    16-01-2011 12:20 400 6
    I want to stack the count of each error_code on top of each other for every time group.
    Is this possible?
    Br
    Casper

    Hi,
    can you try
    - select the graph in the Structure Window or the visual editor
    - open Property Inspector
    - Press Pencil Icon
    - Click "Swap Bars with x-Axis"
    Frank

  • 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

  • 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

  • Can I create "keyword list" from keywords in EXIF data?

    Hi - I'm still a Mac and Aperture noob, so please excuse me if the question is dumb or ill-formed...
    I used to use Photoshop Elements on a PC. I made pretty extensive use of "tags" (keywords, in Aperture lingo) for categorizing my photos. I wrote all the tags into the exif data of my photos, then copied everything over to Aperture.
    Now, when I pull up an existing photo in Aperture browser, I can see the keywords that I already added. Great...but, is there a way to extract all the existing keywords from all my photos, and build a "library" of keywords that I can pick and choose from for tagging future photos?
    Alternatively - if I could export a keyword list from Photoshop Elements (in txt or XML format, whatever) is there a way that I can import that into Aperture?
    From the reading I've done so far, it seems like I have to manually enter keywords on each photo or do a batch update (and, again, manually enter them). I'd much prefer to have a list of keywords that I can scroll down, then just click to select. Is that asking too much of Aperture?

    jtj3 wrote:
    Hi - I'm still a Mac and Aperture noob, so please excuse me if the question is dumb or ill-formed...
    Welcome to the list and Mac's. Don't woory about your questions, veteran Mac and Aperture users here frequently post dumb and ill-formed questions.
    I used to use Photoshop Elements on a PC. I made pretty extensive use of "tags" (keywords, in Aperture lingo) for categorizing my photos. I wrote all the tags into the exif data of my photos, then copied everything over to Aperture.
    Now, when I pull up an existing photo in Aperture browser, I can see the keywords that I already added. Great...but, is there a way to extract all the existing keywords from all my photos, and build a "library" of keywords that I can pick and choose from for tagging future photos?
    I tried what you described to see what would happen. I opened an image in Preview and added a keyword to it (one I was sure wasn't in my Aperture) saved the file and imported into Aperture. The new keyword was bot in the EXIF data field of the image and in Apertures keyword list.
    Are you familiar with the *Keywords HUD* (*Window->Show Keyword HUD*)? If you look there do you see your keywords from your imported images?
    Alternatively - if I could export a keyword list from Photoshop Elements (in txt or XML format, whatever) is there a way that I can import that into Aperture?
    There is a way to import and export keywords see *+Exporting and Importing Keyword Lists+* in the +Aperture Users Manual+ (get to it by *Help->Aperture Help*)
    From the reading I've done so far, it seems like I have to manually enter keywords on each photo or do a batch update (and, again, manually enter them). I'd much prefer to have a list of keywords that I can scroll down, then just click to select. Is that asking too much of Aperture?
    Not at all, ask away (you may not always like the answer )

  • How do I create package groups from a set of packages?

    Hello,
    Suppose I have a set of packages to be grouped together so that I can do
    pacman -S <pkg_group_name>
    to install all the packages in that group, how do I do this?
    Thanks for your help,
    Anand

    groups=('pkg_group_name')
    in the PKGBUILDS.
    man makepkg, for future ref.

Maybe you are looking for