How to seperate two input signals

Hi people, currently i have one input voltage signal, i would like to add another input signal which display the temp from my Arduino IDE wirelessly via serial visa configure. After doing that, i would like seperate these two signals by using data bits. Can anyone explain to me in a detailed procedures?
i will upload up the file to show the current program that i am having now. One would be the main, the other would be the SubVI file.
Attachments:
Arduino Visa FG.vi ‏20 KB
Arduino Visa FGV SubVI.vi ‏26 KB

I can't tell you anything because you haven't shown me anything of what you are doing.
Show the subVI you've created.  How are you merging them together?  What does the data stream from your Arduino look like?  Once we know that, then it will be easy to figure out how to split them apart.
I wouldn't go so far to see you have a temp waveform and a voltage waveform.  It looks like you are just reading them a datapoint at a time.  You almost always need to have a Serial Configure when dealing with serial ports.  It doesn't matter whether you are reading both datapoints through the same serial port or just one datapoing through the serial port.

Similar Messages

  • How can I measure the phase difference of two input signal?

    Hello,
    I'm trying to measure the phase difference of two input sine waves with the
    same frequency.
    Is there anybody how I can do this with labview?
    Thanks,
    Dae-han

    This is my case! I have TDS3034 which can measure phase. However when I open Read Waveform Measurement vi that comes with tkds30xx.llb, I have a number of options under "measurement function" but not the phase measurement. May be I need another vi to do this?

  • Acquiring two input signals simultaneously

    Hi,
    I have an LVDT and a force sensor (both attached to a motor) plugged into my SC board and I am trying to read out & save the output data from both sensors simultaneously while the motor is in motion. The SC-2350 board is connected to the laptop via DAQCard 6036E . Two questions:
              1) in my block diagram, the DAQ assistant blocks for both sensors are wired to their respective waveform graphs (one for the LVDT signal and one for the force signal), the whole being included in a while loop (which remains true until the motor stops moving). When running the program, only one signal is read out at a time and I have no control on which signal is transmitted (this seems to occur in a random fashion). Do I need to "link"/synchronize the two DAQ assistants in some ways so that both signals will appear simultaneously? If so, how would it be possible?
              2) ideally, I'd like to read out both input signals on the same graph (with 2 different y-scales but the same time scale) to observe the phase shift. I tried to "bundle" the two data output coming from the two DAQ assistants but it resulted in an error saying that the two outputs were of different types. Is there a way to plot these two physical quantities on the same graph even though they're different and come from different sensors?
    Thanks for your help!
    Thibault.

    Hello Dani,
    I assume, based on your position sensors and the image you posted, that you are using counters to acquire your data. Is this correct? If so, it is important to note that you cannot add multiple counter operations to a single task because they have different timing requirements and all channels in a single task must share the same timing and triggering. In fact, if you attempt to add a second counter channel to a DAQ Assistant for a counter operation, you will receive the following error when you try to close the configuration window:
    So, you will have to use two different tasks to acquire your counter data. You can do this either by using two separate DAQ Assistants or by using two different tasks in the NI-DAQmx sub-VIs in LabVIEW. Since you are trying to compare the phase difference between the two measurements, you will also need to synchronize the operations so that you are reading from both counters simultaneously. There are several resources online which discuss synchronizing counters, and I have linked some that I thought might be useful below:
    KnowledgeBase 1JPES6LL: How Do I Synchronize a Buffered Quadrature Encoder Measurement to a Signal
    KnowledgeBase 3GGATSCC: Hardware Counter Start Trigger for Counter Synchronization
    It would probably be easier to use the NI-DAQmx Sub-VIs to implement this synchronization because they give you more control over specific parameters of your task. You can use the NI Example Finder to browse some examples which use the NI-DAQmx sub-VIs for counters. You can open the NI Example Finder by going to Help>>Find Examples... in LabVIEW. Once in the NI Example Finder, you can find the counter examples by selecting the Browse tab and navigating to Hardware Input and Output>>DAQmx>>Counter Measurements; then you can select the Position category (shown below) to find the Position measurement examples.
    Let us know if you have any other questions about taking position measurements.
    Message Edited by Matt A on 04-09-2008 03:55 PM
    Matt Anderson
    Hardware Services Marketing Manager
    National Instruments
    Attachments:
    Error -200147.jpg ‏32 KB
    Example Finder Position.jpg ‏124 KB

  • How to compare two input fields

    Hi i have two input filds with labels E mail and confirmmail
    in both the input flds same value should be enter ,if data in second input field is different from first input field an error should be displayed,can u please expalin me with code
    thanks
    kishore

    Hi,
    use as follows
    String emailId1 = wdContext.currentContextElement().getID1();
           String emailId2 = wdContext.currentContextElement().getID2();
    //remove the following condition if not needed ,
           if( (emailId1 != null && !emailId1.trim().equals("")) && ( emailId2 != null && !emailId2.trim().equals("")))
                int x = emailId1.compareTo(emailId2);
                if( x == 0)
                     //Both are same
                else
                     //Do the else part
    Regards
    Ayyapparaj

  • How to run two inputs in one loop?

    I'm trying to run a while loop that has two inputs and one output.
    The two programs are:
    -A Thermocouple which is connected to a controller which sends an output
    -A flowmeter that sends an input voltage to be read in LabView.
    When I run both programs separately they work fine, but when running in the same loop I get an error.
    The Error is in the input DAQ assitant of the Thermocouple. This is the message:
    "Error - 50103 occured at DAQmx Readv(Analog 1D wfm NChan NSamp).vi."
    This error also comes up when running both programs on separate loops, separate files, but simultaneously. I think I'm just missing a command. Is that right?
    Can someone help me to figure out what the problem may be.
    Thanks!!!!

    Oops, started the message refering Ni-DAQ and mistyped Ni-MAX, mid-afternoon slump I guess. As Dennis' vi shows you can configure each of the channels seperately, by configuring NI-DAQmx global channels and then calling them from your program. I would recommend Ni-DAQ 7.4, it has solved a couple of issues that I was having at one customer and has some interesting features. One is the ability to simulate a number of NI DAQ cards in NI-Max. Although the simulations are not very complete they allow doing configuration in your LabVIEW program without actually having the board(s) installed in your development system.
    Putnam Monroe
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • CAPS - how to provide two input files for a web service

    Hi,
    We have a web service that takes two parameters. Each of those parameters come from a different file. When we provided two files corresponding to two parameters it reads the first input file but not the second. Can you please tell us how to achieve this.
    Thanks
    -Rao

    Hi,
    In eInsight Business Process under Branching Activities you can select the "Flow Activity", using this acitivity you can achieve the solution for your problem.
    Thanks,
    Madan

  • How to conduct two inputs two outputs syetem with fuzzy control funtion?

    I have two DC motors to control two variable capacitor, and I use HP 8752c network analyzer to look the circuit's resonance frequency and reflection as a feedback control.
    The relation between inputs and outputs are nonlinear and they are all correlative with each other. But it still has a trend so that I can tune them by myself. It's time-consuming.
    I would like to ask that the fuzzy logic control is suitable for my situation?
    The system is time-invariant.
    Thanks.
    Jack
    J Wu

    Hi steve ,
    Sorry to say that you cannot configure and acquire from AI channels on a   Device simultaineously from 2 seperate VI's.
    regards
    Dev

  • How to seperate two buttons with a vertical  line

    Hi ,
    I am trying to seperate 2 buttons in a regions with a vertical line like Button1 | Button2. I am planning to use an image of vertical line for this.I put the image of a vertical line into the workspace images.How can i display the line between the buttons.Can i use the new"Display image" item for this purpose.Any input on this will be appreciated.
    Tahnks,
    Nav
    Edited by: Navarannan on 07-Sep-2010 05:34

    Yust create a display item between your buttons and put the in the source of that button a pipe:
    |sign.
    In the HTML Form Element Attributes of the display item you may put
    s tyle="font-weigh t:bold;fon t-size:20px"or similar, to influence the layout of the pipe sign.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • How to read analogue input signal in NI 9201 module using lab view

    hi all
    iam using Crio 9012 module for real time controller
    nd iam using NI-9201 for input and NI9263 for output
    i have configures cRIO 9012 on my Pc
    but how i will take analog input using NI-9201 module
    thanks
    tc
    Solved!
    Go to Solution.

    Hello,
    I would recommend taking a look at the following examples in the LabVIEW Example Finder.  If you go to help-->Find Examples, you will see this window.  Just search for 9201 and you'll see these 2 examples:
    Hope this helps!
    Tejinder Gill
    National Instruments
    Applications Engineer
    Visit ni.com/gettingstarted for step-by-step help in setting up your system.

  • How to give two Input File from Adapter Framework to EJB Modules

    hi,
    i'm using one EJB Module in SAP XI, which converts EDI file
    format to XML file format. But now i'm facing a problem, that is,
    in SAP XI we can able to give one file as an Input at a time, but
    in my case it is <input_file_name>.edi, but my issue is i need
    to refer another file also, if it is possible.?
    then,
    What and how we can able to use this, any clue
    inputModuleData.getSupplementalData("<Name>");
    or else,
    we can able to achieve this through Configuration settings,
    Option: addAdditionalFile
    please send your suggestion as well.
    thanks,
    rajesh

    hi check the development manual for reference
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f76f9f90-0201-0010-bf84-d0409ea425f1
    Note: reward points if solution found helpfull
    Regards
    Chandrakanth.k

  • Two input of table

    Hi,
    How to make two input of table X and Y will be automatically make the table  Z is the output and it will be display in indicator C
    The value of X and Y is depend on Enum A and B as shown in figure

    Sorry,
    the array table above is constant. user will enter value based on table given (hardcopy)
    the value of table Z is depend on the both value A and B of table X and Y.
    I means A= 1        B=1.5  ~   table Z=1
                    A= 1.2     B=2.5  ~   table Z=3
                    A= 2        B=3.5  ~   table Z=5
                    A= 2.2     B=4.5  ~   table Z=7
    and so on.

  • How can I measure the frequencies of two analog input signals simultaneously?

    Hi
    I have two AI signals, and I need to determine the frequencies of those signals. The frequencies range from 1-125Hz. I currently have a VI where I can sample one of the signals for 1 second (sampling at 300 Hz for 300 samples) and determine the frequency. 
    I need to read two signals at the same time and get both of the frequencies at the same time, but I can only figure out how to read them individually, so I can read one signal, then one second later I read the second one, then I read the first one again, then the sceond one, etc..  How can I read two signals simultaneously?
    Thanks
    Attachments:
    FreqMeas11.vi ‏41 KB
    FreqMeas11.PNG ‏18 KB

    "at same time", this depends on the hardware, you can do as has been previously stated just set up a 2 channel acquisition and you will get 2 sampled waveforms back.  Most hardware A/D as multiplexed and true simultaneous sampling is not done.  At 125Hz this is not an issue unless you are interested in very small phase changes between the samples.  just keep this in mind if you are expecting samples to be completly synchronized.
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • How can I tell if signals from two devices are truly synchronised?

    Hi there,
    How does one check that signals from two devices (two separate devices in a single X-series chassis) that should be synchronised actually are?   I am using a PXIe6361 and PXIe4331 on a PXIe-1073, with Labview 2001 SP1 64-bit. All devices are using the Sample Clock from the 4331 device, and an AI Start Trigger, so they should be synchronised.
    I thought that writing the signal data to file and checking the time stamp for each column of data would be the most accurate, but I have been told that timestamps are software created and therefore don't reflect the actual time that the signals were acquired by the hardware.  When I do this, the timestamps vary by up to 150ms which is larger than I expected.
    If I set the x-axis of the waveform graphs (on the GUI) to "Time" then it appears that the first data sample is taken at different times for the two plots (one plot per device).
    If I set the x-axis of the waveform graphs (on the GUI) to "Ignore time stamp" (so that the x-axis just starts from 0 rather than a date-time) then the first data point occurs at "0" for both graphs. However, I'm not sure that this reflects the actual alignment of the signal.
    What is the best way to check if signals collected on different devices in the same chassis are actually synchronised?
    Thanks,
    Claire.

    Hi Lynn,
    Thanks for your help and for sending the demo.
    I understand the concept of how the signals will look if they're not synchronised and your demo shows that nicely. I guess I have been perplexed by someone else telling me that the timestamps in the output file (and following from that I assume timestamps on a waveform graph) do not give an indication of whether signals are synchronised. The reason they gave for this was that the timestamps are manufactured by the software, not the DAQ hardware.  They suggested that I put the setting "ignore waveform timestamps" on my waveform graphs, and then check that both signals come in at the same time (i.e. both start at zero), but I'm not convinced about this. 
    When I use an analog trigger, neither the timestamps in my output file or on the two waveform graphs are synchronised. If I don't use the trigger, then there is far less disparity in the timestamps in the output file. I've attached two output files here, and my VI.
    This is my first attempt to synchronise a voltage module and a strain gauge module on an X-series chassis, so I want to make sure that I'm achieving the best synchronisation that I can, and the difference in behaviour with and without the trigger worries me.
    Thanks,
    Claire.
    Attachments:
    without trigger.txt ‏5 KB
    with trigger.txt ‏6 KB
    Multi-Device Synch-Analog Input-Finite Acq-Analog Start_Claire_wDigitalin_12June2012 PTbridge.vi ‏196 KB

  • How to make a synchronous acquisition of two analog signals with a one channel DAQ ?

    Hi !
    It is the first time I use Labview. I have just made some easy VIs, and now, I do not know how to deal with my problem...
    My problem : I have only one acquisition card (DAQ Ni 6034E) and I would like
    to acquire simultaneously two analog signals. It seems to be possible, in a quasi-synchronous acquisition if the card acquires one point of the first signal, then the first point of the second signal, then the second of the first signal, and so on ... I thougth that I could made two sequencies with a VI of data acquisition in each sequency, with the AI MULT PT. But with this, I think that I will lose the precision of the sampling frequency. And I have to know the sampling fre
    quency ...
    Thanks for your help !
    Carline

    Hi Carline,
    A PCI-6034E is a low-cost board, which only has one Analog to Digital Converter (ADC).
    With only one ADC you can't acquire different channels at the same time. That's why you find a multiplexer before the ADC in this type of board. This enables you to acquire multi-channels at the same rate quasi simultaneously. The samples of the different channels will be interleaved as it is explained in the following knowledge base :
    - http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/9379ea091c264b7c86256bc90082ca5d?OpenDocument.
    With this method, the sampling frequency is the same for all channels. The sampling frequency of one channel is determined with the "scan rate" parameter. There is only a small delay between the samples
    of each channels. When you perform an interval scanning acquisition, this delay depends on the "sample rate" that you specify. To have more informations about this terminology, please refer to the following KBs :
    - http://digital.ni.com/public.nsf/websearch/4D1435DF82EF494186256D8A006DD6D4?OpenDocument.
    - http://digital.ni.com/public.nsf/websearch/4D1435DF82EF494186256D8A006DD6D4?OpenDocument.
    To easily perform such a multi-channels analog acquisition, you can use the VI named "AI Acquire Waveforms.vi". You also can use an example provided with LabVIEW. You just have to browse the NI Example Finder in "Harware Input & output >> Traditional NI-DAQ >> General".
    Best regards,
    Benjamin
    National Instruments France

  • How to create 2 output signal locked in phase from a one input signal

    Hi all,
    I have a case in which I want read in a signal analog input (voltage) from a photodiode, I want to create a 2 sinewave signal locked in with same phase as the input signal and output them as analog output to my 2 laser diode. the frequency of the input signal is low aroud 15 Hz , the 2 output signal i want to be  around 120 hz and 150 hz . 
    I am using USB - 6003 daq card.
    I have created a vi to see the input signal but I dnt know how to create 2 signal from the waveform generator locked in the phase as the input signal. I have seen a PLL vi , but dont know how to use that with my program.
    can any one tell me how to proceed.
    thanks
    AG
    Attachments:
    pulse_PLL.vi ‏27 KB

    Hi AnkitG,
    Here are a couple of links that might help you understand a little more how the PLL work and a way to synchronize the task to perform a PLL.
    http://digital.ni.com/public.nsf/allkb/07BC8D77D4E9AE258625708B007CE74F?OpenDocument
    http://digital.ni.com/public.nsf/allkb/2F675A9F2162EA24862572570059A308?OpenDocument
    Also, you should be able to find a lot of examples on how to accomplish the synchronization of tasks on the community, if you consider that the only consideration is that both must start at the same moment. 
    I hope, these examples might show you some useful concepts:
    http://digital.ni.com/public.nsf/allkb/EBD603683446EC13862575B3006A63A2
    http://digital.ni.com/public.nsf/allkb/9E71F8D7D3CD1B0886257688004AE353
    Regards,
    Luis C.
    National Instruments

Maybe you are looking for