Why the table in the output of MT complex waveform modulation FSK 255 elements missing?

Hello! I posted my question in the LabVIEW forum but an application engineer suggested I post here. I'm new so any help would be appreciated

I use this example FSK in LabVIEW (VI is attached). As it can be seen in the block diagram, the number of samples by specified symbol is 512. If I run 2 - FSK, I have 1 bit per symbol. So I if I have 128 bits, 128 symbols. and if I have 512 samples per symbol, I expect 65536 samples/elements in the complex waveform of the MT output modulation FSK. However, I get only 65281 elements in the table. There are 255 missing items.

If I run 4 - FSK and have 128 bit or 64 symbols, I expect to 32768 in the table. But then again, I'm running out of 255 items and get 32513.

Am I missing out on something? Have I misunderstood something? Thank you very much for your help.

I get the same results as you!

I Dove a little inside, and it seems that the code that generates the symbols, two layers down, which reports an explanation to this.

If you open MT modulate FSK.vi, then mod_FSK modular Phases.vi discontinuous to generate in the discontinuous case of the structure of the case, you will see the following code.

You can see that when Reset is set to True (the default) and the external-loop for is in his first race, the inner-loop for work (samples per symbol) / 2 + 1 times (in your case, this number is 512 / 2 + 1 = 257.) Subsequently, the inner-loop for runs with 512 for each outer loop for iteration. This means that the first round fail to 512-257 = 255 samples, which causes the total to 255 less samples.

I don't know what is the motivation behind this design. As a test, you could connect in a constant False to Reset of the MT Terminal modulated FSK VI, which causes all the samples to generate.

Hope that clarifies it.

Tags: NI Products

