signal delay

Hello

My goal is to simulate a pulse generator, and I have some problems with double pulses. (see first attachment)

I want to delay a signal from simulation, and I need to set this delay.

At the beginning, I try with the Y [i] = X [n - i] VI.vi and the work but it is impossible to resolve in time.

So I downloaded the tools of simulation of control and I try to use the simex transport delay.vi it looks like very good, but I can't import it into my project even if I try to turn it into a Subvi. (see second attachment)

If you have another idea, I'll be happy to see.

Could you help me please?

If your deadline is in fractions of samples, no problem

If this isn't the case, you can do it with a filter.

Here's a program simple echo using convolution (also in fractional sampling rate)

Tags: NI Software

Similar Questions

  • NEITHER 9215 delay in phase between two channels

    Hello
    I use Ni9215 with ENET-9163 to measure the phase between two sinusoidal incremental signals delay. First signal connected to AI0 and, secondly, to AI4 at 100 k sample rate. I know 9215 simultaneous ADC, but it seems to me that NI 9215 gives additional time between the channels. Is it possible, or l mistaken?

    Alexandr.

    Hi Alexander,.

    Please let us know how you get on,

    Chris is correct - with the idea of using a right signal to both channels, I tried to suggest this earlier...

    I hope this helps with your problems with delays,

  • itemAdded signal problem

    Hi all, the code below works fine

    ListView {
        id: myList
    
        dataModel: ArrayDataModel {
            id: theDataModel
            onItemAdded: {
                myList.selectAll();
            }
        }
    ...
    

    But this code does not work

    ListView {
        id: myList
    
        dataModel: ArrayDataModel {
            id: theDataModel
            onItemAdded: {
                myList.select(indexPath, true);
            }
        }
    ...
    

    Looks like itemAdded signal send wrongly row. Or maybe I made a mistake. Any help?

    I guess that onItemAdded is triggered before ListView itself treats this signal, so he does not yet know the recently added element. A possible workaround solution connects to dataModel after configuring the ListView, so it connects first to the signals. Or pull another asynchronously using QTimer::singleShot signal delay and select the item from there.

  • Coincide the start of digital and analogue tasks in c#

    Hi all

    I cannot synchronize the start of an analogue and digital output special in c#. Specitifically, I created a task master analog output and output a task digital slave that uses the sample of the task of the AO clock. Everything works fine except there is always a random between signals delay because they are triggered to start separately in the software. I would like to start both tasks with the same trigger signal.

    I think that I should do something like:

    digitalTask.Triggers.StartTrigger.ConfigureDigitalEdgeTrigger("Dev2/ao/StartTrigger",DigitalEdgeStartTriggerEdge.Rising);

    analogTask.Start ();

    but DAQmx is throwing an error message saying that my source Tigger is not valid. What is the correct idea? What is the exact syntax for inputing the source of relaxation. Thanks a lot for all the help!

    -Jon

    Hi Jon-

    If you have the sample shared between the two tasks clock, you should be able to start the slave task first, in this way when the master task starts, the task of the slave will begin taking samples on the same edge of clock.  You should not use a trigger to start.

    However, if you try to import an external trigger, connect to a PFI line and specify "Dev2/PFI0' as the command source for the two tasks (or whatever the PFI line you've hooked the trigger until the).

    I hope this helps.  Good luck with your application!

  • Loop with Timeout

    Hello!

    is - that someone tried to set up a custom test step that performs a loop failure, until a timeout occurs? Unfortunately, this is not one of the default option in TestStand loop.

    I try to test an asynchronous system with signal delays and want to retry a teststep during a certain period of time before declaring it "failed".

    Is it possible to do this? I tried a few that, including a stage performance in the message custom action condition that changes the SeqeunceContext.NextStepIndex property as shown in the example OR a button to retry in an operator interface custom. The code is executed, the property is changed, but step is not repeated. Can anyone help?

    Hello!

    My question is obsolete now that I managed to get it working now.

    I use four called Timeout, StartTicks, StartTicksValid and ExecutionTime variables of step. I then added two sub-steps, a prestep defining the StartTicks if not valid, and a poststep to calculate the time elapsed since the StartTicks. Then I use a custom loop expression by comparing the execution time for the timeout and stop if there was a success or if the time limit is exceeded. Success of the whole loop is then determined by the number of loop past, steps which must be watching! = 0.

    Now, I have to take a look again how to change the report to contain the data I want. I don't want to get the intermediate outcome and the counties of loop, but rather the execution time. This should be a working RTFM.

    Thank you for your willingness to help.

    hit74

  • Record Full Duplex and ADR Workflow in Premiere Pro CC

    Hi, I use CC v10.3.

    Trying to find best workflow for ADR only not sure if I need to do this first or hearing.

    I'm unable to mute the audio channel that I record in first that causes a signal delayed voice back to the screen. The talent is to hear the microphone input AND the delayed signal. Is there a way to re - route the output of the channel I record to so it will be no power to the monitor when recording? In Pro Tools, I just mute the channel, but when I do it in first, it will not register. I also tried to play the channel that we replace and even once, it will not record solo.

    I use a mixer with an additional bus (running the entry to 3-4 mike hand out is 1-2 Try to find a way to monitor the mic input and output channel (as if recording on a bed of music you want to listen to everything by expressing sound) without hearing the voice channel I record on.

    Any suggestions?

    The input/output audio M-Audio Profire 2626 and the mixer is a Mackie 1402-VLZ-3

    Thank you

    RG

    If you go to the Premiere Pro > Preferences > Audio and input mute during recording of timeline, Select the check box is only help?

    MtD

  • How to delay signals

    As part of a larger assignment, I did this 3 bit counter (see attachments). It should output signals in this order:
    000
    001
    010
    011
    100

    (and this should repeat endlessly). But it does not work as expected, I'm stuck.

    I think the problem is output triggers to get to folding and, given that the entry is instantly their output.

    I struggle to find an element that can delay milliseconds. Any help appreciated.

    Hello

    In Multisim, there is a component called TRANSPORT_DELAY that allows you to add a delay to your digital signals. It is in the Misc Digital Group and family TIL. Please take a look at the attached example. You can change the delay time by going to the properties of this component and on the value tab, click editing model.

    I hope this helps.

  • Simulate a delayed signal

    Hello everyone.

    I have this problem: I do a simulation of the propagation of the signal between a Tx and a Rx, but I need to simulate the delay between the two points. The signal I want to delay is QPSK modulated with the modulation toolkit. The point is to show the original signal from T0 = 0 s, including the delay (same signal but with T0 = delay time in seconds any value).

    Thank you

    David

    That tal Falastiny,

    Sin problema pudieras explicarme the situation in Español adelante, como primer idea if you any that generated UN arreglo N elementos con valor 0, mediante the Relación of how many elements present UN segundo, there an este arreglo al final signal that estas simulando agregues para despues visualizarla en the grafica. Te recommend revisar functions to build array y dandole language the CONCATENATE entered opcioon selecciones.

    Te Le los foros también los puedes crear en Español, are una gran comunidad you can support. If tienes dudas por favor comenta, saludos.

  • Find the time delay between two signals

    In this code, I sent you a pulse in the acquisition of data using labview. The pulse triggers a thermistor to another analog input input data.

    I want to find the delay between the time of the positive edge of the switch, and the exact time of the DAQ begins to take in the signal of the temperature probe.

    I enclose the code below.

    Thank you.

    Hey,.

    Here is a link to some information about the sources of clock on the FPGA.

    http://digital.NI.com/public.nsf/allkb/94CE338CC80ACF008625791400516BAA?OpenDocument

    Hope this helps

  • Electrical engineering. Delay or phase of divergence of a voltage signal acquired by RedPitaya.

    Hello!

    I work with Labview and RedPitaya in order to measure the voltage and current to calculate the instantaneous power lift consumes when it works and then see how many are P active and reactive Q.

    I need to measure the voltage between line and neutral and multiply it and current, the problem is that the neutral is not accessible, so I have to measure the voltage from line to line and turn it into the phase voltage line.

    In order to realize that I have to make two changes.

    (1) I have /sqrt3. I have already done without problem

    (2) I have to define a phase difference of 30º, or delay of a period that is equivalent (1,6666667 ms) for the voltage signal.

    I tried to do this using a block to wait a certain time structure, but it does not work correctly when the voltage needs a loop, because the Subvi does not work at the same speed, during the reading of current and voltage after a delay I see with the option to highlight. And all the clock, wait or delay the blocks I've seen are supposed to work in a loop, not connected to a signal that reads / acquisition of an instrument.

    Is it possible to affect this difference in phase or equivalent delay without a loop that only affect the voltage signal?

    Thanks in advance.

    Did you just ask to all samples, then throwing those that you don't need? For example, let's say that you are sampling at 10 kHz, if each sample corresponds to a period 100us, 16 equals 1.6ms samples and so on. So you multiply 0 line 1 (0 indexed table) sample, for example 15 or 16 of the line 2 (the one that it works best for ya, or an average of 2) and use it as your result. In this way, you don't need any delay whatsoever and do not have to worry about synchronization, since all data is coming at the same time

  • Addition of delay in Signal

    I am actully trying to create a time delay in a signal and then later I want to apply an algorithm to find TDOA between signals from a single signal source. They have a relative phase shift and tried to model a VI so that I can see the signals visually and analyze TDOA analytically first, and then ensuring the proper functioning of the Algo.Currently I am unable to differentiate visually signals having different phase on the only indicator. I see that a single waveform. I want to see both...

    Hi defined

    Right-click your plot of annexed table and go to the tab 'Balance '.  At the bottom of the "Balance" tab, make sure the 'ignore wave timestamp x - axis' is not checked.  The parameter t0 on function 'Building the waveform' is a timestamp data type.  If this box «ignore...» "is checked, the chart uses the indices of values Y, which always start at zero.

    Note that the generated waveform will have a number of samples and that change the original horodotage moving all samples.

    Let me know if you have any other questions!

  • Why are there at - it such a delay, write and read a PWM signal to digital input?

    Hello!  I am trying to read and take action on a PWM signal.  The equiptment I'll have access to: 9201, 9425 and cDAQ-9172 chassis of NOR.

    That's kind of what I'm experimenting with now (I have tested with a device USB 6211).  Someone at - it a better idea how to do that?

    The problems that I encounter:

    (1) it seems there be then buffering of questions?

    (2) it takes too long.

    My vi is attached.

    Thanks in advance for any help you can give.

    Also, in my final application, I will not have to create the PWM signal - this is just to test the acquisition currently.

    Try to use functions DAQmx directly rather than the DAQ Assistant.  They are a little more work to learn but are more effective.  Your 6211 can generate a PWM signal in hardware, so use it (see examples of LabVIEW).  Finally, of course there will be some delay in your code.  You read to 1.5 k samples to 1 k/second, so each loop cycle will be 1.5 s.

    EDIT: also, why you write 1 k samples and then read 1.5 k, both 1 k per second?  This means that your output will not generate any signal for long periods of time...

  • Is there a delay in the signal when using Bluetooth on any iDevice and, in particular, on an iPad Pro?

    I am using Bluetooth involved in the use of music made a software with sounds of digital instruments using a musical keyboard hardware connected via the USB cable to Lightning to play sounds from the app on my iPad Pro.

    When I try to use a Bluetooth speaker source, there's a 1-2 second delay when I play a chord in the app and when the sound is played through the Bluetooth speaker.

    This delay IS NOT the case when I use just the iPad Pro speaker on when I am attaching some small travel speakers to the headphone jack of my iPad.

    Only when I try to use my Bluetooth speakers sounds better.

    I use a keyboard master Korg MicroKey Air uses the USB port play their own Korg music make its app module.

    Someone who makes music on an iPad with this problem at all?

    Is this a problem question Bluetooth and/or iOS?

    My iPad Pro isn't very strong using these apps do and travel speakers I use plugged into the headset jack music are a little better on the volume, but tend to deform when I try to increase the overall volume level.

    I intend to put this issue on the web forums for Korg, but want some answers from anyone who has been playing and recording music on their iPad using an external keyboard to play and record music in an app to do the music.

    Also, (and I intend to ask this in the GarageBand for iOS forums) can the iOS version of Garageband output sound on a Bluetooth speaker and quietly delay, too, that I can not get the iOS version of GarageBand to sound output via Bluetooth to a Bluetooth speaker.

    Hi, MichelPM

    According to the used speaker, he will always be * some * delay when using Bluetooth to stream audio from an iOS device (or practically any device BT also) through a Bluetooth speaker. I have a Bluetooth speakers system cheaper that I use with my iPad mini 4... I pretty much use it only to listen to sound. If I try and use it for Pinball iOS games I play, there is a delay of environ.5 second anywhere, I'm the speaker. Exactly same phenomenon occurs with the keyclicks when you type it on the iPad keyboard... 5 second delay & even with some applications of synthesizer iOS that I use (Animoog & Arturia iSEM). I think it's just the nature of the beast of Bluetooth.

    Higher quality speakers would be better, but I'm not spending more money to find out.

    If you want an immediate response with zero real audio keypress delay, I fear, the only way to do this is to use a wired speaker.

  • How to create a delay between the start of the signal simulated one and the other?

    Hello

    As a first step, I am relatively new to Labview.

    I am trying to use Labview for 2 different output square waves (different frequencies, amplitudes, etc.).  I've implemented 2 signals to simulate different and do them in a While loop, however, when I start the program, I need a square to begin signal immediately and the other to start square waves 2 seconds later.  Any help would be greatly appreciated.

    Thank you!

    A few questions.

    Are these frequencies of associated signals? If so, were they to be "in phase"?   As from one simulation after another, put one start later in a case statement, pass a county of timer to establish the initial start time through the loop, subtract the value of the other in the loop, when the difference is => in 2 seconds, set a real flag and have the second simulation in the real of the structure of the business case.

    Typed too slowly again!

  • Cracking or delay problems

    Hi all

    2 days ago, I had no problem recording audio or MIDI.

    Last night, I experience crackling or delay and later, Im experiencing them both at the same time.

    Signal chain:

    Electric cello > amp > MXL 990 mic condensor > AI USB Presonus > LPX 10.2.2 (patch by default cello)

    The steps I took:

    Close all unnecessary applications

    Changed all wires

    Portable battery powered

    AMPS has changed

    Away from the microphone modified

    gain adjusted on AI and instrument

    computer restarts

    Increased frequency of sampling

    Sampling frequency reduced

    When I lowered the sampling frequency, I get sizzles in reading.

    When I increased the sampling frequency, I get a serious delay.

    In the last 5 minutes, the 2nd cable would crackle when moved or registration, but my recording rate far

    peaked. This is a first for crackles when recording.

    PreSonus said that there are no drivers for their audio interface, just plug it in-game.

    Ive had LPX for 2 weeks and gave me more pain that GB has ever.

    It is a screenshot of my macbook today, with no devices connected. No audio reproduction. I/o is now built by default.

    If you move your microphone cable and hear the noise, it's a bad cable, or a bad physical connector on one end or the other.

    You check that your audio is not reached a peak in the Red?

    What is the size corresponds to your drive, and how much is free space?

    What version of LPX?

    If you increase the frequency of sampling and get delay, you are irresistible your MBP.  You may need to adjust the size of the I/o buffer, and/or delay of recoding.

    http://help.Apple.com/LogicPro/Mac/10.2.1/#/lgcpbb81aca5

    To do this, as I see that you use the custom view (up to the center of the screen).  Double-click the CPU counters and HD.  They will open a floating palette.  Look and see if there are any major constraint on either during playback.

Maybe you are looking for