Multiple input labview 7.1

Hi there,
I am new in labveiw, but i tried to make some programm to open  multiple data file in single graph screen, but it is not working.
what i want to do..in each text file there is Amplitude and phase value. i want to compare minimum 4 text file in one screen. 
i also want to substract two data files and see the difference between various taxt file. 
can any body help me in that it will be great help
thanx in advance
raj
Solved!
Go to Solution.
Attachments:
multipal input channel.zip ‏54 KB

Sorry previously it was wrong one,
This is correct one...how i can see 5 text file at a time one one screen on the same scale? because i need it to compare all the data, please give me solution.
Thanx in advance
raj
Attachments:
multipal input channel 1.vi ‏19 KB

Similar Messages

  • How do I create an xControl with multiple inputs and outputs?

    Hello,
    i am trying to write a new Xcontrol Element. In the data model I can create data types using the cluster to create compound types, eg an int and an int array. But how do I create an xcontrol which has multiple data inputs and outputs?
    Kind Regards

    Limping_Twerp wrote:
    Alright: I see: An xcontrol is either an input OR an output. How do I achieve an output? Secondly: So you are saying the only Elements that can have multiple inputs and outputs are VIs?
    Can you take a few steps back and explain what you are actually trying to do. SubVIs and Xcontrols have nothing in common and it is not clear why you even try to compare them side by side (e.g. in terms of the number of connectors).
    Your questions about input or output tell us that you seems to have some misconceptions about xcontrols. Xcontrols are like regular controls, except they have some built-in intelligence that you can program. Most front panel object can be either controls or indicators and the same is true for Xcontrol. You create an Xcontrol, and after placing it on the front panel you can decide if it should be a control (where the code reads the value) or an indicator (were the code writes values to it). When you define the xcontrol facade, you also need to program how the visuals change if it is changed from control to indicator or vice versa.
    As a first step, you should opend the example finder and look at some xcontrol examples.
    Again, what are you actually trying to do? 
    LabVIEW Champion . Do more with less code and in less time .

  • Multiple inputs and outputs using DAQmx VIs

    Hello,
    I am fairly new with the LabView programming language.  I have a few training books that I have been reading, and I have been following online tutorials and reading the forums.  However, I have come to a problem where I don’t see a clear solution.  I am using LabView 2009 (9.0f3) and DAQmx VIs.
    I am using a NI 9172 chassis PLC, with two 9201 AI cards, 9217 AI RTD card, 9472 DO card, 9263 AO card, and two 9237 AI Bridge cards.
    I am reading eight analog inputs with the 9201 cards, two analog RTD inputs with the 9217 card, three digital outputs with the 9472 card, three analog outputs with the 9263, and eight analog inputs with the 9237 cards.
    I wrote a simple program to test one digital output task, two of the analog output tasks, and a single analog input task.  I put all of them in the same while loop, and it worked perfectly.  However, when I add analog input tasks to the same loop, I get an error 200022.    So I tested each sensor individually by changing the channel before each run.  I searched error 200022 and found that this is because I cannot start another analog input task until the previous one ends.  With this said, I don’t know how to acquire an analog voltage in the same task as an analog RTD voltage.  Both inputs take different constants in the start task DAQmx icon.
    Attached is my test program.  It is titled “Test All”. This is the program I used to test the various sensors.  I tested the input sensors one at a time, and it worked fine.  A few tasks are written just to test functionality, and will be added to later.  The data is only displayed on the screen.  I will add triggers and data write to disk functions later.  This program works now, but if I add more analog inputs, it will generate the 200022 error.
    Can someone show me how to correctly write the code for multiple inputs and outputs using DAQmx?  All training materials and tutorials I can find all show a single input or single output, not multiples of each.  Thanks for looking.
    -Randy
    Attachments:
    TestAll-NI.vi ‏32 KB

    Hi RandyC,
    The Knowledge Base article Using Different Types of DAQmx Global Channels in the Same Task goes into a little more depth of what Bryan is talking about, and it also includes some example code to help show what to do.
    Hope that helps,

  • Multiple Input Multiple Output Fuzzy Logic Controller

    I am designing an autotuning PID temperature control system whose PID gains are adjusted using a Multiple Input Multiple Output (MIMO) Fuzzy Controller. I am unsure how to set up specific inputs and how to use specific outputs when there are multiple inputs and outputs. Specifically, my Fuzzy system has two inputs and three outputs.
    For the input, I have two 1D arrays of scalars (doubles) which I have used to build an array and concatanated the inputs to the array. How do I configure which values of this array are used as each specific input value to the fuzzy system?
    Similarly, for the output, the fuzzy system gives three output values which are used as the PID gains. How do I configure these such that they are in the right order to be used as the PID Gains of the PID VI?

    Hi natsmi,
    You can find some examples by navigating to:
    C:\Program Files (x86)\National Instruments\LabVIEW XXXX\examples\control\fuzzy
    Some of them are at least MISO systems and might be helpful to clarify some ideas. You can also find them using the Example Finder from LabVIEW (By going to help on the top menu, and then Find Examples). There you can go to the search tab on the left and type in fuzzy.
    Hope this helps.
    Regards,
    AGJ

  • Creating multiple input terminals for a boolean function?

    Hi,
    I was wondering how to create multiple input terminals for a boolean function? I'm pretty sure i've done so before, but I can't seem to remember  how, I need to for a school assignment, and i've searched in the help in the program for about 3 hours before switching to google, which also didn't give me an answer.
    I'm beginning to feel quite stupid especially since it is something quite simple I'm sure, but I just don't know how 
    my teacher is currently on vacation and since it was an assignment I actually should've done in september I doubt any of the other students still recalls.
    What I want to do is create an or-function, with 3 boolean inputs, does anyone know how to do that?
    Thanks

    Look again at the picture posted above, it shows exactly what you need, the "compound arithmetic" node, found on the numeric and the boolean palette.
    Resize it to the desired numbers of inputs.
    right-click for the desired operation (AND, OR, XOR, etc.)
    right-click on each terminal to invert the particular input or output (shows as small circle).
    (I am not sure who gave the one star rating above, but that was certainly undeserved )
    Message Edited by altenbach on 08-11-2007 08:46 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    compoundAND.png ‏1 KB

  • How can I have multiple inputs into the selector terminal of a case structure

    Hi everyone
    I have a question on how to wire multiple inputs in to the selector terminal of a case structure. 
    Currently, I have three switches, each switch determines different case. So if I switch the switch 1 is on, the numeric indicator will show 1. If the switch 2 is on, the numeric indicator will show 2, so on and so forth. However, the selector terminal will not allow me to wire multiply inputs into the case structure, I tried Bundle by Name, Bundle and Array to Cluster, but they did not work. I set the case structure with 3 cases, they are 1, 2 and 3.
    Could someone help me please. I have attach an image and the VI of the work I did so far.
    I have another question, is there a function which can toggle other switches to off when there is a switch has been toggled on.
    Thank you very much
    Tommy
    Attachments:
    Trial - Case Structure.vi ‏7 KB

    Tommy, attached find a cheeseball way of doing this that has given me a LOT of mileage over the years.  IT lends itself nicely to a couple of really good practices that NI recommend, but I have given you the bare-bones to "see under the hood".  
    The recommended practices:
    1. You can make this a nice tight sub-vi where you can put it into a core library of routines that you'll use over the years, even extending the logic to look only for changes, etc.
    2.  If you are thinking about Front Panel design considerations, you'll want to use arrays of controls where possible, as that's a nice neat way of containerizing your switch for both the FP and Block Diagram.
    Have fun.  I have TONS of these types of things, so feel free to PM me if you have any other needs.
    Wes
    Wes Ramm, Cyth UK
    CLD, CPLI
    Attachments:
    Boolean Switch Logic.vi ‏11 KB

  • How do I get multiple inputs?

    Hi. I have Logic Pro 9 installed on my Macbook and on my iMac. I have tried to use a 12 channel mixing desk as the inputs for recording, but it will only ever allow me to select 2 inputs. This is on my Macbook only, I don't have the same problem on my iMac.  Previously I have a 2 input device (an Apogee Duet) and used this on both computers. When I connect the mixing desk (Yamaha MG166cx-usb via the firewire to USB connector, it shows up in the preferences and allows me to select it as the input and output device under preferences, audio, devices, core audio option. If I add a new audio track, it will only still show me the option of selecting input 1 or input 2. If I do the same on my iMac, it will show multiple inputs. I have uninstalled my previous audio device, and also uninstalled Logic, moved to trash, downloaded again, but the same symptoms are there.

    Yes. Of course I read the manual. It quite clearly shows in Cubase, which I haven't installed and don't use 4 stereo and 8 monoaural tracks. It's on page 11 of the hard copy manual. I have however just set up a blank project and tried recording from different channels on the mixer. (1 and 5). I can record either one individually, but only two channels simulaneously, but no more than two channels it seems. Are you saying this is all I ever will achieve with this desk? Seems a bit pointless almost to sell a desk with multiple channels yet only lets you record two of them with one of it's selling points - a USB connection facility. It's not the reason I bought the desk by the way, I use an Apogee Duet to record at home, I just wanted to be able to set up and record each individual channel during a live performance via the PA and then clean up and mix properly at home. Guess I'm not going to get far on that front

  • How to have multiple inputs for a Pic Ring?

    Alright, I've got this program in which there is a pic ring with multiple pictures on a tab page on the Front Panel. And on the Block Diagram the Pic Ring receives a number through a numeric indicator. There are multiple boolean variables set up and depending on which one is true that dictates which number the indicator pushes on to the Pic Ring. However, I can only connect one boolean up to the indicator at a time. If I connect mutliple wires to the indicator the wires become broken immediately. I have a screen shot depicting the setup in the Block Diagram.
    Anyway, my question is basically how to setup a numeric indicator for a Pic Ring to have multiple inputs?
    Attachments:
    PicRing Multiple Inputs.jpg ‏319 KB

    Shogun,
    You will probably need some sort of case structure to determine your input.
    It looks to me like you are searching a common string for whether it contains Valve1, Valve2, Valve3 and so on.  Depending on which one it finds you are outputting that picture.  I would need more information as to what exactly you were doing, but I might look in the string for "Valve" then a number and feed that output into a case structure.  For instance if you find Valve3 in the string you send the input corresponding to Valve3 into the picture ring
    Matt J
    Professional Googler and Kudo Addict
    National Instruments

  • How to Enter multiple inputs at a time in Form or Table

    Hi,
    I have one doubt in Webdynpro with java. How to enter multiple inputs at a time?
    For Exam My requirement is we will take employee details node under node empid, name, sal  etc some attributes is here
    Client asking like this enter multiple inputs at a time that data will saved in ECC System.
    1.     By using form how can enter enter multiple inputs at a time I donu2019t this so I will take table(here I will select input fileds). If any possible in form also tell me how I can enter multiple inputs at a time.
    In table suppose 6 rows available So He will enter
                             empid, name, sal  ,firstname, last Name
                             empid, name, sal  ,firstname, last Name
                             empid, name, sal  ,firstname, last Name 
    Like 6 time Click Submit. That data will save in ECC.
    So I was taken table. But in that Table only first row will be editable. I want all 6 will editable that time he will put data in rows then click on submit.
    How to editable these remaining rows? if u have any documents pls send me.
    Regards
    Vijay Kalluri

    Dear Vijay,
    To enter multiple inputs in a table and to make the other rows editable you have to provide that node with initial values.
    by initial values I mean you have to make that much space in your table node.
    For example the name of Node is  yourNode & you have empid, name, sal ,firstname, last Name
    attributes in that node, and you have to make 6 rows editable.
    Then, simply write this code in you wdDoinit() method of your view controller.
    IPrivateYourView.IYourNodeElement e ;
    for(int i = 0 ; i < 6 ; i++ )
    e = wdContext.nodeYourNode().createYourNodeElement();
    e.setAttributeValue("empid" , "") ;
    e.setAttributeValue("name" , "") ;
    e.setAttributeValue("sal" ,  "") ;
    e.setAttributeValue("firstname" , "") ;
    e.setAttributeValue("lastname" , "") ;
      wdContext.nodeOverTimeEnty().addElement(e) ;
    Change YourView with your view name & YourNode with your node name.
    If you have any problem in doing this you can revert back.
    Hope it helps!!
    Warm Regards
    Upendra Agrawal

  • How to edit the properties for existing variables in BEX query, so that I can get multiple input selections

    Dear fellow developers,
    I'm trying to edit an existing variable using BEX query, so that it can allow multiple input selections.
    As you can see in the screenshot attached, the option is selectable during creation.
    However, during editing of an existing field, this field (Details -> Basic Settings -> Variable Represents) is not selectable.
    Does anyone knows why, and how to remedy this?

    Yes you can do it at the table level.
    Go to SE11 enter table name as RSZGLOBV.
    Enter the technical name of variable in VNAM field..You need to change the value in VPARSEL column.
    Please make sure to get the where used list of this variable so that you can know the impact,if something goes wrong.
    Also change it in DEV and then transport across the landscape.
    PS:Same thing has been described in this blog as well
    Changing BI variable parameters
    Regards,
    AL
    Message was edited by: Anshu Lilhori

  • Multiple input arguments in User defined funcions

    Hi Experts,
       I have a file to proxy sceanrio.Have to do one to one mapping of all the corresponding fields except 3 fields. for eg
    1)  - <Services>
              <DisplayValue>Tax>Business Tax</DisplayValue>
           </Services>
    Sender                                                                            Receiver
    =====                                                                            ========
    Tax                                                                                Functions
    under the services tag the "Tax" is one of the  sender's field .I need to map this "Tag" to the receiver field called as "function".My question is: can we do wz some user defined functions  or we have to use java functions.If we use Java,what way we can implement in PI 7.1 because,i guess we can not use the multiple input arguments.
    2)  similarly,
        - <LineOfBusiness>
               <DisplayValue>Consumer Markets>Retail</DisplayValue>
          </LineOfBusiness>
    Sender                                                                            Receiver
    =====                                                                            ========
    Retail                                                                               Sector
    Retail is one of the sender field.it should be mapped wz another field "Sector" at receiver side.how to pick up the retail field and map it to the receiver side.Is there any user define function for this or we have to write java code if we have to go for Java,how it will be implemented in PI 7.1
    3)  similarly,
    - <GeographicLocation>
    <DisplayValue>Americas>North America>Null>United States & Virgin Isl.>United                 States,US,USA,United States of America</DisplayValue>
      </GeographicLocation>
    Sender                                                                            Receiver
    =====                                                                            ========
    Americas                                                                           Region
    North America                                                                    Sub region
    Null                                                                                Area
    UnitedStates,US,USA,United States of America                    Territory
    As u all can see,the above corresponding sender fields should be mapped to Receiver fields.It all has coem under one line in XML.How to pick it up and map 1 to 1 at  the receiver side bcoz receiver wants it as a separate fields.Is there any user define function for this or we have to write java code if we have to go for Java,how it will be implemented in PI 7.1
    Experts,please help me out as this is a live scenario.
    Thanks in Advance
    Veeru

    Hi,
      here is the partial structure.pls have a look.
    <Services>
      <DisplayValue>Tax>Business Tax</DisplayValue>
      </Services>
    - <LineOfBusiness>
      <DisplayValue>Consumer Markets>Retail</DisplayValue>
      </LineOfBusiness>
    - <GeographicLocation>
      <DisplayValue>Americas>North America>Null>United States & Virgin Isl.>United States,US,USA,United States of America</DisplayValue>
      </GeographicLocation>
    I have to do mapping b/w tax and some receiver field and it is a 1 to 1 mapping.how to extract teh field "tax" from that beause there is also a field name "business tax ".
    same with the field name  "Retail" .
    and also with the field names Americas>North America>Null>United States & Virgin Isl.>United States,US,USA,United States of America
    I have to extract one-one field and map to corresponding single fields at the receiver side.
    Have i presented properly.
    Please help me out.
    Thanks
    Veeru

  • How to submit data from multiple Input Ports in single SUBMIT button  click

    Hi,
    I am in SPS8.
    What exactly steps I need to perform to submit data from multiple Input Ports.
    I couldn't able to submit One input Form and one Input Table to BAPI data service in single SUBMIT button click.
    I debugged the VC application in SPS8.
    While debugging, I found that when I click the SUBMIT button in the Input Form, Only data in that Input
    form are being passed to the BAPI, But not the Table Form data.
    If I click on the SUBMIT button in another Input Table, Only data from that table is being passed to the BAPI, but not the Input form data.
    Essentially I need to submit both of them in one SUBMIT button.
    Thanks,
    Ramakrishna

    Ramakrishna,
    From the word document that you sent to me the steps you are missing to map the appropriate information into the BAPI is first you are not mapping all data rows into the table input port. To do this double click on the input table view and change your selection mode from single to multiple. Then when you click on your link between the BAPI and your input table you will see a new option appears under data mapping "Mapping Scope" select All Data Rows.
    That's the first part of the problem to get the BAPI to recognize both the inputs coming from the form and the table eliminate the submit button from the form. Drag and drop a link from the output port of the table view to the Input port of the BAPI. Double click on the link between the BAPI and the table view and open the expressions editor for the two fields:
    1/ Automatic Source
    2/ SKIP_ITEMS_WITH_ERROR
    On the hierarchical folder structure on the right expand expand the Data Fields node to find the fields from the form and map them accordingly.
    Now when you hit the submit button on your table it should pass the BAPI all the parameters from both the form and the table.
    Hope this helps,
    Cheers,
    Scott

  • Logic Pro X - Cannot see multiple input options

    Hello,
    I've been using other DAWs(DP and Studio One 2) but I decided to try Logic Pro X and purchased it yesterday.
    I'm using a firewire audio interface which has multiple input options. For example, Ch1 and Ch2 are for mic inputs, ch3 and ch4 are for my external sound module (Yamaha Motif Rack), etc.
    I tried to play and record the sound module on Logic, I first added "New External Midi Track". Then, I added "New Audio Track" to record the sound of sound module, like I do on other DAWs. I tried to select the ch 3-4 as an input for the audio track, however I could only see the input ch1-2 as an option for the track.
    The audio interface's driver is installed correctly. In fact, I can use the input ch 3-4 with no problem on other DAWs.
    Since I'm new to Logic Pro, I might have overlooked how to assign / setup the inputs.
    Can anybody let me know how I can activate input ch3-4 on Logic Pro X?
    Thanks in advance.
    -Holly

    Yeah, after I wrote the post, I found out that this happened because "built-in input" was chosen as a default input source on "Preferences -> Audio". That's why it only showed ch1-2. Now I chose my audio interface as the default input and I could see other channels.
    That's good, however this brought up a new question, if I want to use multiple input options such as two audio interfaces or combination of built-in input and an audio interface, is it possible to do so?

  • Multiple input lines

    How can I get multiple input lines?
    I'm brand new to java and I have searched the web for a little while to find how I can do this. But I couldn't find a thing.
    Until now I have used JOptionPane to have my inputs, is there another way to get input?

    Better yet try this:
    import java.io.*;
    import java.util.*;
    class Inputline1
         public static void main(String args[]) throws IOException
                JOptionPane.showMessageDialog(null,"Enter in strings, 'stop' to stop","Multiple Input",JOptionPane.INFORMATION_MESSAGE);
                ArrayList str=new ArrayList();
                   String tempInput="";                  
                   String output="";
                    while(!(tempInput.equalsIgnoreCase("stop"))){
                   tempInput=JOptionPane.showInputDialog(null,"String input: ","Multiple Input",JOptionPane.INFORMATION_MESSAGE);
                    if(!(tempInput.equalsIgnoreCase("stop")))
                               str.add(tempInput);
                       for(int x=0;x<str.size();x++){
                           String tempInput=(String)str.get(x);                   
                            output+="/n"+tempInput;
    }What I'm using is called an ArrayList. Simply put...it's an array that you don't say how big it is...it automatically knows by how many elements you add to it. It holds objects, and in your case Strings. When you're getting an object from the array you need to typecast is (that's why i have (String) in front of the str.get(x). Because arraylists only hold objects you need to tell it what kind of object you're getting from it when you're assigning your variable. Useful methods are .add() adds an object to the list and automatically resizes it, .remove() removes and object to the list and automatically resized it, .get() retrieving a copy of the object from the list, and .size() returns the length of the list. Check the API for details on it obviously. Well I hope that helped.

  • BOM and Production Order: Multiple Inputs to Multiple Outputs

    Dear All, My client's industry required BOM and Production Order must be Multiple Inputs to Multiple Outputs. We propose to create customization program to work on it but client do not want any customizations. Any suggestions? SAP B1 8.81 PL13 Thank you very much in advance. Best Regards, Vivian

    Hi,
    Please advice your requirement with an example. There is possibility to input multiple components to produce single finished product.
    Not sure you have checked with SAP help file. If not refer SAP help file and below blog.
    http://scn.sap.com/community/business-one/blog/2014/03/01/how-to-implement-production-in-default-sap-business-one
    Thanks & Regards,
    Nagarajan

Maybe you are looking for