Get the value at a specific frequency

Hello

I'm new to LabView. Now I have a task to develop a vi that can add value at a specific frequency automatically.

There are two channels of signals. These data are produced by an external generator with scan function. These signals, therefore, with a different frequency. My task is to get the amplitude of the signal at a different frequency in the following table. That is, the vi can be recorded 450,9 the vi "detect" the frequency of the signal is 100 kHz. And then output a table as follows. The attached VI is to mimic the signals swept as the following table. So how can I do?

Any help will be much appreciated.

See you soon

Yang

V1out

V2out

Frequency (kHz)

Ratio

450,9

444.5

100.0

0.99

447,4

445,7

200.0

1.00

445,3

445,1

300.0

1.00

444,8

458,7

400,0

1.03

440.9

460,7

500.0

1.04

437.0

468,7

600,0

1.07

429,1

488.2

700,0

1.14

417.0

496.4

800,0

1.19

397,6

511.7

900.0

1.29

378.0

535,4

1000.0

1.42

Hi Yang

I'll send your VI with a few changes, I hope that you are looking for and I hope that this can help you!

Concerning

Tags: NI Software

Similar Questions

  • How to get the value of the interactive report into apex 5 column

    Hello

    I want to create the master detail report with ajax.

    If I want to get the value of a specific column of interactive report when click on one line and has a value of element of selected row column value.

    Then use the elements of value to refresh the details report.

    You have a better idea to refresh the report Details according to select line of the master report without refreshing the whole page?

    Hi SYSMAN2007,

    SYSMAN2007 wrote:

    I want to create the master detail report with ajax.

    If I want to get the value of a specific column of interactive report when click on one line and has a value of element of selected row column value.

    Then use the elements of value to refresh the details report.

    You have a better idea to refresh the report Details according to select line of the master report without refreshing the whole page?

    You can do this with the help of dynamic action. You need to get the value of the column of a line click in IR (using jQuery) and set the value to the elements which, in turn, can be used as a filter to other reports on the same page.

    See: How to use the values in the columns of an interactive report (Apex 5)

    Can you reproduce your problem on apex.oracle.com and share the credentials of the workspace, so that I can demonstrate how this can be achieved.

    See an example of how it can be done with dynamic actions: https://apex.oracle.com/pls/apex/f?p=35467:5

    Kind regards

    Kiran

  • How to get the value of the global element using javascript or ajax!

    Hello!

    How can I read at global(point application created in the shared components) using ajax or javascript?
    You can imagine that I need to get the value of this element by function as:
    -----
    Function getText() {var itemVal = $x ('MY_GLOBAL_ITEM') .value;}  Return itemVal; }
    -----
    .. .but I can't do it because it is not made to couse of the page it is global element! so, anyone know no work around to do?
    I know that I can make point page and read the value of that, but not what I really need!
    If I have 100 pages and all pages need to use my function, it would take 100 Articles :) - that's why its no good average!

    Please, share your ideas!

    THX

    Rafix,

    You must use a little AJAX to retrieve a request element value. Three steps in this solution. Implementation of a callable JavaScript function, creating an application process on the request and call the JavaScript function with dynamic action.

    1 set up a JavaScript function that can be called by:

    This function calls the process of application level which has a visibility of the element of your application and then returns the value of points.

    Edit your page and JavaScript code according to the code in the 'function and Variable global statement' of your page. You can also add to the model page, that you use, but you also have to encapsulate this code in the script tags.

    getAppItem = function(pItemName){
        var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=GET_APP_ITEM',$v('pStepId'));
        get.addParam('x01',pItemName);
        gReturn = get.get();
        get = null;
        return gReturn;
    }
    

    2. creating an application on request process:

    The application of level process has visibility to your application-level element. It is to retrieve the value of points and it prints the htp buffer. Essentially, this acts as a way to return the values of AJAX calls (the javascript function we set previously);

    go to the shared components > procedures > Create.

    Point process: "We Demand: run this application...". »
    Name: GET_APP_ITEM
    Type: Anonymous PL/SQL block

    declare
       -- get the item name passed into the JavaScript function.
       app_item_name varchar2(30) := apex_application.g_x01;
    begin
        -- print its value to the buffer
        htp.p(v(app_item_name));
    end;
    

    3. call the JavaScript function with dynamic action:

    The function call allows to specify an application-level element name and have its returned value. The trigger event is specific to what you need, but the action must be of type to run JavaScript code. In my case immediately the value of P1_NUMBER to my value of demand points. This code doesn't have to be in a dynamic action, but it helps to stay organized. you could call it from any script tag.

    $s('P1_NUMBER',getAppItem('MY_APP_ITEM'));
    

    See you soon,.
    Janet Tyson

  • Get the values and elements of object property

    If I have an object,

    MyObject = ({a: 3, b:5, c:8})})

    How can I get a list of items and their values according to their position

    Let's say I want to know what the name of the second element, how can I get the answer "b"?

    In addition, without knowing the name of the element how can I get the value of the second item "5"?

    Thank you

    Trevor

    It is, of course, a matter of Javascript, and the answer is not specific to InDesign, but I think you knew that already.

    The short answer is: you do not have. JavaScript does not have something on the positioning of the members of an object.

    There is no guarantee that b will remain the second element, and there is no way to get the members of an object by a sort of index rather than by their name.

    BTW, you write:

    MyObject = ({a: 3, b:5, c:8})})

    Which is too complex (extra parens) and missing a semicolon from the finish line. It is better written as:

    MyObject = {a: 3, b:5, c:8};

    You can iterate through the names of the keys of myObject, with i in myObject {...}, but still there is no guarantee of order. In ExtendScript, you could use myObject.reflect.properties to return the keys in a table, but you will get some extra junk and it's not really consider good practices to use the objects of reflection in non debug code.

    If you are wanting to do this, you are probably not using objects correctly.

    Can you tell us more about the problem you are trying to solve, please?

  • XML: How to get the value of the node when the node of pasing as a parameter name

    Hello

    I've got some xml:

    var xmlData:XML = 
    <1stNode>
        <buttonID>first child node value</buttonID>
        <imageID>second child node value</imageID>
        <labelID>third child node value</labelID>
    </1stNode>
    

    So, I want to read the value of specific node based on a value passed to a function. .

    var buttonID = new Button;
    
    var imageID = new Image;
    
    var labelID = new Label;
    
    
    getNodeValue(buttonID); //the value here is set dynamically
    
    private function getNodeValue (nodeName:String):void {
    
    trace (xmlData.nodeName)                      //doesn't work
    
    var str:String = "xmlData." + nodeName;
    var xml:XMLList = str as XMLList             //doesn't work
    
    }
    

    I don't know how to get the value when the name of the node is changed dynamically.

    use:

    getNodeValue(buttonID); //the value here is set dynamically
    
    private function getNodeValue (nodeName:String):void {
    trace (xmlData[nodeName])
    }
    
    
  • Get the value of the item application from another application

    Hello

    My apologies if this has been answered elsewhere, but it is very difficult to find something relevant when you are interested in the function V!

    My application consists of a number of different applications APEX that use the same cookie so that you can easily navigate between applications without having to log in again and to keep the same session id. Having separate applications allows to group pages and reuse the code easily.

    I have a requirement to be able to write the values stored in the fields in a single application to the database through a process on a page in another application. As a simplified example, that is to create messages and bookmarks of pages to display specific records in the database. The user will navigate through the system and find a record that they are interested, click on a button that displays a page from another application, enter in some details and then save the record in the database.

    The application of 'other' page knows the url of page called him, so that he knows also the application id and the page, but he doesn't know what file is being viewed. I can find the application and the page id is the name of the element that stores the primary key. I noticed that the V function also accepts the stream id, so it should be easy to then get the value by V (v_item_name, v_app_id). However it always returns null.

    I've simplified this by adding a page on the homepage (32561 application) process to insert a value in a table of test using a process page:
    insert into test values ('#'||V('P1_ID'));
    The result is #41
    So if I go to the page in the other application, I have a page process which is:
    insert into test values ('*'||V('P1_ID',32561));
    The result is *.
    I thought that maybe the other page of the application was ignorant of id flow, in that I spent, but change the above to:
    insert into test values ('*'||V('P1_ID',));
    The result is * 1 (the value of P1_ID in the other application)

    I'm doing something wrong? Have I misunderstood how the V function? Or is there another way I can retrieve the value of an element of application in another application?

    I am currently in 3.1.2, but I just tried this on apex.oracle.com (3.2) with the same results.

    Thank you very much
    Sara

    Hi Sara,.

    Have you seen the answer by Scott here -

    Re: Cross App State of Session

    Namely, using APEX_UTIL. FETCH_APP_ITEM

    APEX_UTIL.FETCH_APP_ITEM(
        p_item    IN VARCHAR2,
        p_app     IN NUMBER DEFAULT NULL,
        p_session IN NUMBER DEFAULT NULL)
    RETURN VARCHAR2;
    

    John.
    --------------------------------------------
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    AWARDS: Don't forget to mark correct or useful posts on the forum, not only for my answers, but for everyone!

  • Is it possible to get the value of the resistance of a circuit with NI USB-4065 USB without using studio measure?

    Hi, I'm working on a project where there partly to measure resistance values in different parts of the circuit. Now, the company where I work currently at wants to get the NI USB-4065 USB. I use visual studio 2005 c# to develop applications and I need to know if I needed measurement studio or are there drivers (dll) just to get the values of resistance and General measures of circuit. I have need the controls or anything, just to programatically read the NI USB-4065 USB key values when I need the application.

    Any help would be appreciated. Thank you.

    Yes, you can have several NI 4065 DMM in your system. When you use the API OR-DMM, you open the handles separately for each DMM by using its name. His name can be configured inside the measurement and Automation Explorer (MAX).

    In addition, you can go ahead and install OR DMM today. It is downloadable for free on ni.com. NOR-DMM (and most of the pilots NOR) supports the simulation. You go to MAX and create your simulated three 4065 s. Then you can start writing your program now. Since these devices are simulated, they will not return the real tensions (obviously) and that it won't react realistic hardware triggers if you use (obviously), but they are pretty close to the real deal to allow you to write a lot of code and become familiar with the API. No need to wait until you get the material - you can be really ready for it by using the simulation.

  • Scatter chart: get the value of the label XYcursor

    Measurement Studio Visual Studio Professional 2012 2013 using,.

    On a scatter chart, it is possible to get the value of the actual label for a xycursor?

    For example, my label displays a date-time on the X axis format, it looks like: [04: 35:49; 0,27101]

    It is possible to get this value? For example, if I want to display in a TextBox?

    I am able to get the xycursor. Which and xycursorYposition but not what I want.

    Thanks for any help!

    Here is a solution to my question:

    {

    Get xy cursor index of the point in plot
    int index = xyCursor1.GetCurrentIndex ();

    Get values at that time (in the plot)
    Double x;
    Double y;
    scatterGraph.Plots [0]. GetDataPoint (index, ByRef x, y);

    X value to the DateTime format & convert to the format of the time
    DateTime t = (DateTime) NationalInstruments.DataConverter.Convert (x, typeof (DateTime));

    string time = t.ToString("hh:mm:ss");

    }

    It is also possible for which xycursor and convert it in the same way.

  • [.ini files] Get the value of multiple labels with the same name

    Hello!

    In an ini.files, I need to get the value of each tag named in a certain way in a section, but unfortunately, I have 3 or 4 tags with the same name in several sections. I don't know how to retrieve these values, the program always consider that the first tag and not others, I tried to remove each tag after obtaining its values, that he did not.

    Does anyone have an idea to solve the problem?

    Thank you!

    As you can read in my last post, you must read and throw 'x' lines:

    OpenFile)

    Skip lines

    for (i = 0; i< x;="" i++)="" readline="">

    Start reading the useful lines

    ReadLine () / / read a line

    ... / / Interpret the line

    Don't forget to add a control during i/o operations of robust error and to check the end of the file.

  • How to get the value of DST?

    Hello

    Is there a shortcut to get the value of DST? For example, if the device is in London (for example), while I get back to London DST (+ 2, for example). And if the time zone is not DST, it returns 0 or null.

    I use it now

        int DST = TimeZone.getDefault().getOffset(1, rightnow.get(Calendar.YEAR), rightnow.get(Calendar.MONTH), rightnow.get(Calendar.DAY_OF_MONTH), rightnow.get(Calendar.DAY_OF_WEEK), rightnow.get(Calendar.MILLISECOND));
    

    It does not return the correct value. Thank you!

  • How to get the value of an editField on onUnfocus()

    I want to check the value of an editfield on focusout/focusouthandler(), how to get the value in the onUnfocus() method?

    getText

  • How to get the value of the TextField on Buton FieldChangeListener

    friends I am new on the development of blackberry applications could you please help me how to get the value of text I typed in the textField when I click the button?

    constructor

    public Dialogs()
    {
      
    using design in the same screen
      
    Display display = new MainScreen();
      
    ButtonField btnPress = new ButtonField();
    btnPress.setLabel ("press me");
    btnPress.setChangeListener (ButtonPressListener);
      
    TxtValue TextField = new TextField();
    txtvalue.setLabel ("enter something :");
      
    HFM VerticalFieldManager = new VerticalFieldManager (VerticalFieldManager.FIELD_VCENTER);
    HFM. Add (txtValue);
    HFM. Add (btnPress);
      
    mainScreen.add (hfm);
    pushScreen (mainScreen);
      
      
    }

    FieldChangeListener ButtonPressListener = new FieldChangeListener() {}
    ' Public Sub fieldChanged (field field, int context) {}
        
           
    Dialog.Alert (t.GetText ());
         
         
         
    }
    };

    any help would be appreciated.

    You must ensure that your FieldChangeListener has access to the object of txtvalue, while it can make a

    String inputString = txtvalue.getText ();

  • How to get the value of a column in sql query?

    Hi, anyone knows how to get the value of a column in sql query?

    Here is my code, the value must be 1350079224397 in my PB, but I get 0

    QString query ("SELECT version FROM db_version");

    QVariant result = sda.execute (query);
    QVariantMap versionMap = result.toList () such () .toMap ();
    If (! versionMap.IsEmpty ())
    {
    qDebug()<"Version: "=""><>
    }

    OK, I have the solution

    QString query ("SELECT version as version FROM db_version");

  • get the value of entry to screen addresscontact

    Now, I get a request, that need to get the input value, when the user types in the contactscreen.

    I made this function in the form of dia. But in touch sreen, when I debug, I see that this only suply only a default manager, who have that one field which is a subclass of ListField, but it didn't provide any method to get the value of line or data.

    someone at - it a good idea, it's really confused me.

    Thank you

    Thanks for your reply stone.

    Now, I have solved this problem, there is a delegated manager which can to be obtained by the getDelegate() method. She take the field, I really want to. The BB help document is not convenient that the google android platform.

  • Get the value of point of contact OFA

    Hi guys,.

    I am new to oaf, so this may seem like a very novice question. I tried several things, but could not solve it.

    There is an advancedtable region in my page. The first column of the advanced table has been put to contain elements of binding while the rest of the columns are messagestyledtext. The advancedtable would be filled with a few details of the item with the first column is the item number. The requirement is to fill in the details of article on click in the item number which essentially appear as hyperlinks.

    I try to get the number of the first column.

    pageContext.getParameter ("itemnumber");    ['itemnumber' is the ID of the binding inside the column inside the advancedtable element]

    This returns null, so I can't get the item number. Can someone please help me solve this?

    Thank you

    Sasmas

    You can see the bottom of thread for "the line being returned as null Reference".

    https://community.Oracle.com/thread/581600

    As an alternative, you can add parameters, p_item_num to the PPR method with value in the form ${oa.current.ItemNumber} (if the number represents the VO attribute name)

    In the processFormRequest, get the value using "pageContext.getParameter ("p_item_num")"

    Therefore, the code will be

     public void processFormRequest(OAPageContext pageContext,
                                       OAWebBean webBean) {
            super.processFormRequest(pageContext, webBean);
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            String event = pageContext.getParameter("event");
            if ("itemLinkClicked").equals(event)) {
            {
                   String itemNumber = pageContext.getParameter("p_item_num");
    
                    Serializable[] parameters = { itemNumber };
                    am.invokeMethod("fetchItemDetails", parameters);  
    
            }
        }
    

    Thank you

