Compare two analog signals.

How to compare an analog signal to another analog signal to see what signal has a higher value? I want to display the result on the façade with LED indicator.

This will make a simple comparison of A > B. If your code is more complicated then you must set up a system of producer-consumer. You can find examples of this in the supplied examples.

Here's a sample:

Tags: NI Software

Similar Questions

  • How to compare two .tdms signals different files?

    I develop a lie detection system in labview.so Inorder for that I need to compare the physiological threshold signals in the file .tdms with signals that I acquire the object for each question asked.i continuelsy use breathing and heart beat monitor as well as the sensorDAQ to acuire the physiological signals.so that are the function I should make use of? I have the following tools

    1 advanced signal processing toolkit

    2 adaptive filter toolkit

    3. digital filter design toolkit

    4 research biomedical toolkit

    Please give advise me on this.

    Thank you.

    Systems of lie detector (polygraph) generally work looking at physiological responses to the baseline subjects own and this in real time.  You can use a file that represents the stored "database" for the subject, but the overall environment, the circumstances, the general State of the subject, etc. is perhaps not sufficiently similar to easily see the subtle changes.

    From the stored file, you can determine a set of parameters or thresholds that indicate "normal, relaxed" for each signal.  You can play the file in your LabVIEW program, treat each channel and save these settings.  Then when you have the new data, you can read the new data file in and treat in a similar way and then determine if the settings are off limits you set for a 'lie '.

    You can get more answers to this question if posted in the Biomédical User Group

  • How to generate two different analog signals in two different screws

    I use a card PCIe-6321 and a block of connection SCB-68. As it has two analog outputs, I use one of these outputs in a Vi to generate a square wave, and the other in an another VI to generate a sinusoidal output waveform. Each VI perfectly work separately, but if I run one then the other, the other sends no signal. Because I don't want to merge the two screws (it is more convenient to use them separately), how can I find out so that they work together (sometimes).

    Of course, independent maps with timing motors, controlled by the works of independent screws.

    Christian

  • simple DMA FIFO reading two analog channels

    Hello

    I have a question on a method of data transfer between two analog inputs for a simple DMA FIFO in FPGA. The code is described here: http://decibel.ni.com/content/docs/DOC-6303. If I use this method, and I got out in a graph of my host VI, the calendar in the graph reflects the same schedule as the signals that have been entered? Or will they be phase shift between two signals?

    Thank you

    Grant

    Grant:

    Because it is not all information of timing with the signals in the FIFO, there will be no lag phase on the chart.

    Hope that helps. I would like to know if I forgot something, or who does not explain very well.

    Thank you!

  • myDAQ inaccurate reading of the analog signal

    Hello

    I'm usign the myDAQ in lieu of a USB6341 who is busy on another configuration. The DIF is with the USB6341 I connect two analog inputs without any noise problems, whereas with the myDAQ, I get what you see in the image as an attachment.

    Now, (the white line) of a flat line but often I get all these ouliers tips coming clearly through the myDAQ.

    Two different voltage on two analog input signals of the my DAQ I can see the same spikes descending in the same moments for both signals, which is another confirmation that the noise is added by the myDAQ.

    Also, try different myDAQs (we have many University) does not solve the problem.

    Any idea on how to solve this problem?

    Thank you very much.

    Giacomo

    Hello, Giacomo,.

    Sorry for the late reply.

    Now that you mention the myDAQ DMM.

    Please note that the DMM uses a different circuit (Figure 2, page 5):
    http://www.NI.com/PDF/manuals/373060e.PDF

    How the signal looks like with the myDAQ scope Soft Front Panel?

    Although the USB-6341 has different (and better) specifications seems to be rather a noise or signal problem floating.
    Can you 100% certainly confirm that you do not see this problem with the USB-6341 when you perform a differential measure?

    Have you tried the method explained in Figure 7 on page 13?
    Do you see a difference when doing this?

  • Create two independent signals and a pulse train with NI USB-6259

    Hi all

    I'm new to the forum, I searched but I've found no info about it.

    I have recently set up a vi that is able to generate from an NI USB-6259 case two different signals in frequency, amplitude and phase (see attachment).

    To do this with each cycle of the memory buffer size is changed accordingly for frequencies in order to see a whole number of periods and, thus, having not leak in the generation (or breaks).

    Now, I would like to generate a pulse train at a frequency that is an integer multiple of the frequency of the input signal (not the 50 Hz one).

    The resulting frequency of the pulse train could be changed on the fly (or at least be updated at each new round of vi).

    I'm stuck because I have already said that two analog output channels and I want the pulse train so that a digital camera for my Board (channel PFI) output, you have any ideas?

    Thank you very much

    Alberto

    PS. the vi is "program generazione.vi" but you must first install "signal.vi production".

    Hello
    It is a simple .vi which generates a configurable, buffered pulse train dynamically. I also want to let you know that with this type of advice (DAQ), it is impossible to update the output in real time. You must be careful because the time between you use "DAQmx Write" and the output effective physical change not IS NOT FIXED.

    Kind regards

    Matteo

  • generation of digital, analog signals read snap SMU-6358

    I have two SMU-6358 card and I want to send control signals to my camera and read the analog signals from the device with them.

    For the digital control signals, I tried to set up a system where I specify the identifiers of the pins, bring them into arrays of strings - the respective waveforms would be collected in the tables too - and I transfer them to a VI of inputs/outputs multiples that puts digital waveforms for the cards output pins.

    I developed this code here, but it doesn't seem to work. I can't understand how I can convert the string and form table wave to meet the requirements of the input/output VI or which another VI I could use to do the job. Or is there a smarter way to do it?

    Thank you

    Kriváň

    Dear Kriváň

    Please find attached the VI in LV 8.6 format. Also, I HIGHLY recommend to rearrange the front panel and which makes it neater, your code is very hard to read and not structured at all. I hope this helps!

  • Problem when the PWM signal combinning and analog signal TOGETHER!

    Hello everyone,

    first I DAQmx 6212, and I need to run the water pump small (9V - 16V) that should be driven by a PWM signal; I also have a motor (5V - 13V) for a water supply which must be controlled by an analog signal and it has built in a force feedback potentiometer, I logged onto this potentiometer correction + 5V the DAQmx and used the output voltage of the third extremety as a value to diagnose to know the position of the engine.

    My VI shows:

    1 is a normal meter production to create my PWMout signal.

    2 is an analog input, I use it as a PWMin to the LabVIEW to diagnose what is happenning in my pump water through the cycle and frequency.

    3 is an entry of the third extremety of the analog potentiometer.

    4 is an analog output that I used as power supply of the motor valve and I used an AC/DC amplifier for aplify signal the DAQmx and the motor road, between the two (3. 4.) I made a comeback with a few calculations, I had a P-controller to know the real position of the engine valve.

    My problem:

    When setting to 1. and 2. in the same VI only, I get an own PWM output with no problem.

    also with 3. and 4. in the same VI only i can control the motor valve without any problem.

    but when I put all these 4 set found in the attached VI, I have a problem as the engine valve turn continuously without stopping even if I change the position of the valve between 0 and 100%, I should mention that I see a PWM normal outside a signal on my oscilloscope, another thing to delete one of (1 or 2)  and run the engine valve VI works fine without any problems.

    so this my problem, if you can think of any solution please let me know.

    Thanks in advance for your help.

    Kind regards

    Caliente

    Here's your VI, slightly modified so the two analog inputs belong to the same task.  This if only for purposes of illustration, I him have not tested.  You will still need to do some debugging.

    While changing your VI, I noticed another potential problem with your original configuration.  You have configured the two tasks of AI for the same frequency, but read you 10000 samples of one of them and only 100 samples from the other (and throw it most of it).  Data acquisition data are buffered, and if you read as fast as you acquire, the buffer fills eventually.  If you read 10,000 samples of a channel, and the other channel acquires at the same rate, then when you read from the second channel you will get old stale data or an error full buffer.

  • How to compare two columns in Xl

    I want to compare two columns in the file of Xl. column A contains phrases and column B contains the words

    For example

    Column A                                                                       Column B                                                                           Column C

    I have an Apple and I'll eat every day Apple Apple

    I have a banana and eat weekly banana papaya

    Oranges are rich in nutritions cauliflowers Oranges

    Papaya is good for health                                               Grapes                                                                                 Papaya

    Oranges

    Lichi

    Banana

    I want to check each value of column B in each cell in column A, and if it matches then it should return the corresponding value in the result to me. Column C should Look Like as shown above.

    Can someone point me in the right direction here of what formula to use for this Xl.

    Thank you

    This is a forum for Mac OS X technologies, so here's an Applescript solution:

    1. Copy-paste the script in the Script Editor
    2. Select the cells in columns A and B
    3. Command + c to copy to the Clipboard
    4. Click on the button "run" in the Script Editor
    5. Click once in the top cell in column C where you want the data
    6. Command + v to paste

    Here are the results:

    There is no verification error here. You must select and copy to the Clipboard before the race.

    SG

    the value LstOfLsts to makeListOfLists (the Clipboard as a 'class utf8 ')

    the value theSentences to getCol1Vals (LstOfLsts)

    the value collected in getCol2Vals (LstOfLsts)

    game of theMatches to «»

    Repeat with I in collected items

    If theSentences contains I then ¬

    the value of theMatches to theMatches & i & return

    end Repeat

    Set the Clipboard for theMatches

    to getCol1Vals (LofL)

    game of col1Vals to «»

    Repeat with en LofL points

    the value col1Vals to the col1Vals & "" & i point 1

    end Repeat

    end getCol1Vals

    to getCol2Vals (LofL)

    the value col2Vals to {}

    Repeat with en LofL points

    If i's point 2 is not "" then ¬

    i copy point 2 to the end of col2Vals

    end Repeat

    return col2Vals

    end getCol2Vals

    at makeListOfLists (theTxt)

    value was to theTxt paragraphs

    the value text point of delimiters

    the value theListOfLists to {}

    Repeat with I from 1 to count was

    the value theListOfLists to the theListOfLists & {the was point i text elements}

    end Repeat

    the value point text delimiters to «»

    return theListOfLists

    end makeListOfLists

  • 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.

  • Comparing two digital channels or waveform

    Hello

    How to compare two digital channels or the y-axis of the same lengths waveform channels and find the line that has about the same value in the channels. For example, suppose we have two digital channels X and Y which has about the same value in line 15. I need to write a script to find out in which line the canals coincide.

    Kind regards

    X.Ignatius

    Hi X.Ignatius,

    I subtract channels and use the CHNFIND function to search for string values that are zero or nearly zero.

    Greetings

    Walter

  • How to compare two source codes?

    Hello

    I would like to know if there is a way to compare the codes from different sources (different .vi or different groups of the vi...) in LabView?

    Our 2 production lines are similar, and I would like to know if there are differences in the 2... 2 production lines management programs because we have to make some changes.

    Thanks for your help

    Benedict

    ... Adding to the message of Putnam...

    We compare two available "Screw" and "VI predetermined.

    It will highlight the differences.

    Ben

  • PXI-6070E, how can I configure which are two analog input pins?

    Hello

    I'm reading 3 analog signals using PXI or 6070E simultaneously. I'm looking for on what axes correspond to what analog inputs? It's the same thing all the time, or should I set up?

    For example, currently, the pines 68 and 34 are the + and - of the AI0 channel. But I can't find the rest.

    Thank you.

    How you are looking for the list of the pins? Look in the manual or in MAX, right-click on the device and select 'device pinouts. Ai0 is 68, ai1 is 33, ai2 is 65. The pins do not change. What changes is ending the pins to use if differential or single acquisition. For example, if you purchase a differential signal with ai0, you use pins 68 (ai0) and 34 (ai8).

  • Help stairs analog signal

    Hi all

    I'm still new to LabVIEW, but I played a little enough to create a simple analog signal generator. Product signals appear staircased when displayed on an oscilloscope, but are smooth, when I read the signals in an entry (as shown by the graph on the waveform) analog. How can I change my program settings so that I can see this staircased signal?

    I run LabVIEW 2010 and use a data USB X Series multifunction acquisition.

    Thank you

    -Olivier


  • Is it possible to compare two PDFs using labview?

    I was wondering if it was possible to use LabVIEW to compare two PDF files (that contain images as well as text) to another. I know that Bluebeam PDF viewer can do, so I was hoping there was a way to do it with LabVIEW.

    Read each file as a simple string, and then compare the two strings for equality.

    (You can also do a few tests before, for example just to see if the sizes are equal)

Maybe you are looking for

  • Charge the iPhone 6

    Last week when I charge my phone, I get the message, "Application" unsupported The phone does not load until I have shut it down completely. Patches?  Help? Thank you. DDS

  • The browser Safari windows:-export Japanese character of file name are not displayed

    I am facing a problem on windows 7 safari browser. When I export the pdf file, the Japanese characters in the file name are not displayed.

  • El Capitan 10.11.5 download questions

    I downloaded the update of El Capitan 10.11.5 and my iMac now has a gray screen. The completion bar received roughly 60% and then it disappeared from the blank screen. I tried a hard reboot and got the same. Reset the PRAM the screen returned the com

  • Portege Z830 - Fingerprint Utility not to enroll fingerprints

    I just bought the Portege Z830, and fingerprint utility allow me to register fingerprints. So after some research, apparently, I need to delete the memory via "TrueSuite Access Manager", but I don't seem to have this program on the laptop. Any help w

  • Calibration with the voltage source - float connections

    Hello I want to calibrate a PXI-6133 DAQ with a floating voltage source. It says in the manual of the calibration connect the positive output of the Stallion to the AI + pine. Since my source of tension is floating I connect the negative output to GN