Time signal

Hello world.

I am a beginner on Labview. I would like to ask questions about my problem described below:

I do a signal waveform and I want to have another signal that has that 1 min delay time (amplitude does not change). So, I want to compare the magnitude of the two signals at the same time. In fact, I only find how to make a signal by discrete values (table), but I do not know how to find an amplitude in a defined time.

Hello

It is expected to see the difference as 0, since you compare item 'i' on channel 1 with the 'i' of the channel 2 element.

you're not comapring them according to their time instant.

Thus, instead of calculating the difference of two arrays Y like that, you should do the following:

option 1: since the dt = 1 minute, you remove the first element of the array Y channel 1 and then compare it with the table Y channel 2. (do not change the table Y channel 2). Then you would compare the elements Y which are at the same time instant.

option 2: use a loop For, with shift registers and compare the present value of the channel 2 with the value of the channel 1 of the previous iteration.

Edit: try the attached code

Tags: NI Software

Similar Questions

  • How to convert a text file to a time signal

    I am confused on how to do it. I can get the text file to read properly in a table (orange wire), but how do I become a time signal (thick brown wire)? I have all the data points and I know that the sampling frequency is of 2 samples per second. Any help at all would be great.

    Do you mean a waveform? If so, try a wave 'build' with 2 seconds as dt and an appropriate time for t0.

    Or maybe a timestamp? If so, you might try "time stamp".

    From your description, I'm guessing you're after the option of waveform?

  • How to choose destinations for counter/timer signals in NOR-DAQmx?

    In the document M Series DAQ
    M series user manual
    622 x, NI 625 x and the materials NOR x 628
    M series user manual
    July 2008
    371022K - 01

    appears on page 7-30:

    Counter/Timer default pinout
    By default, NEITHER-DAQmx routes counters/timers and outputs inputs to the PFI pin, shown in table 7-4.
    Table 7-4. 68 peripheral pins by default Counter/Timer pines NOR-DAQmx
    Counters/timers fail-safety connector 0 PIN (name)
    0 2 CTR (PFI 12)

    You can use these default settings or select other sources and destinations for the
    counters/timers of NOR-DAQmx signals. Refer to the connection counter signals
    in the NOR-DAQmx help or the help of LabVIEW in version 8.0 or later for
    more information on how to connect your signals for common counter
    measures and generations.

    I couldn't find any hint to the appropriate command of DAQmx in the "NOR-DAQmx C reference Help" to select other destinations for counter/timer signals in NOR-DAQmx.
    Please can you tell me the DAQmx command right? Thank you very much.
    I use the NI USB-6259 M material Series DAQ, BNC end unit.

    datafriend,

    If I remember correctly, you can "free" the output terminal of default counter by calling DAQmxSetCOPulseTerm and passing an empty string in the 'data '.

    Hope that helps,

    Dan

    Edit: You can also set this to any other valid terminal (IE... "Dev1/PFI0") and to send the output to.

  • Create the time signal

    Hello

    I am trying to create a time signal after taking samples, but I can't.

    I'm trying to store the values sampled at a subset of spare board, I used different methods and sometimes store the last value sometimes nothing.

    I think I made a mistake at the entrance as an n-dimensional array.

    I've attached the last method that I have used an image...

    I would be very grateful if you could help me

    Concerning

    The simple solution is to just the output of your operation of reading your wire loop border and activate the auto-indexation. This will give you an array of values. You have only 1000 samples, so that won't be too taxing in terms of memory overhead. If you want to pre-allocate the matrix (as it should be for the large paintings), then the distribution should be done outside the loop and then connected to a shift register. Inside the loop, you use replace table subset.

    Just curious: If you have a waveform within the loop table, why do you need a graphic to the outside?

    Note that the property of the dt of the timed loop is in ms, but the pile of waveform dt component is in seconds.

  • calculation of the SNR/CRADLE to the real-time signal

    Hello everyone,

    I need to calculate SNR or BER of the signal received in real time. I use USRP 2920.

    Hey IrfanRazzaq,

    You may be better to post this question in the USRP forum:

    http://forums.NI.com/T5/USRP-software-radio/BD-p/500

    I also want to point you to these forum posts that deal with this issue:

    http://forums.NI.com/T5/USRP-software-radio/example-VI-for-calculating-ber-of-the-USRP/m-p/3048995

    http://forums.NI.com/T5/USRP-software-radio/USRP-for-bit-error-rate-measurements-using-packet-based-...

    There is also a VI in the modulation called MT toolkit calculate BER that takes a signal and a desired profile and returns the BER

  • How to make flag appear after some time signal of Boolean

    Hello and good day to all...

    I'm doing a change in case of false to true after having received the signal of 3 or more than a Boolean.

    example of situation, the signal is sent, but the case will change true after three times of the signal is received then the turn of the real deal. If only twice a

    signal is received, the case will not change...

    Does anyone have suggestions or ideas how to create? Or have another way to solve?

    Best regards

    Leman lennon

    You must use a shift register to track how many times the Boolean value is true.  If true, then incremented.  If set to false, then don't.  If the value in the registry change = 3, the value is true, then run your business structure.

  • Network to see the battery life and time signal

    Hello

    It seems impossible to find this in the forums. But is there anyway how I can show the network Signal, battery life and time on screen?

    TIA.

    Ridvan

    lets see if the attachment works, its an example former of jonathan, his site is long gone unfortunately.

    I think he needs an additional code to cancel the onUnexposed timer and restart onExposed.

  • BlackBerry Smartphones need help - time signal icons, battery, missing

    Hello

    I installed some of the BB improvements today and now all my icons at the top of my screen disappeared. If I take my battery and restart my phone they appear and disappear after a while.

    I am referring to the signal, icons of battery at the top of the screen time.

    Help, please

    Hi J

    Thanks for helping out me that succeeded in itself solve the problem. It was the Blackberry Protect application that caused the problem. I deleted the app and everything appeared again and has not disappeared

    Re-installed the application thereafter, and now its working fine and all my icons are visible again

  • want to compare the data in excel with real-time signal

    Hello

    my request is to check the PCB pins of I/o... Firstly I have signal corresponding to each pin in GOOD PCB board and the output of each needle is saved in excel using scripture to the spreadsheet... then the database be act as master for more tips of PCB...

    If I want to check the other pcb edge means that the same signals should be send on the pin of each Member of the PCB... received out of the Council should check with the data already stored in the database if this is the way to match status LED should illuminate otherwise is not to shine...

    pls help me finish this application... I have attached model vi with poster and Excel in too...

    I hate to say it, but you don't have really any type of application there.  It is quite difficult to help you complete when you barely started.  An express VI couple in a sequence structure do not apply.

    What you need to do is sit down and write a design specification.  What are your entries for this application? What are your results?  What do you think the UI to look like?  What steps do you need to do to go from A to B?  Chart out.

  • Analysis of frequency common time in Signal Express?

    Is it possible to do joint analysis frequency time Signal express?  I don't see in the section "analysis", so I guess that it is a separate tool that should be added, if possible still Signal Express.  Help?

    SignalExpress does not natively support joint time frequency analysis.  However, check out the Sound and Vibration toolkit that expands the SignalExpress.  It can do what you want.

  • AirPort Extreme & Electrical Outlet Timer

    Hello

    I have the newest AirPort Extreme (http://www.apple.com/shop/product/ME918LL/A/airport-extreme?fnode=7f) and I recently moved to my room in my basement to the second guest room floor providing a 2.4 GHz and the private network wifi 5 GHz (two separate networks) to my house.

    I read on the sleep disorders causing wifi signals and how it can cause generally negative effects be exposed continuously to EMF signals.

    What I'm wondering is it would be harmful to my AirPort Extreme to put it on a timer plug (ELS https://www.amazon.com/Enover-Programmable-Digital-3-prong-Appliances/dp/B0191ZG/ref = sr_1_2? ie = UTF8 & qid = 1469557186 & SR...) so that I can program it to turn off the power to the router around 11:30 and turn it on again around 06:00; eliminating privileged exposure to EMF for me and potential customers during the hours of sleep?

    I understand that many of us may be divided or not there is any real effect signals wifi on sleep/general health-it's NOT what I'm asking.

    Everything interests me is whether or not it would be damaging for the router AirPort Extreme to cut the power at night via a programmer power socket and then to restore it again in the morning on a daily basis.  It will shorten the life expectancy of my router?  This will degrade the quality of my wifi over time signal?  Thank you in advance for the answers!

    -Scott

    "What I was wondering is it would be harmful to my AirPort Extreme to put it on a timer output so that I can program it to turn off the power to the router around 11:30 and turn it on again around 06:00; eliminating exposure to EMF for me and potential customers during the hours of sleep first? »

    The debate about so consistently turn a device and off is better or worse that just leaving all the time has happened since household electronic appliances were introduced.

    One school of thought argues that constant power down and the cycle puts more emphasis on the electronics inside that just letting the device at any time and this extra stress can lead to a shorter life for the product.

    Another school says it does not matter as the power on and off the power of everyday, or has left the whole time that the life expectancy of the product is concerned.

    Make your choice... good arguments can be advanced for or against powering a device works every day. Call him a link if you want, or return a coin.

    Personally, I lean toward the school "let him", if not because the internet connection and network is likely to be more reliable in this way. In other words, if you turn off the airport at night and power it back up the next day, the airport will lose its Internet connection and network and be forced to establish a new connection when it is consumed in back to the top, with more chance of something going wrong.

    Although I leave the airport on almost all the time, if I'll be gone for a few days or more, then I usually turn off the airport if I remember to do it before my departure... to save a few pennies on the electricity bill.

  • Time lag by using several units of Airport Express in different places in a House!

    Hi guys,.

    I have a setup that all my equipment is in what I would call a control room in the basement of my house.

    Includes the Imac, Mac Pro and a PC.

    All these are connected to a switch and from there 2 Airport Express joined the network to connect to amplifiers which in turn feed the cables in my living room and covered Patio speakers respectively (2 zones)

    My intention is to install an already second-hand subwoofer Pioneer in my living room and do I buy an extra unit of Airport Express.

    Attach it to my network (via Ethernet in my living room) as the House is wired.

    It is then if I will face the time offset between the 2 express units airport due to difference in size of audio cables used to transfer the sound to the same location, EVEN the difference in the location of the 2 Airport express units?

    Someone at - he had this experience?

    Synchronization problems are common with the Airport Express. I can hear the slight differences in the arrival of time signal if the audio volume is up enough level to be able to hear the music in two adjacent rooms, with both expressing equal distance from the Ethernet switch.

    Unfortunately, Apple provides no parameters to adjust the synchronization of the audio signal, and no one here has a crystal ball that is good enough to be able to predict the performance of your network. So, this is going to be one of those moments where you won't know how well it will work in your home, until you try them in your home.

    Let us know how things work when you can.

  • Amplified - Thermocouples - Conversion of signals?

    Hello, I have a question about reading the signal amplified thermoocuples. My thermocouples (type K) will be amplified 100 times signal. The thing is, I am unable to use built in option in the daq Assistant to get the good reading. Because of the amplifiers (those with differential external measurment with three leveled low pass filter with the Cup at the level of 10 Hz (circa)), my thermocouples will work as a simple base (SE).

    My question is: I am able to get the temperature reading in simple steps (daq Assistant) or should I use the acquired signal voltage type and then use a kind of conversion?

    I'm looking forward to seeing no response

    P.S. I found the block-> Convert thermoocuple reading. Must I use it on all channels, or can - I just it wire somehow to the output of data acquisition?


  • Analysis of the order when there is a significant shift of DC signal

    Thanks for reading this. I use the Toolkit NI LabVIEW Order Analysis for direct analysis of signals of pledge of deformation of an attachment to a car engine. My goal is to acquire data of a part of the calibrated strain connected to an engine during the rampup and identify the controls in the signal of the strain. I am not able to understand a problem I see with my results in the power of order spectrum.

    I measure the signals of pledge of strain during the preparations for engine using the module 9235 cDAQ (1000 to 6000 RPM in 15 seconds). I also acquire the tachometer using the module NOR-9402 (counter). Then I converted the signals of the strain at the same angle signals and made the order power spectrum.

    Please order power spectrum resulting Fig1 shows. What I find that is the DC offset in the signal of strain presents itself as a high amplitude (red or green) peaks in the power spectrum of order (see Fig 1) around the order of 0. Because of these enormous peaks around order 0, the peaks of the order of a real interest around 2 or 3 command (blue or purple) are difficult to discern in the graph.

    The DC offset clearly shows the chart of strain vs RPM (RPM is a linear function of time), if necessary, it is identical to the strain vs time. The white line in figure 2 corresponds to the DC offset. In this example, the CC offset is constant during the rampup rpm, but more often, the party calibrated strain of experiences both change static and forced lengthening cyclic as in Fig. 3. Here the sudden part increases the deformation in traction, with cyclic constraint superimposed on top of that.

    My questions are:

    Am I missing a key here in preprocessing step?

    -I need a high pass filter to remove DC offset?

    Subtract the average value of the signal from the time signal based before sending to the treatment?

    How does a handle signals that have a variable static elongation a cyclical signal above the static signal? This appears to me a common scenario in the measures of constraint because ESA undergoes two different static and dynamic constraints in a motor boat.

    Thanks for your comments and advice!

    You have several choices, depending on what you want to do.

    If what you want is a nice parcel of land, and the DC signal not enough to affect your 1st order, then simply set the component continues to 0 once you analyze varies.

    Presto - instant removal of DC.  It is perfectly legitimate, as long as the domain controller is not wandering too.  Mathematically, it is exactly the same as the withdrawal DC before analyzing.  (an inverse THAT FFT of this result and you will get the signal without DC, if you don't believe me).

    OR

    You can do as Bob has suggested and take the average.  If your length of block is short compared with the rate of change of the real continuous component, it is fine.

    OR

    You can remove the trend by interpolation.  For example, for a block of 1024-pt, find the way to 100 points around (on each side of) the beginning of your block.  Find the way to 100 points around (on each side of) the end of your block.  Find an equation (Y = mX + B) to describe the trendline it and use this equation to subtract a different DC value for each point.

    OR

    You can remove the trend extrapolation and interpolation.  For example, for a residence of 1024 pt. find the average of the first 100 points and the last 100 points and assign these values X = 50 and X = 973 (1023-50).  Find an equation (Y = mX + B) to describe the trendline it and use this equation to subtract a different DC value for each point.  You need to face the fact that X = 0 starts BEFORE your trend line at X = 50, but that is basic algebra.

    Remove trendline technique is more accurate and necessary if the domain controller changes siugnificantly during your block.

  • How do to accumulate data acquired in the table for a real-time XY graph plotting

    I have current and voltage values which I would like to draw the graph XY.

    Problem is that these are 1 d signals.

    1. Please tell me how I can earn these value in table, so I can have my XY trace.

    2. is there another way to plot in time real graphic XY of the acquired values.

    (I use NI 9205 analog module. I can see real-time signals i.e. time vs current and voltage time vs on my front.

    I need voltage vs current values in real time).

    You can help.

    Thank you.

    Try something like this...

    Notes:

    • If you simulate "as soon as possible", you put a period inside the loop.
    • As the table grows forever, you will be eventually run out of memory.
    • Since the x and y of the simulation is at the same frequency, all points will be on the same line.

Maybe you are looking for

  • Portrait mode on iPhone 7 +.

    Received my new 7 + yesterday and tried to find a way to take those portrait photos when the background is blurry. I found some tutorials and it just says to drag in portrait mode. My phone/camera doesn't have this option. I have the latest iOS updat

  • A1777c Pavilion: Pavilion a1777c abandoned Vista Clean Install

    Gentlemen.I have a Pavilion a1777c desktop I got recently at a thrift store. Everything needed was a HARD drive, so I put in a Western Digital 1 TB SATA and tried to install Windows Vista Home Premium 32 bit which is it bundled with the operating sys

  • Satellite A200-1AX - recovery in German instead of the language CD English

    I reinstalled the recovery of the proceeds of my satellite a200-1ax disk and operating system running now in German language. and it's only now that I noticed that the drive that comes in the package is in German but I chose the English language at t

  • RN104 inaccessible after firmware update

    update the firmware now rn104 request device, never pwd password

  • Edimax in LabVIEW IP camera

    Hello I'm working on a better solution for my project. I use an Edimax IP camera (model IC - 3110p) I currently streaming using VLC X asset control and then call the node to add the target and play the stream. I was able to find the raw video stream,