How to put Two condition at once

Dear all
I am combining two file here for the calculation, but the proble is that i have given a condition when colulm 4 of file-1 and column -2 of file are same then make calculation,, 
But i want put a condition when column 4 of file -1 is identical with column 2 of file-2, and column 3 of file-1 is identical with colum -3 of file2 then make calculation,
here i ahve attache my programme and files
Thanks and regards
Prince
Attachments:
test fiel-1.txt ‏99 KB
test-2.txt ‏2 KB
test.vi ‏29 KB

Simply use an "AND" node:
Regards,
Even
Certified LabVIEW Associate Developer
Automated Test Developer
Topro AS
Norway

Similar Messages

  • How to put two conditions (rendered) in a panelGrid

    I have two conditions to renderize a panelGrid, how I declare that? I tried to put two rendered but it didn't work. I tried a lot of things, nothing worked.
    Here is one of the codes I tried:
    <h:panelGrid styleClass="boxForm" columns="1"
    rendered = "#{!DHCPMainBean.newParameterDhcp} "
    rendered = "#{DHCPMainBean.newGroup}">

    Your code throwed the following error:
    javax.servlet.ServletException: ServletException in '/network/dhcpMain.jsp': java.lang.String
    I tried another forms like this:
    <h:panelGrid styleClass="boxForm" columns="1"
    rendered= "#{!DHCPMainBean.newParameterDhcp && DHCPMainBean.newGroup} ">throwed this error:
    javax.servlet.ServletException: ServletException in '/network/dhcpMain.jsp': /network/dhcpMain.jsp(135,46) The entity name must immediately follow the '&' in the entity reference.
    I tried this other:
    <h:panelGrid styleClass="boxForm" columns="1"
    rendered=
    "#{!DHCPMainBean.newParameterDhcp&DHCPMainBean.newGroup;}">But, it didn't work either:
    javax.servlet.ServletException: ServletException in '/network/dhcpMain.jsp': /network/dhcpMain.jsp(136,57) The entity "DHCPMainBean.newGroup" was referenced, but not declared.

  • How to put two ipods on one computer

    how to put two ipods on one computer

    Set up the second exactly the same way as you set up the first. If iTunes is already installed, it doesn't need to be installed again.
    (64746)

  • HOW TO PUT TWO PANNEL IN THE SAME PAGE

    HI ALL
    I NEED TO KNOW HOW TO PUT TWO PANNEL IN THE SAME PAGE TO FULLY UTILIZE FULL PAGE AREA BECAUSE THE PANNEL WIDTH IS TOO SMALL , SO I WANT TO MAKE THE PAPER CONTAIN TO PANNELS VERTICALLY.
    THANK YOU

    So Barb,
    I like to use multiple desktops and move back and forth between then using gestures. At the moment I have 5 open: Chrome, Firefox, Safari, Photoshop CS 6 and a desktop. I use "gestures" to navigate between them:
    Mac Basics: Multi-Touch gestures - Apple Support
    and I use Mission Control (F3) to move the various desktops around in the order I want them.
    Mac Basics: Mission Control - Apple Support
    So say I'm searching for a photo to open in CS 6, I find it on the open desktop then hit select "open" in CS 6 and go to that folder in the select pane.
    Even right now I'm typing this in Safari and "gesturing" back to Chrome where I did the search about multi touch and mission control. I drag copy the URL there  and gestured back here to paste the URL into this text.
    If you did a lot of photo searches, I set professional clients of mine in Chicago up with dual monitors (In this case you'd have an external monitor on extended desktop.). So all you need to do is just glance over at the second monitor slide your cursor over there open stuff up find your photo and go back to Photoshop and open it up.
    Hope this helps.

  • Using iMovie-does anyone knows how to put two videos side by side in the same screen/

    Using iMovie-Does anyone knows how to put two videos side by side in the same screen?

    See iMovie Help here.
    http://help.apple.com/imovie/mac/10.0/#movb8c659f55

  • How to put two pictures side by side without loosing the size?

    how to put two pictures side by side without loosing the size? I did create a new canvas and double the size but my pictures are smaller in the new canvas please help meeeeeeee!!! my pictures are High13.6 and wide 20.533 with a resolution 240 im working on photoshop cs3 or cs6

    Are you trying to print two pictures on the same sheet of paper?  If so, then use Picture Package in CS3  (it is not part of CS6 unfortunately)
    http://voices.yahoo.com/using-adobe-photoshop-picture-package-great-digital-614329.html

  • How to put two files with the same name into the same folder?

    How can I put two files with the same name and the same extention into the same directory?
    Is this even possible?
    Thanks in advance. 

    Are you sure? I would be very surprised if that was the case.
    How does the computer/filing system differentiate the files, if not by their names?
    How do you tell the computer which one you want? (On the command line.)

  • How to put two mono tracks into the usual stereo view in Edit view of Audition 3 ?

    Hi guys,
    Previously I have had no issues simply using Adobe Audition 3 for simple stereo recording and editing of a stereo feed taken from a mixer... well nearly no issues....  :-)
    Today, I'm having a bad day or else it's because I'm getting used to being retired.. :-)  ......
    Query :    How do I put two mono tracks into the usual stereo view in Edit view so they both display correctly there?
    Put simply I have two mono wav files. Let's call them Left_wav and Right_wav.
    I cannot seem to get them imported into a new clean Edit view (Normal stereo track layout) so that Left_wav is on the top half and Right_wav is on the bottom half.
    Whenever I try, I just get either Left_wav or Right_wav taking up the whole of the edit view. i.e. it just shows one track.
    Can anyone familiar with Audition 3 kindly help? I'd appreciate a simple step by step... I just can't see where I've been going wrong, and it's driving me bananas :-).
    Thanks

    There are various ways to do this in Audition 3. here's one.
    Open both mono files separately in Edit view. Then convert Left_wav to Stereo by going to Edit/Convert Sample Type and under Channels select Stereo with Left Mix at 100% and Right Mix at 0%. This will give you a new stereo file with Left_wav on the top channel. Next go to the Right_wav and copy to the clipboard using Edit/Copy. Return to your new stereo file and enable Edit Right channel only in Edit/Edit Channel/Edit Right Channel. Then make sure that the cursor is at start of the stereo file and Paste Right_wav into the bottom channel of the new stereo file. Finally Save As.

  • How to combine two conditions :  Exists and Item not null ?

    Hello !
    I have a flash chart region that I would like to display only if two conditions are both true.
    The first condition is this one :
    Exists (SQL query returns at least one row) :
    select 1
    from    observatoire.fiche aa, observatoire.activite_faite bb
    where   aa.fiche_id = bb.fiche_id
    and     bb.fiche_id = aa.fiche_id
    AND     bb.activites_id = TO_NUMBER(:P23_ACTIVITES_ID)
    AND     TRUNC(aa.date_activite, 'YYYY') = TRUNC(TO_DATE(:P23_ANNEE, 'YYYY'), 'YYYY')And the second condition would be :
    Item not null :
    P23_ACTIVITES_IDHow to combine these two conditions into one display condition ?
    Thank you .
    Christian

    Hello,
    The issue is that you're doing -
    TO_NUMBER(:P23_ACTIVITES_ID)When you leave the Null return value blank like that, you'll typically see '%null%' used in session state (i.e. it's not actually null). Obviously '%null%' can't be converted to a number, hence the error you're seeing.
    A simple solution would be to make your null return value -1 or some other value that is guaranteed not to be a valid id (and alternative is to convert the %null% to a real null via an App/Page process etc (if you search this forum you'll find a few examples on how to do that). Another alternative is to use a DECODE to detect the '%null%' etc.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • How to set two Conditions Simultaneously in set where clause

    Hi,
    I have a messgechoice item , and i need to fire messagechoice VO with two conditions.
    For Eg:-- we have three Items ProjectContractor& Work Order on a custom Page , now i need work order list should populate on lelection of project & contractor both, so i have apply a fire partial event on contractor where i i get the parameter values as follows:--
    CO Code
    if("OrderNoself".equals(event))
    String value21 = (String)pageContext.getParameter("ProjectName");
    System.out.println("The Selected Project Name for self Contractor is "+value21);
    String value22 = (String)pageContext.getParameter("ContractorName");
    System.out.println("The SelectedContractor Name for ContractorName is "+value22);
    Serializable [] params11 = {value21,value22} ;
    am.invokeMethod("initWorkOrderNumberself",params11);
    AM Code
    public void initWorkOrderNumberself(String ProjectName,String ContractorName");
    getDprWorkOrderpopVO1().setWhereClause("PROJECT_NAME = " + "'"+ProjectName+"'");
    getDprWorkOrderpopVO1().setWhereClause("CONTRACTOR_NAME = " + "'"+ContractorName+"'");
    getDprWorkOrderpopVO1().executeQuery();
    Now when i run my form then Work order list only populateon set conditions ofContractor NAme only.
    Please suggest....

    Hi Tarun,
    Thanx for ur reply,
    i have used below mwntioned code provided by you but still i m getting error...
    public void initWorkOrderNumber(String ProjectName,String ContractorName)
    //getDprWorkOrderpopVO1().setWhereClause("CONTRACTOR_NAME = " + "'"+ContractorName+"'");
    //getDprWorkOrderpopVO1().executeQuery();
    getDprWorkOrderpopVO1().setWhereClause("PROJECT_NAME =:1 AND CONTRACTOR_NAME=:2");
    getDprWorkOrderpopVO1().setWhereClauseParams(null);
    getDprWorkOrderpopVO1().setWhereClauseParam(1,ProjectName);
    getDprWorkOrderpopVO1().setWhereClauseParam(2,ContractorName);
    getDprWorkOrderpopVO1().executeQuery();
    ERROR:---
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select * from omaxe_work_order_headers
    where work_order_number is not null) QRSLT WHERE (PROJECT_NAME =:1 AND CONTRACTOR_NAME=:2)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:985)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:210)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:721)
         at omaxe.oracle.apps.xxopa.boqmain.webui.OmaxeDPRCO.processFormRequest(OmaxeDPRCO.java:107)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01006: bind variable does not exist
    Regards
    Saurabh

  • How to open two docs at once for a collage

    I am trying to create a collage. From reading Evening and Kelby it seems that I should create a blank document and then open the photos that I want to include. My next step is to make a selection or drag the whole file to the empty document. Finally, I should use free transform and move the layers around for my final result. My problem is that I cannot open two documents at once. If I create the blank document, once I open a photo it relaces the blank but I cannot have both open at the same time. I have looked through my books (no shortgage of photoshop books, just practical experience) and tried a search. Doers it make a difference if the photo I am trying to open is not in Lightroom or Bridge but simply on my desktop. I am certain that I am missing something simple but the solution eludes me. CS4 and an iMac 24. Thanks.
         Jack Polatin

    If you want to work in tabbed view, do it like this:
    Select the move tool. Go to the tab that contains one of the image files.
    Drag the image over the tab that has the blank document (Keep holding down the mouse button). Wait till that tab opens.
    Drag & drop the image into the blank document.

  • How do  connect two iPods at once.

    Hello, I have two iPods that I connect to one computer (1 a 5th gen ipod, and 1 a 4th gen ipod).
    I can only ever connect one of the two iPod's. When ever I try and connect a 2nd iPod, iTunes disconnects the 1st iPod, and only shows the 2nd iPod, and this then gives a windows error on the 1st iPod.
    Has anyone ever been able to connect two iPods at once in itunes for Windows?

    i have the same problem. With one ipod and another ipod nano, the itunes doesnt works, and need to restart it.

  • How to put this condition in Query

    Dear experts,
    I have a scenario where in the calculation should be dynamic between key figures in query
    For example i have a
    Target Cost and Actualcost1, Actualcost2, Actualcost3
    i need to findout the variance between the Target and Actual
    but the catch is that i need to findout the variance with the latest actual cost
    1. )  Target cost = 100
    Actual cost1=10, Acutal cost2=0, actual cost3=0
    then the formula should be Actual cost1-target cost
    2. )But if
    Target cost  =100
    Actual cost1=10, Actual cost2=5, Actual cost3=0
    then the formula should be Actual cost2- Target cost
    3. Target cost =100
    Actual cost1=10, Actual cost2 = 5, Actual cost3= 15
    then the formula should be Actual Cost3-Target cost
    How to achieve this
    Thanks and regards
    Neel

    Hi Neel,
    Do you have indicator saying that a particular actual cost is the latest? If you have any indicator thsi would make the job easy. Else you need to create new formulas to derive the logic.
    Else you can proceed with the belwo logic.
    1.target cost
    2. Actual Costs 1 - Hide
    3. Actual Costs 2 - Hide
    4. Actual Costs 3 - Hide
    5. New formula whcih evaluates the latest.
    Write the condition
    If Actual costs3 = 0 and actual cost2 = 0 then actual cost1.
    else if actual cost2= 0 then actual cost1
    else if actual cost1 NE 0 and actual cost2 NE 0 then Actual cost3.
    Then hide the above new formula.
    And in a new formula you can find the diff between the Target cost and the latest cost derived in teh above new formula.
    If the conditions is too big in the above new formula, you can split across two three new formulas and derive the logic.
    Just make some changes to the above logic if it is not 100%.
    I believe this logic will work.

  • How to record two channels at once with two mics

    How do you set up and record-enable two tracks with seperate microphones at once?

    Thank you Eriksimon but I'm afraid I did not correctly ask my question.  I am using two USB mics without an external interface.  They are plugged into seperate USB ports on my Imac and I can only access one or the other for recording purposes.  I wish to use them at the same time on two seperate record-enabled tracks so that I can obtain either seperate vocal tracks or a stereo image of an acoustic guitar.  One of my mics is a stereo Yeti but I am not satisfied with the results using the stereo capsule arrangement.  Thanks again!

  • How to login two system at once?

    I have a login page allow user to enter their username and password and then submit. After user submit, I want them to login into two separate system using the same username and password.
    How can jsp do that in order to secure the user's password and also the cookies can pass back to the user' s broweser?

    Thanks for you advoce,
    but in my case, I want to login into two system, e.g. one for asp and one for servlet. I need to similate a post request to both system and then get back the cookies from them to the user's browser. Seems that checking session does not work for this case.