Similar Questions

  • Why the outputs that are grouped in a waveform chart in a loop of Simulation show distortion?

    Is anyone know why the outputs that are grouped in a graphic waveform distortion to see the Simulation loop unlike these forms of output wave that are placed individually in each waveform graph Microsoft Graph?


  • Why the output signal is pulled up to stop the program in RT

    I use 9401 output a PWM signal. When I run the program FPGA and the stop, it does nothing statement. BUT when I run the program through RT using the compiled bitfile and stop, there will be a high level of 110ms.

    Here's my diagrams FPGA and RT of a simple signal output.

    I wonder why this could happen? Should I observe all specific during the programming of the RT?

    Thanks in advance

    You can add logic to ensure that the output goes low when the judgment is TRUE within your unique Timed Cycle loop.  My guess is that you just see a delay between when the FPGA is ordered to stop and when the file bit is actually closed and the FPGA is reset.

  • why the output is 1. can someone explain

    What is the result of the following

    StringBuffer sb1 = new StringBuffer("Amit");

    StringBuffer sb2 = new StringBuffer("Amit");

    String ss1 = 'Amit';

    System.out.println(sb1==SB2);

    System.out.println (sb1. Equals (SB2));

    System.out.println (sb1. Equals (SS1));

    System.out.println ("Poddar". Substring (3));




    Years:
    (a) false
    fake
    fake
    Dar
    (b) false
    true
    fake
    Poddar
    (c) compiler error
    (d) true
    true
    fake
    Dar


    Correct A

    Can someone explain why the answer is?

    try to create a sampling program and run u will know.

    equal to equal is method in the string class.

  • Why the pop-up windows by adding modules mean and how to get rid of

    This forum must be able to accept an image with the request.

    This is so I'll do a work around images because the forum is defective

    In all honesty, I don't understand what you're asking. I'm not a * h0le at this time. Ask yourself why the ' you have chosen to open: (filename)... ". "dialog box appears?

    Your message has absolutely no information outside of the image (and the title which is not proper English). I gave the information that has worked for me, because it's my understanding I think that you wonder why that dialogue pop rather than do all that automatically (like Firefox). But ThunderBird does the same thing for me. If I showed you how to install the plugin. This is what worked for me, if it worked for you or not is different.

    But you're obviously offended me to treat you in the same way that you treated me... So cut the crap, grow some balls (you look well on the age, you should have gotten some) and have little respect for people.

  • Why the output on my iMac sound decreased significantly?

    I noticed a few days ago the audio output on my iMac has dropped considerably. I have my computer hard wired to a nice stereo receiver, and the amount necessary to bring the receiver is much larger than a few days ago. I also have an Airport Express connected to the receiver for wireless streaming. I get a result even worse when I listen to music wirelessly on the stereo. So, the same thing happens if I broadcast wireless or hard wired. Is it a hardware problem or software? I don't know where to begin on this one. When I stream music from my iPhone on the same stereo, all right. So the problem must be with the computer. I'm lost here. Help, please.

    Hello.  Have you reset the NVRAM?  If not, then follow the instructions here: How to reset the NVRAM on your Mac - Apple Support

    If resetting the NVRAM does not work, try a SMC reset: reset the management system (SCM) controller on your Mac - Apple Support

  • CS4: Clearly the source, but the motion blur of the output gives the export

    Hello!

    When exporting my videos imported into CS4, quick movement appears blurry, even if the source is much clearer.

    Demo 1: Source, output
    Demo 2: Source, output

    I was hoping someone could explain to me why the output is much more blurred and if possible, how to fix it.

    Sequence options:
    I tried a bunch of sequence different presets such as AVCHD/AVC-Intra/HDV/XDCAM/P2, or custom options (parameter FPS to 29.97, 30, 59.94, 60 fields/up/down, change the display format), but the output is blurry, no matter what I try. Made with upper/lower case fields does not; so the progressive setting is probably correct.

    I have also created a project without a sequence, imported the clip and it has exported directly; the output was still unclear.

    Export options:
    I used recommended an export preset for export on Vimeo (see paragraph CS4), which uses the H.264.

    Information about the source clips:
    They are filmed with my GoPro Hero HD cam to 720 p 60.
    MediaInfo output: video, audio
    Output of GSpot
    Interpretation of the creation of a clip

    My system:
    Windows 7. 4 GB of Ram, but 32 bits, up to 2.8 GB of RAM is used.
    Intel Core i3 550, 3.20 GHz
    Video card: Nvidia Geforce 8800GTS 320 MB of RAM
    1 monitor

    I hope that this information is sufficient, please let me know if there is anything I should add.
    Even if it is not possible to fix it, I hope someone can explain to me why the output is so different from the source!

    Thank you!

  • How to call a Java method n map the output of this method to a table in ODI

    Hello

    I am new to ODI. I wrote an interface that links the two tables (source) to a file (in the target). Now, I must apply a method (java call) on each element in a column in the target. Now my questions are:

    1. all I know is to use the procedure using BeanShell Java or Jython. Can you give some examples of commands to achieve such a feature?

    2. where should I actually apply this procedure? Is it possible to apply this procedure within the Interface during the mapping (so that I can map directly the result in the output file)?

    Thanks in advance :)

    Not sure why you want to call a java method for each column.
    But as others have mentioned, an ODI procedure won't help you do.

    However, there are other options you can exercise:
    (1.) assuming that you are using Oracle, you can compile the Java class and wrap it as a PL/SQL function and then call this function from pl/sql to the ODI interface. This procedure will be called like any other function oracle for example. Upper (col1).

    (2.) as I understand, it's that you want to apply the Java method for all columns.
    Assuming that you have knowledge with Jython and the code inside the KMs, you can customize the KM to include the Java method around the columns. But this approach is complex if you are a beginner.

    Hope that helps

  • Why the SD-R6112 drive will not read the table of contents through DVD Decrypter?

    Why the hell used my reading of DVD-ROM/R/RW Toshiba SD-R6112 the TOC through DVD Decrypter?
    She normally does! I use nero, Decrypter, DVD Shrink, and even Windows medai Player 9 series.

    It was working fine 2 days ago now pfft, will not work. Everything in the settings of the device checked, said everything works properly without conflicts. I unloaded the driver and rebooted then loaded it, same problem. I tried a disk driver that came with my laptop and is responsible, it is very good, so I take this CD work correctly, but won't load DVD. With DVD Decrypter, it says: could not retrieve the table of contents.

    There must be a solution!

    Hello

    Are you trying to make illegal copies of DVD? ;)

  • Storage of the outputs digital of an element in a table 1 d

    Hi all

    It must be simple and easy, but I don't seem to get it. A sample VI is attached.

    I have a slider control which I do a manipulation to generate an output of the digital item. I can keep on sliding and get that the output generated, but now I need to store all the possible exits in a 1 d table.

    Your help will be very appreciated.

    Concerning

    Yes quite simple and easy.  You missed a few basics about LabVIEW. See the note to the modified VI.

    (Also presented as snippette for those who don't mind the commitment of the DL

  • Newbee question: why a RTF model increases the size of the cells on the output

    We are new to BI publisher and work to the conversion of our custom reports to BI Publisher crystal. We currently use PeopleSoft 9.1 with 8.51.12 tools and are about to upgrade to 9.2 next year. Our office of BI Publisher comes bundled with peopleSoft and that our version of BI Publisher Core is 10.1.3.4.1. Then we use Office 2013. I started to look into these reports and found something that I do not understand:

    When you add a simple table to the model, the filling of a field and running an overview pdf size are increased and spacing is added above and below the text. I looked through all the spacing options I know, but can't seem to find where I can change this.

    template.jpg

    Any suggestion will be appreciated...

    Thanks for the files.

    Data from the xml structure is to have a new line of character as below

    Instead of

    and if the additional lines were added in the output.

    To avoid this, you need to cut the space beginning and end.

    So, to add the syntax like

    and the result will be like this

  • Why some OCD is not used to generate the output?

    I use RoboHelp 11 on Windows 8.

    I use a print single source layout that uses a table of specific contents. However, when the output is generated the same set of topics are included, none of which are in the selected table of contents. I'm mystefied, and in the hope that there is something that I forgot to select Properties.

    Here's what I use.

    SSL_Problem.png

    And here is the created files:

    PrintedDocumentationOutput.png

    The TOC file is empty. The 'Expédition' file contains the contents of a subject who is not in the table of contents.

    Help?

    AHA. Found the answer in the article by Peter Grainge (printing problems). Thank you, Peter!

  • Why the hell use nested tables?

    Hello
    I'm boning up on top of the PL/SQL (again) waiting to get a new job.
    I have several years of experience in various roles related to the data, including many used Oracle.
    On the issue of collections, I ask myself, in light of my experience, to find and not for the first time, why the hell would anyone want to do this:

    create or replace type TEST_TT as table of varchar2(10);
    /
    
    create table TEST_TABLE ( X number
                             ,Y test_tt) 
                             nested table Y store as Y_TABLE;                      
    I really, really, can't think why we want to store data like that. It seems unnecessarily complex, hiding a one-to-many relationship inside TEST_TABLE, which should rather be modeled and implemented as a separate table.
    In addition, there are a lot of tutorials on the collections that tell us how to do the above (in fact I read Feuerstein right now), but nobody seems to tell us WHY we should do it.

    Can someone help me out here?

    Thank you.
    Jason

    I can't imagine wanting to create a table like this one either (or, if this can help, can Tom Kyte).

    The collections are terribly useful in PL/SQL, when they help you avoid one treatment per line. I can't imagine wanting to integrate into my data model. Frankly, it's much the same with the types of objects - they are quite useful in PL/SQL, but I would never want to create a table in my data model that contained an object.

    Justin

  • How do I get the output of a function table

    Hi all

    Kindly share your idea.


    I need the outputs of a function table only.

    Database version: oracle 10.1.0.2.0

    login_details:

    login_id branch_code

    admin 1
    Admin1 2
    Test 1
    user 1

    I need output for the query function below.

    Select login_id from login_details where branch_code = '1';

    If I create a function:


    FUNCTION to CREATE or REPLACE fn_get_login (pvBranch varchar2)
    IS BACK SYS_REFCURSOR
    REF_TEST SYS_REFCURSOR;
    BEGIN
    OPEN FOR REF_TEST
    Login_id SELECT FROM login_details WHERE branch_code = pvBranch;
    RETURN REF_TEST;

    END;
    /


    Select * from login_master where login_id in (select fn_get_login('01') from double);


    and get

    ORA-00932: inconsistent data types: expected - got CURSER

    Edited by: 887268 October 8, 2012 12:25

    You cannot use a Ref cursor in a table, because it isn't a result set of data, it's just a pointer to a request for enforcement.

    {: identifier of the thread = 886365}

    A ref cursor must be used if you want to refer the request to an external application.

    Transfer data back to a function is to use a pipeline for example function

    SQL> CREATE OR REPLACE TYPE num_descript AS OBJECT(num number, descript varchar2(30))
      2  /
    
    Type created.
    
    SQL>
    SQL> CREATE OR REPLACE TYPE tbl_num_descript AS TABLE OF num_descript
      2  /
    
    Type created.
    
    SQL>
    SQL>
    SQL> CREATE OR REPLACE PACKAGE reftest AS
      2    FUNCTION pipedata(p_choice number) RETURN tbl_num_descript PIPELINED;
      3  END;
      4  /
    
    Package created.
    
    SQL>
    SQL> CREATE OR REPLACE PACKAGE BODY reftest AS
      2    FUNCTION pipedata(p_choice number) RETURN tbl_num_descript PIPELINED IS
      3      v_obj num_descript := num_descript(NULL,NULL);
      4      v_rc  sys_refcursor;
      5    BEGIN
      6      IF p_choice = 1 THEN
      7        OPEN v_rc FOR SELECT empno as num, ename as descript FROM emp;
      8      ELSIF p_choice = 2 THEN
      9        OPEN v_rc FOR SELECT deptno as num, dname as descript FROM dept;
     10      END IF;
     11      LOOP
     12        FETCH v_rc INTO v_obj.num, v_obj.descript;
     13        EXIT WHEN v_rc%NOTFOUND;
     14        PIPE ROW(v_obj);
     15      END LOOP;
     16      CLOSE v_rc;
     17      RETURN;
     18    END;
     19  END;
     20  /
    
    Package body created.
    
    SQL> select * from table(reftest.pipedata(1));
    
           NUM DESCRIPT
    ---------- ------------------------------
          7369 SMITH
          7499 ALLEN
          7521 WARD
          7566 JONES
          7654 MARTIN
          7698 BLAKE
          7782 CLARK
          7788 SCOTT
          7839 KING
          7844 TURNER
          7876 ADAMS
          7900 JAMES
          7902 FORD
          7934 MILLER
    
    14 rows selected.
    
    SQL> select * from table(reftest.pipedata(2));
    
           NUM DESCRIPT
    ---------- ------------------------------
            10 ACCOUNTING
            20 RESEARCH
            30 SALES
            40 OPERATIONS
    
    SQL>
    

    but of course, it is wise to just use pure SQL that in order to mix the PL/SQL in queries in the form of best performance features.

    Perhaps explain what problem you are trying to solve when trying to use a function, and we can advise you on the best options.

  • Insert the output of a refcursor procedure into a table

    Hello

    I met a scenario in which I need to put the insert records returned by a procedure using refcursor, at a table.

    I followed the instructions in PL/SQL 101: understanding Refcursor (PL/SQL 101: understanding Ref Cursor am unfortunately still not able to do so.)

    Here is my sample codes. (Copied here as advised by the new Member)
    create or replace PROCEDURE TEST_PROCEDURE1 ( p_cursor OUT SYS_REFCURSOR)
    AS
    BEGIN
    OPEN p_cursor FOR
    SELECT C1,C2
    FROM TEST_USER.test_table4procedure;
    END;
    I check the result using the following statement, which gives results.
    variable rc refcursor;
    exec TEST_USER.TEST_PROCEDURE1 (:rc)
    print rc;
    Now, I want to be able to use the output and insert the data into a table. That's how I came across this thread.

    I created the types and function...
    create or replace type test_user.type_table1 as object(var1 varchar2(50),var2 varchar2(50));
    create or replace type test_user.type_table2 as table of test_user.type_table1;
    
    create or replace function test_user.test_function1 (rc in sys_refcursor )
    return test_user.type_table2 is
    v_emptype test_user.type_table2 := test_user.type_table2(); -- Declare a local table structure and initialize it
    v_cnt number := 0;
    v_rc sys_refcursor;
    v_var1 varchar2(20);
    v_var2 varchar2(20);
    begin
    v_rc := rc;
    loop
    fetch v_rc into v_var1, v_var2;
    exit when v_rc%NOTFOUND;
    v_emptype.extend;
    v_cnt := v_cnt + 1;
    v_emptype(v_cnt) := test_user.type_table1(v_var1, v_var2);
    end loop;
    close v_rc;
    return v_emptype;
    end;
    After that, I want to be able to view the records by using the function... so I used the instructions below...
    variable rc refcursor;
    exec TEST_USER.TEST_PROCEDURE1 (:rc)
    SELECT * FROM TABLE(test_user.test_function1(:rc));   
    However, it fails with the error

    Error from line 3 in order:
    SELECT * FROM TABLE (test_user.test_function1 (:rc))
    Error report:
    SQL error: Missing a setting IN or OUT to index: 1

    Help, please...

    Your code does not work for a simple reason. SYS_REFCURSOR parameters must be in IN OUT mode. Check if the RC is open when he switched mode:

    create or replace type type_table1 as object(var1 varchar2(50),var2 varchar2(50))
    /
    create or replace type type_table2 as table of type_table1
    /
    create or replace PROCEDURE TEST_PROCEDURE1 (p_cursor IN OUT SYS_REFCURSOR)
    AS
    BEGIN
    OPEN p_cursor FOR
    SELECT ENAME,JOB FROM EMP;
    END;
    /
    create or replace function test_function1 (rc in sys_refcursor )
    return type_table2 is
    v_emptype type_table2 := type_table2(); -- Declare a local table structure and initialize it
    v_cnt number := 0;
    v_var1 varchar2(20);
    v_var2 varchar2(20);
    begin
    if rc%isopen
      then
        dbms_output.put_line('rc is open');
      else
        dbms_output.put_line('rc is not open');
     end if;
    loop
    fetch rc into v_var1, v_var2;
    exit when rc%NOTFOUND;
    v_emptype.extend;
    v_cnt := v_cnt + 1;
    v_emptype(v_cnt) := type_table1(v_var1, v_var2);
    end loop;
    close rc;
    return v_emptype;
    end;
    /
    variable rc refcursor
    exec TEST_PROCEDURE1(:rc)
    set serveroutput on
    SELECT * FROM TABLE(test_function1(:rc))
    /
    SELECT * FROM TABLE(test_function1(:rc))
                        *
    ERROR at line 1:
    ORA-01001: invalid cursor
    ORA-06512: at "SCOTT.TEST_FUNCTION1", line 15
    
    rc is not open
    SQL> 
    

    Now IN OUT parameter edit mode:

    set serveroutput off
    create or replace function test_function1 (rc in out sys_refcursor )
    return type_table2 is
    v_emptype type_table2 := type_table2(); -- Declare a local table structure and initialize it
    v_cnt number := 0;
    v_var1 varchar2(20);
    v_var2 varchar2(20);
    begin
    if rc%isopen
      then
        dbms_output.put_line('rc is open');
      else
        dbms_output.put_line('rc is not open');
     end if;
    loop
    fetch rc into v_var1, v_var2;
    exit when rc%NOTFOUND;
    v_emptype.extend;
    v_cnt := v_cnt + 1;
    v_emptype(v_cnt) := type_table1(v_var1, v_var2);
    end loop;
    close rc;
    return v_emptype;
    end;
    /
    variable rc refcursor
    exec TEST_PROCEDURE1(:rc)
    set serveroutput on
    declare
    v_emptype type_table2 := type_table2();
    begin
    v_emptype := test_function1(:rc);
    end;
    /
    rc is open
    
    PL/SQL procedure successfully completed.
    
    SQL> 
    

    Problem is that you can't call the procedure/function with parameters in/out OUT of SQL.

    SY.

Maybe you are looking for

  • Printer HP Photosmart D110 CN731A shipping instructions

    I will ship my printer HP in India. Before should the expedition I remove the ink cartridges. After reaching the India I will be able to use the same cartridges. I have to seal the cartridges. Another think to take care of?

  • General doubts

    Hello I can't understand what is the functionlity of Manager.HORIZONTAL_SCROLL_MASK. Manager.HORIZONTAL_SCROLLBAR_MASK Manager.VERTICAL_SCROLL_MASK   What is the difference of them without a mask. Thanks in advance. Sree Harsha.P

  • BlackBerry Smartphones Blackberry 9300 Trackpad keeps freezing! :(

    Hey guys, so I have a curve 9300 and the stupid trackpad keeps freezing: '(im obtenir frusterated jolie parce que je ne peux pas quoi que ce soit dele de tout avec mon téléphone et sa commence à vraiment me piss OFF. does ne1 d'autre ont le même prob

  • SX20 INSTALLATION

    Hello I have 8.6.2.21900 - 5 CUCM, and I installed cmterm - s52010tc7_0_1.cop.sgn to save my sx20 on the CUCM, but after installation and restart the CUCM; I have not found again the phone type sx20 in the menu drop-down, as shown in the attached pho

  • We can merge patches when Applications are running

    Hi allWe can merge patches to applications when the applications services are running? using the admrgpch utility.EBS: R12.1.3DB: 11.2.0.3Operating system: Solaris 5.10Thank youMoore