How to view different sine waves in an array and make an fft of these and display it in one graph

How can i cannect the output of my mathscript in the Spectral Measurements VI SIgnal Input. I'm having a problem since the output of the mathscript file "D" is DBL 2D. I dont know how to convert this data type in order to be connected to the signal input of the Spectral Measurements VI. I also want that the waveform graph connected to output of the Spectral Measurements VI, will display the FFT of the three sine waves in one graph.
Attachments:
1.JPG ‏32 KB

Duplicate
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • How to get the sine wave sample of the input and output in the same time?

    I discovered that the samples were acquired did not in the same time in my vi.Could you tell me how to get the sine wave sample of the input and output in the same time?
    Output:9263;
    Input:9201
    Attachments:
    singal requency.vi ‏104 KB

    Hello Yun_Zhu,
    Your VI looks like you started from an example, and you are on the right track. 
    To clarify are you trying to synchronize the input and the output waveforms?  If you you will need to share a time base and a start trigger.  Check out the synchronization examples from LabVIEW
    Anthony F.
    Product Marketing Engineer
    National Instruments
    Attachments:
    HIODAQmxSyncMultiDev.png ‏70 KB

  • How to view C/C++   pointer as an array in Xcode GUI debugger?

    How to view C/C++ pointer as an array in Xcode GUI debugger?

    A similar question was asked recently regarding strings. You cannot pass pointers in LabVIEW as you do in C. You can pass an array to a DLL, but that means you would need to write a wrapper DLL. Be sure to read the section in the LabVIEW Help on calling code from text-based languages and also take a look at the "Call DLL" example that ships with LabVIEW  - it contains many examples of how to deal with various datatypes.

  • How to capture an image from my usb camera and display on my front panel

    How to capture an image from my usb camera and display on my front panel

    Install NI Vision Acquisition Software and NI IMAQ for USB and open an example.
    Christian

  • I in have a product registered an old account, how do i move it to a new account and close the old one?

    I in have a product registered an old account, how do i move it to a new account and close the old one?

    COntact support by web chat.
    Mylenium

  • How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    Okay, I haven't found a way to add an extra space using Find/replace, but you might be able to add some text wrap to the check boxes that will push the text away from them.
    Open Find/Replace and click the Object tab.
    Click the Specify attributes to find button to the right of the Find Object Format: field.
    Under Basic Attributes, choose Stroke and then the Black swatch (assuming the black swatch is applied to the strokes of your check boxes). If there are no other stand-alone objects in your form with a Black stroke, this should be all you need. (If there are Black strokes on your table cells, they will be ignored.)
    Click OK
    Click the Specify attributes to change button to the right of the Change Object Format: field.
    Under Basic Attributes, choose Text Wrap & Other > Text Wrap > Type: > Wrap around bounding box (2nd button from left)
    Under Offset, set a Right offset at the distance you'd like to add (I don't know what units you use, but the 3-5 points might work for your purposes...might take some trial-and-error to get it where you want)
    Click OK
    Click Change All

  • How much time an LCD screen can stay on and displaying images?

    Suppose I'm rendering on the new '27 iMac, how much time the LCD screen can stay on and displaying the same image? (Like the desktop, or a very slow progress bar).
    And, if there is a difference, how much time it can stay simply on and showing differents images?
    I have to use a screen saver? (but it consume some power to the rendering) If yes, after how much time? And what kind of screen saver, simply black screen or somethig animated?
    I have to turn off the display only? (but this can conflict with some particular software...) If yes, after how much time?
    Thanks.

    Suppose I'm rendering on the new '27 iMac, how much time the LCD screen can stay on and displaying the same image? (Like the desktop, or a very slow progress bar).
    And, if there is a difference, how much time it can stay simply on and showing differents images?
    I have to use a screen saver? (but it consume some power to the rendering) If yes, after how much time? And what kind of screen saver, simply black screen or somethig animated?
    I have to turn off the display only? (but this can conflict with some particular software...) If yes, after how much time?
    Thanks.

  • How do I simulate sine waves up and down several triangular waveforms?

    I need to simulate a number of sine waves at about 10 or 20 Hz and run these up and down a number of triangular waves. I am using the "Simulate Signal" box which generates the sine waves but am not sure what or how to connect to this to "ramp" the sinusoidal waves up and down triangular waves. The triangular waves would run at about 1 Hz.
    thanks
    Martin

    Martin,
    It seems as if you could use a second "Simulate Signal" VI, set it for a triangle pattern at your desired frequency, and then add the resulting waveform to the sine waveform. If I run that in a loop, I get a nice ramping sine wave (see attached image).
    Hope it helps,
    John
    Attachments:
    triangle_sine.png ‏8 KB

  • How to obtain a sine wave polar representation?

    i need some hint

    LabVIEW has a polar plot. I do not know if the Base Version has the featur though. Goto functions >> graph >> ctls >> polar plot indicator. This places a combination VI and picture control on the diagram and front panel. The data terminal for the VI is an array of clusters of mag and phase in degrees. You can easily construct the data for a sine wave in a For Loop by bundling 1 with the i and building an array of 360 elements.

  • How to set different font for numbers in headings and TOCs

    Hi,
    I've noticed some people use a different font for numbers in headings and TOCs to get some extra magic. Is there any way to automate such use of fonts in the paragraph styles?
    Oh, and any suggestions on what fonts would be good for numbers?
    Thanks!

    I was merely continuing on the original theme -- any digit in any character style. It was only later revealed that (a) the OP needed old style figures, and (b) those were available in his font from the start.
    The negative lookahead is the answer to his question (copied in full now)
    Based on the above InDesignSecrets tutorial, does anyone know what to do if some of the numbers end with a dot or a comma?
    Like the Norwegian date format: 13. mai 2009
    Or the Norwegian way of pricing items: 2900,-
    and my example shows it can be done, but with an added caveat. If digits are to be set in red, using the exceptions the OP asks for, my example sentence will come out as
    "Think of a number between 1 to 10, but don't use 9."
    rather than the (here) intended
    "Think of a number between 1 to 10, but don't use 9."

  • JSP, DataWebBean: How to dynamically set the where clause of query and display record

    Hi,
    I am reposting this question as per suggestions made by Mr. Dwight.
    I have used ViewCurrentRecord web bean to display records from EMP table. I have to use the Dept_Id_FK from the current
    record of the EMP table to display corresponding records of Dept table. I have a view object called DeptView in my Business
    Components which selects all the records from the Dept table.
    How do I get the value of Dept_Id_FK and use it to display the required records of the Dept table?
    I tried to declare a variable and get the value of Dept_Id_FK but it did not work. My code is as follows:
    <%! String m_DeptId = null; %>
    <jsp:useBean id="RowViewer" class="oracle.jbo.html.databeans.ViewCurrentRecord" scope="request">
    <%
    RowViewer.initialize(pageContext, "EMPApp_EMP_EMPAppModule.EMPView1");
    RowViewer.setReleaseApplicationResources(false);
    RowViewer.getRowSet().next();
    m_DeptId = (String)RowViewer.getRowSet().getCurrentRow().getAttribute("DeptIdFk");
    %>
    </jsp:useBean>
    Thanks.
    null

    First of all, Thank you very much for making use of the new topic format. It is very much appreciated.
    As for your question, I think there are several different ways to accomplish what I think you want to do.
    1. Create a view object that includes both Emp and Dept entities and join them there. In this case, your query would look something like this:
    Select e.empno,e.name,...,d.dname,d.loc from emp e, dept d
    where e.deptno = d.deptno
    You should be able to create a JSP off of this view object that contains both the employee and department information. In this case, BC4J takes care of the foreign key to primary key coordination.
    2. In order to set a dynamic where clause for a view, you need to do the following in your usebean tag:
    rsn.initialize(application,session, request,response,out,"DeptView");
    rsn.getRowSet().getViewObject().setWhereClause("deptno=" &#0124; &#0124; m_DeptId);
    rsn.getRowSet().getViewObject().executeQuery();
    rsn.getRowSet().first();
    You will need to do this in a separate usebean tag from the EmpView, since the usebean can only initialize one view object.
    In other words, you would have your ViewCurrentRecord bean tag for the EmpView, then a separate one for the DeptView where you use the above code to set the where clause to display just the information for the department you want.
    Another option, but one I'm not sure would work as well, is to create a master-detail JSP to do this for you. Usually a master-detail is a one-to-many (one department to many employees). Your request appears to be the reverse, but might still be doable using the same mechanism.
    You set up relationships between views in your BC4J project using View Links. If you used the BC4J project wizard and created default views, some of these links may have been created for you. They are created when BC4J detects a foreign key to primary key relationship in the database.
    You can create your own View Links using the View Link wizard. Select your BC4J project node and choose Create View Link... from the context menu. You will be asked to select a source view (Emp), and a target view (Dept), then select the attribute in each view that related the two of them (deptno).
    Next, you need to reflect this new relationship setting in your application module. Select your app module and choose Edit from the context menu. On the data model page, select the EmpView node in the Selected list. Now select the DeptView node in the available list and shuttle it over. You should see DeptView1 via yourlink appear indented under the EmpView node. Save and rebuild your BC4J project to reflect the changes.
    In your JSP project, you can now have the wizard create a master-detail form for you based on DeptView1.
    Let me know if the above answers your question, or if I have misunderstood what it is you wanted to do.
    null

  • HOW DO I SCAN MULTIPLE PAGES OF A DOCUMENT AND KEEP IT IN ONE DOCUMENT ON A HP PHOTOSMART 5510

    HOW DO I SCAN MULTIPLE PAGES OF A DOCUMENT AND KEEP THAT DOCUMENT AS ONE

    Hello @MYBOU2 ,
    Welcome to the HP forum.
    What you are asking should not be too hard. The key factor right now is: what is your operating system?
    The process is different on a Mac compared to a Windows computer.
    This link explains how to do what you want with windows 7.
    Scan from Windows 7 With the Full Feature HP Software for HP Multifunction Printers
    Please let me know your OS and I will get more specific instructions.
    Aardvark1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!

  • How can I remove my account on an iPad and add an existing one

    how can I remove my account on an iPad and add an existing one

    Or, how can I change the account on an existing iPad without restoring / formatting it?

  • How can I select all messages in Inbox, Trash and/or Bin in one go to delete them.  I currently have 3000  unwanted messages in my Bin box and wish to delete them without having to individualy select them 50  at a time.y

    How can I select all messages in either my Inbox, Trash and /or Bin in one go to delete them all in one go.  I currently have 3000+ unwanted messages in my Bin

    Click on the inbox then Edit>Select All (if you are using Mail, if not you'll have to tell us which mail program you use) repeat in other mailboxes as needed.

  • How do I retrieve all data from a table and display it on a text area?

    I want to retrieve all the data from one of my MS Access data table and display them all in a text area. how do i go among doing this?
    In my car table i have the fields lined up like this..
    license,color,doors and year_made
    I have an Object class called CAR that will contain methods to set the data from these fields when it gets retrieved.
    here's what i go so far.....
    statement = getDBConnection().createStatement();
         rs = statement.executeQuery("select * from car");
         boolean moreRS = rs.next();
    if(moreRS)
    car.setLicense(rs.getLong(1));
         car.setColor(rs.getString(2));
         car.setDoors(rs.getString(3));
    car.setYearMade(rs.getString(4));
    //but this will only get me one car. How do I get more car data?
    HELP!!

    Vector cars = new Vector();
    while (rs.next()) {
      String license = rs.getLong(1);
      String color = rs.getLong(2);
      String doors = rs.getLong(3);
      String year = rs.getLong(4);
      myTextArea.append(license+"\t"+color+"\t"+doors+"\t"+year+"\n");
      Car car = new Car();
      car.setLicense(license);
      car.setColor(color);
      car.setDoors(doors);
      car.setYearMade(year);
      cars.add(car);
    }t=tab
    n=newline
    Vector: http://java.sun.com/j2se/1.4.1/docs/api/java/util/Vector.html

Maybe you are looking for

  • Several Questions from a Seasoned Itunes User...

    1) Is there a way to delete all my duplicates, but keep songs with the same title from different albums? For example, how do I keep Phish's "Bouncing Around The Room" from Lawn Boy, AND "Bouncing Around The Room" from A Live One, but delete one of th

  • Scaling 1-bit bitonal black and white images

    I have an image of a document that was scanned black-and-white (1-bit color depth) that I need to display and scale. When I use Flex's built in Image.Scale it scales very "choppy" and unreadable. When I scale the same image in Photoshop, it seems to

  • Importing a .mov for editing in FCP

    I am working on a project for a client where they had me import a bunch of VOB files from DVDs for the purpose of editing and exporting in a Windows/PowerPoint friendly format like .wmv. I'm using mpeg streamclip to convert the VOB files. Many of the

  • PHP/Oracle/Apache on Windows mid tier

    Hey, I am trying to set up PHP to connect to my oracle instance using apache. The PHP/Apache set up is on XP, which I also have a 9i client installed. I am trying to then connect to a database on a linux box. the 9i client works fine, SQL*Plus and ev

  • IPod update server?

    What has happened to update server? I can't enable voiceover on my ipod shuffle.