Big latency constant to generate the signals AO which is an immediate copy of the signals HAVE.



Tags: NI Software

Similar Questions

  • How to generate the HAVING clause?

    Hi all

    When I add a function like the SUM, the code generates the "group by" clause by default. I also want to generate the clause "have" about it, how to do this in ODI?

    -Ian.

    Hello

    In your interface drag and drop the source column in the Web for which you want to generate the HAVING clause.
    It will create filters for columns. Now use the aggregation works like SUM, MIN, MAX, AVG etc. in this filter query.

    The generated code will now contain the inside HAVING clause.

    Thank you
    Fati

  • I am facing a problem with the beep.vi. I have a DAQ program, which acquired the signal and compare it to a threshold value. When a signal is out of range, a Visual and sound alarm has occurred. I use the VI beep.vi to generate the sound.

    I am facing a problem with the beep.vi.  I have a DAQ program, which acquired the signal and compare it to a threshold value. When a signal is out of range, a Visual and sound alarm has occurred. I use the VI beep.vi to generate the sound. Everything works fine except the sound alarm. It gives the table 1 d of type mismatch. I tried to fix this by placing it in a box structure. But it still does not work. If someone could help? Please find attached my VI. Best wishes to all visitors to the Forums of Discussion OR.

    Ihab El-Sayed

    published here: http://forums.ni.com/t5/LabVIEW/Playing-sound-based-on-exceeding-a-threshold-value-1D-array-data/m-p...

  • Generating the signal as shown in the picture in labview

    Hello

    I'm using labview in 2011 and want to generate the second signal as shown in the picture attached in labview as I want to use it as input to implement adaptive filtering, if the first signal in the image represents the output of the adaptive filtering area.

    May I know how to generate a second signal.

    Thank you.


  • generate the TTL signal for synchronization from another device with Labview

    Hi all

    I use NEITHER-6071E and try to generate and send a TTL signal so I can synchronize another device with my Labview code. My code (code attached) generates a sine wave, and I want to send a singal TTL out at an angle of phase on the sine wave. Currently, the code sends a sinusoidal signal and a square using similar wave output on BNC Plug. I thought I could just use a square wave, and send it out as analog output for the other device, but apprantly that he works with a TTL signal.

    Could you please take a look at my code and advice me how to generate a TTL signal while being able to send it to some phase shift?

    Thank you davance

    Pooya

    There is almost everything using examples > find examples... menu

    but here is one which simply sends a single impulse:

    Note that I expect the line have been pre-defined in MAX (it's always a good idea to check that your DIO line behaves as expected by trying it in MAX).

  • Connection diagram missing in DAQ Assistant generate the signalling block

    This is my first post so please excuse the quality of my description.

    When I double click on the block of data acquisition - Assistant, there is no tab connection diagram I can access to see how things are wired to the top. I have a NI USB-6211 connected by USB and it is used to control many different sensors and a power supply. Currently, he works for everything and is hard wired correctly, but only blocks DAQ Assistant has a connection diagram available, the other are not. One who has a connection diagram is used to measure a voltage. Others who do not are used to generate a signal. I would really like to be able to see patterns of connection for each block.

    -Any help would be appreciated

    -Thank you

    You can always do like those who never use the DAQ Assistant and read the manual. Right click on the device in MAX and selecting "stitching of the device" works too.

  • Is there a better way to generate the custom timed digital signals

    I'm trying to generate the digital output from the top and down with delays on different lines. Each daq assistant is activate single line on a port USB 6501. There more complex high and lows that I need to generate variable time difference between high and low. There is codebelow that does what I'm trying to achieve, but for a model executing high and low signal is much of your time to do it this way. I'm sure there is a better way to do it, I'm not an expert on labview so I only discovered its potential. Anyone can suggest a more effective and a quick way to do it. I would like to hgihly appreciate. Thank you!

    I've not shown in the code below, but using the DAQ assistant, I initialized lines at low logic level.


  • I can't generate multiple signals with different phases.

    Hello community!

    I created a simple signal generator versatile (see Signal "Generator.vi"). When I try to put two of these generators in the same VI ("testbed non working.vi"), I'm not able to independently change the phase of the two signals. Only one of the two phase buttons actually modifies the two signals, while it has no effect.

    However if I copy and paste the exact schema even twice in the same VI, rather then import VI Builder, everything works fine ("Test Bench working.vi").

    It seems to me that the two generators are sharing anything other than the phase variable. I'm new to LabView and I can't understand what is happening and how to fix it. Can you please help me understand?

    Thank you very much

    Hello

    This is because multiple instances of the basic vi function generator will work regardless - they share information.

    To fix this one true constant wire to signal to reset the basic vi function generator enter your generator of signals vi.

    Best regards

    Florian

  • How to generate analog signals?

    Hi all

    I'm trying to generate analog signals to simulate the position of the valve. I also want to simulate the position of the valve 0 - 5V (analog signal).  I've implemented the numeric position of the valve by using the toggle switches, but I want to implement analog signals.

    You can help.

    Thank you

    You can just use a random number generator.

    Since you have no generator hardware signals of NOR, I'm not sure why you are posting to this Board. Generic questions of LabVIEW. Post to this Board.

  • Generate a signal FGEN 5421 and gettting on FScope 5122

    Hello

    (1) I need to generate a given signal

    A [Sin (WT) + N * Sin (2Wt + pi)] by using PXI or 5421.I join the program that I created using Labview.The problem, I face by using this program, is that the maximum amplitude I can get is 1. Second thing, it is that I need to build only for some periods.

    Later, I would like to make a sweep of this signal in the frequency range of 304kHz to 372kHz with a 0.5 kHz step size. How can I go about it?

    (2) I'll send this entry signalinto my system and I am able to see the answer on the oscilloscope using the NI Scope front. I would like to know how I can use a labview program and acquire my answer with adequate sampling.

    (3) I also need to convert the answer on my oscilloscope in a table of values so that I can import the table and generate the response in Matlab. How can I get the answer as a text file with a table of values?

    Waiting for your response,

    Thanks in advance,

    David

    I was wrong on my advise on the frequency sweep, kick these:

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/3327

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/1021

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/5054

  • FPGA to generate the counter and pulse train

    Hello

    I have some experience with Quartus, but new on the FPGA OR.

    I have a PCI-7811R. I'm trying to use it to illuminate sequentially 144 LEDs repeatedly. The duration of each pulse is 480us.

    Basically, I need to generate a pulse and generator of a counter to record the number of pulses and, according to this number, select which light is lit.

    I designed a pulse generator train based on an example of using FPGAS and added a counter in it. You can see in the attached vi.

    My question is,

    When I put the I/O node inside loops call single cycle, it can generate the correct pulse.  However, when I tried to use the local variable to transfer data from the SCTL and then plug it on another node of I/O, I can't detect the pulse signal when I measured this I/O.

    Is there something wrong with my code when I try to transfer the data of the SCTL? Can I also use local variable to transfer the value of counter, because I will need it in the next part.

    Thank you!

    If you are referring to the wired local variable to DIO2 in your attached VI, the problem is very simple: it is outside a loop, then it executes only once.  Put this local variable and the node of IO in a loop and I think you'll get something close to the impulse you expect (although if it is not in a loop of single cycle you will have exactly the same calendar).

  • How generate the waveform analog multi simultaneously.

    I use the relay Full.vi Gen to generate a waveform.

    I want to create another form of wave and start at the same time.

    Any suggestion?

    Hi turbot.

    The easiest way to make the two tasks simultaneously is to have two copies of this task in the block diagram. In LabVIEW, any function that has all its entries ready or a Subvi runs "simultaneously", so no additional real action must be taken to make them simultaneously. However, you must make sure that all entries of all your screws are to be executed simultaneously are ready at the same time (which means a set of functions that generate the wave does not need any input on the other). It's called the data flow model in LabVIEW. Read this for more information: http://zone.ni.com/devzone/cda/tut/p/id/6098#toc0

    I would you suggest to use an other sub - VI for opening and reading your file (as well as use a different file for each reading Txt Subvi relay). You can also make your Subvi re-entrant. For more information on screw reentrant, refer to this link: http://digital.ni.com/public.nsf/allkb/98847B4E4C715E6D86256C59006B57CC

    I would also say that you pass the path to the main file of your VI by using a control in your Subvi, rather than using the constant you have now.

  • Emails generated by the Contact form widgets say they come to me rather than the person who generated the email?

    Can I change the emails generated by the Contact forms to say they come from me, to the address of the person who actually generated the request on the contact form? Or is it always automatically a link to my creative cloud account because that's how I'm hosting of Web sites?

    Because they come from you (at least from your account)... This is the account which uses the Web site to send the form to your email, which means that a user visits your Web site can send you this email "SAME" when they have not an e-mail account themselves.

    No, you cannot legialy change the address to theirs... that's a big no, no, in most of the country, but you can and should have a field of 'contacts' on your form that allows people to give you an email or phone number so that you can follow to the top.

    p.s., many people make the mistake of trying to force the contacts to mail in their forms and this offen feedback rounds people in addition to their use if they MUST tell you the color of their underware just to contact you about an offer of sale or the simple question then don't expect to get a large part of your forms.

  • With the help of constant static as the FXML id

    Is it possible to use a constant static like the id in FXML and if so, how?

    For example if I have a Person class with a constant static set, such as:

    public static final String NAME = "name" field

    And then in a FXML file:

    <? import person? >
    < TextField id = Person.NAMEFIELD / >

    The code above FXML generates an error saying that "what exspected.
    I also tried with "$Person.NAMEFIELD", but this does not work either.

    Any suggestions?

    Is it possible to use a constant static like the id in FXML and if so, how?

    Yes, this is supported in JavaFX 2.2:

    
      
     
    

    The code above FXML generates an error saying that "what exspected.

    The quotes are required. FXML must be syntactically valid XML.

  • PL/SQL - generate the error statement if the text file is not generated

    I have the following code as follows:
    SET SERVEROUTPUT ON SIZE 1000000;
    SET TIMING ON;
    --SPOOL draft.log
    DECLARE
    CURSOR C1 
    IS 
    SELECT * FROM Transaction;
    
    I_record_gen  INTEGER:=0;
    l_file                    utl_file.file_type;
    C_date                    CONSTANT VARCHAR2(8) := TO_CHAR(SYSDATE,'YYYYMMDD');
    
    BEGIN
    l_file := utl_file.fopen('Transaction_DIR','Transaction_'||C_date||'.txt', 'w' );
       FOR q IN C1 LOOP
       Utl_File.Put_Line(l_File,q.trans_id || '|' ||q.seq_no|| '|' ||q.count);
       I_record_gen:= 1;
       END LOOP;
     Utl_File.Fclose(l_File);
        EXCEPTION
        
       WHEN I_record_gen = 0 THEN
    dbms_output.put_line('Batch job runs successfully with no customer list extracted ');
        WHEN others THEN
               dbms_output.put_line('SQLERRCODE='||SQLCODE||'|'||SQLERRM);
    
    WHEN 
    
    END;
    /
    Based on the code, I want to generate a declaration in the error log if my variable I_record_gen has the value 0 when it has not entered my loop to generate the content of the file is generate.

    My code is correct? If not, how am I suppose to do?

    It looks like you want a custom exception. You can do the following:

    SET SERVEROUTPUT ON SIZE 1000000;
    SET TIMING ON;
    --SPOOL draft.log
    DECLARE
    CURSOR C1
    IS
    SELECT * FROM Transaction;
    
    I_record_gen  INTEGER:=0;
    l_file                    utl_file.file_type;
    C_date                    CONSTANT VARCHAR2(8) := TO_CHAR(SYSDATE,'YYYYMMDD');
    recordGenExc     EXCEPTION;
    
    BEGIN
    l_file := utl_file.fopen('Transaction_DIR','Transaction_'||C_date||'.txt', 'w' );
       FOR q IN C1 LOOP
       Utl_File.Put_Line(l_File,q.trans_id || '|' ||q.seq_no|| '|' ||q.count);
       I_record_gen:= 1;
       END LOOP;
     Utl_File.Fclose(l_File);
    
     IF I_record_gen = 0 THEN
          RAISE recordGenExc;
     END IF;
    
        EXCEPTION
    
       WHEN recordGenExc THEN
         dbms_output.put_line('Batch job runs successfully with no customer list extracted ');
        WHEN others THEN
               dbms_output.put_line('SQLERRCODE='||SQLCODE||'|'||SQLERRM);
    
    END;
    / 
    

    I added the following:

    -Adding a statement to an exception in the section DECLARE to your code.
    -Added a conditional to check the I_record_gen = 0 and then raised the exception if it was 0

Maybe you are looking for