Maybe you are looking for

  • Macbook pro OS 10.4.8 but need Classic on as well

    I have a new macbook pro with OS 10.4.8 but does not have the Classic environment, can I get it to run and where can I find it. It does not seem to be on the MacBook Pro Media disk that came with it. Sarah MacBook Pro   Mac OS X (10.4.8)  

  • Vendor Invoice blocking!!!

    Hi all Is there any way I can block all the vendor invoices automatically when they are created & then give authorisation to one user to review all those invoices & release them for payment in the payment run program? I know it sounds crazy but I thi

  • I have a scanned doc that I copied onto a word doc.  the scanned document text was crooked.  I want to straighten the text.  How do I do that

    I have a scanned doc that I copied onto a word doc.  the scanned document text was crooked.  I want to straighten the text.  How do I do that

  • Internet Explorer and compatibility mode error

    Whilst using DMXZone's HTML5 video player, it throws up a problem on some PC's stating there is an error and states to run in compatibility mode.  Is there a line of code I can insert into the page that forces compatibilty mode to work?  The client i

  • Name on exported clip

    Hi, I am making a video wordlist for signlanguage. I have several clips (each sign is a clip) and thay are each named after the sign they show. Now - when I export these small (but veeeery many) clips to the Media Encoder, I have to "rename" them eve