Maybe you are looking for

  • Firefox 25.0.1 and Facebook have JavaScript problems

    I use Firefox with Mac IOS 10.9 25.0.1 on my Macbook Air. Trying to access Facebook, I tells me that I need to activate JavaScript in my browser or go to the mobile site. I do give me some instructions on the activation of JavaScript, I can find Java

  • Portege M700 - replacement of the battery - replacement work?

    The existing block will charge is no longer. It's a Li - ion PA3191U-5BRS - 10.8V 4700 mAh. I have a spare battery almost new for my earlier Portege with idenitcal fittings but with 4600mAh 10.8V. It is not a model of Toshiba and said that it was to

  • Satellite Windows L50 - B - 2-4-10 Driver Support

    When can we expect begin to receive the support of drivers for Windows 10. I tried upgrading to Windows 10, but many drivers do not install or operate fully due to compatibility issues. When Toshiba does intend to extend support for the new operating

  • Login screen broken

    I use the latest version of Skype (6.22.81) on Windows 8.1, I broke the Skype login page - it's the display without style. Except this everything works fine. I looked at all the solutions - probably, but none of them does not work for me - in the reg

  • change the screen resolution

    I have a laptop HP G72 - some time between when I went to bed and now the resolution on my built-in display has changed.  Currently, it indicates a maximum resolution of 1600 X 900.  The icons seem to be at least 50% larger than the last time I used