If thing 1 is true return true. If thing 2 is true return false. (not quite like select function)

I have two inputs within my LV program.  I need to output true (or value for true) if input 1 is true but output false (or value for false) if input 2 is true.  The select function allows different outputs but for only 1 input. 

It should be fairly eeasy to come up with a boolean structure fo this.  For example, you have if input 1 as a true and input 2 as a true, what does it output???
Normally you can make a table to figure out what structure you could use.  1 = true, 0 = false
Input 1   Input 2   Output
0            0            0
0            1            0  
1            0            1
1            1             0 (I am assuming)
That means if you write it out out need (input 1) * (input 2)' or an And terminal with input 1 wired to a terminal and input 2 wired to a not and then to the other and terminal (see picture)
Kenny
Attachments:
ab not.gif ‏3 KB

Similar Messages

  • How do I get rid of the orange Firefox thing in my Location Bar? I want the interface to look just like Firefox 16.0.2

    I installed Firefox 33 after Tumblr stopped working on 16.0.2, but now everything is jumbled. i tried Classic Themes installer and most things worked great, except for one thing: the orange Firefox thingamabob in the location bar. I can't change it back to the short, unintrusive globe it was in 16.0.2. Here is how it looked then and looks now, for comparison. (Also, the open tabs now have no border and the bars are a different color!)
    http://i.imgur.com/aIiwfvc.png
    Also, the Awesome Bar doesn't work anymore! Before I could type, say, the letter 'i' and it would show my a bunch of imgur pages. Now it doesn't do anything when I type anything, and won't work when i hit Enter to search. What is going on?

    Hello, I have the same... well... "opinion".
    The Firefox logo in the address bar is intrusive and takes away a lot of sorely needed horizontal space in it, for no reason but to display the Firefox icon a third time (in the address bar, on the tab, and on the window in my case where it doesn't bother me).
    The screenshot the starter of this topic made illustrates perfectly what I mean - it unnecessarily clutters and overcrowds the horizontal space within the address bar. This is especially a problem for people who cannot use high screen resolutions due to being damned to forever keep using old CRT displays since all flatscreens cause excruciating eye pain (a minority no one cares about, I know - still where's the harm in making it optional?).
    Does anyone here know of any Add-on that can remove this said clutter in the address bar? I would really appreciate it and be grateful. Or any (other) way to remove it for that matter... make it an option, whichever...
    Kind regards

  • Hi. my MacBook pro went off without me turnng it off. i tried turning it on again, but it wouldnt come on. i also tried doing the SMC thing, no avail. please any other thing to do ? (This notebook is still very new for anything to be wrong with it)

    hi. my MacBook pro went off without me turnng it off. i tried turning it on again, but it wouldnt come on. i also tried doing the SMC thing, no avail. please any other thing to do ? (This notebook is still very new for anything to be wrong with it).
    There is no way I would do the smc thing with a laptop that won't come on.

    If it's new and you're anywhere near an Apple Store, take it in. If it's less than 14 days old you can exchange it. If it's more they'll repair it for you.

  • Select function that returns multiple columns.

    Currently I have a function that will return 1 column and I can use that in a select statement. What I need is to return multiple columns from a table. In the function I have I return the street address from a table that holds information about dealers, I need to be able to also return the columns that contain the city, state, and zip code so it can be used in an sql select statement. How would I do this?
    My function:
    FUNCTION GET_ADDRESS(dealer_id IN number)
    RETURN tbl_dealer_info.c_street%TYPE AS
    v_rc tbl_dealer_info.c_street%TYPE;
    CURSOR get_dealer_cur IS
    SELECT c_street
    FROM tbl_dealer_info
    WHERE n_dealer_id = dealer_id;
    BEGIN
    v_rc := NULL;
    OPEN get_dealer_cur;
    FETCH get_dealer_cur INTO v_rc;
    IF get_dealer_cur%NOTFOUND THEN
    NULL;
    END IF;
    CLOSE get_dealer_cur;
    RETURN v_rc;
    EXCEPTION
    WHEN OTHERS THEN
    RETURN NULL;
    END GET_ADDRESS;
    My select statement:
    select GET_ADDRESS(1205) Street, DI.n_inactive_flag, DI.n_onhold_flag
    from tbl_dealer_info DI
    where DI.n_dealer_id = 1205;
    I would like to be able to select the street, city, state, and zip all in this select statement from the GET_ADDRESS function.
    Thanks,
    Lori Neirynck

    "The reality is you've probably already put your blinders on and you won't learn the best approach to solving your problem because you insist on asking a courtroom style question (just "yes" or "no" please)."
    Actually, I asked this question because I was looking for the best approach to my problem. I have an SQL statement that correctly selects everything it needs to from all 15 tables. The thing of it is it is very long and difficult to read. I wanted to try using functions so that I could change 12 AND/OR statements into 3 IF statements so everything is easier to read. I have received a couple of different ways to do this from other forums that assumed I knew what I was doing. I have gotten one to work, the other I'm still working on. I'll post the one that worked for others that want to know.
    SQL> insert into dealer_info values (1,'Me','13 success street', 'Wonder Town','Wonderland','1313');
    SQL> commit;
    SQL> create type t_address as object (
    2 street varchar2(100),
    3 city varchar2(30),
    4 state varchar2(30),
    5 zip varchar2(10));
    6 /
    Type created.
    SQL> create or replace function get_address (p_id number) return t_address
    2 is
    3 ret t_address := t_address(null,null,null,null);
    4 rec dealer_info%rowtype;
    5 begin
    6 select * into rec from dealer_info where id=p_id;
    7 ret.street := rec.street;
    8 ret.city := rec.city;
    9 ret.state := rec.state;
    10 ret.zip := rec.zip;
    11 return ret;
    12 end;
    13 /
    Function created.
    SQL> col name format a10
    SQL> col address format a70
    SQL> select name, get_address(id) address from dealer_info;
    NAME ADDRESS(STREET, CITY, STATE, ZIP)
    Me T_ADDRESS('13 success street', 'Wonder Town', 'Wonderland', '1313')
    1 row selected.
    -Lori

  • IPlanet Calendar Server 5.0 WCAP commands fetchcomponents_by_range,fetchevents_by_id,fetchtodos_by_id returns the event dtstart & dtend in GMT and not in the timezone (tzid) specified in the command

    hi,
    i am vinod from knowledge systems pvt ltd. we are the partners with the iplanet india for customer support.
    problem description :
    m fetchcomponents_by_range,m fetchevents_by_id,m fetchtodos_by_id returns the event dtstart & dtend in GMT and not the timezone (tzid) requested
    i have an development issue with the iplanet calendar server 5.x.if i execute WCAP command storeevents.wcap as follows for storing an event
    http://localhost:portnumber/storeevents.wcap?id=n38tew98wbhhv95s&calid=userA&tzid=America/Indianapolis&rid=0&dtstart=20020419T050000Z&duration=PT1H0M&summary=eventtest&fmt-out=text/xml
    in the calendar server the dtstart and the dtend for this event is as follows
    dtStart = 1019210400 (20020419T100000Z) [19-Apr-02 10:00AM GMT] (isDate = 0)
    dtEnd = 1019214000 (20020419T110000Z) [19-Apr-02 11:00AM GMT] (isDate = 0)
    NOTE : in the WCAP command i had specified the time in America/Indianapolis i,e 0500 hrs behind GMT(-0500) hence the server stores the dtstart & dtend in the GMT which is perfect as explained in the docs.
    Now for retreving the same event i execute the following command
    http://localhost:portnumber/fetchcomponents_by_range.wcap?id=n38tew98wbhhv95s&rid=0&calid=vt&tzid=America/Indianapolis&fmt-out=text/xml
    the result has the event details but the dtstart & dtend are in GMT and not in the America/Indianapolis timezone requested.
    <START>20020419T100000Z</START>
    <END>20020419T110000Z</END>
    NOTE : the Mime type requested in the WCAP is text/xml. the expected dtstart is 20020419T050000Z and dtend is 20020419T060000Z applied to the timezone specified in the tzid parameter(America/Indianapolis)
    issue :
    m fetchcomponents_by_range,m fetchevents_by_id,m fetchtodos_by_id returns the event dtstart & dtend in GMT and not the timezone (tzid) requested
    docs says the following which is not true for retrieving the events.....
    For example, if a command such as storeevents or fetchcomponents_by_range
    specifies a tzid parameter, the parameter value must be a tzid that is defined in the list of 91 time zones. The server will return data in that time zone and all data will have dates applied to that time zone.If the command specifies an unrecognized tzid, the server will return a GMT timezone by default. All data returned on that command will have its dates applied in GMT.
    release notes has the following. i could not understand the point no. 1 could u please suggest me how to retrieve the event with dtstart & dtend values applied to the timezone supplied in the parameter tzid.
    1. The following seven commands now take an additional parameter, tzid:
    m deleteevents_by_id
    m deletetodos_by_id
    m fetchcomponents_by_alarmrange
    m fetchcomponents_by_lastmod
    m fetchcomponents_by_range
    m fetchevents_by_id
    m fetchtodos_by_id
    The value of tzid must be a time zone ID string, such as &#8220;America/Los_Angeles&#8221;. Note that these are not localized. If other ISO 8601 DateTime string parameters, such as rid, dtstart and dtend, do not have a &#8220;Z&#8221; on the end, this parameter determines the time zone to use.
    2. The following two commands, which already have the tzid parameter, have been modified:
    m storeevents
    m storetodos
    The value is no longer a quoted string, but is now a time zone ID string to match the acceptable values for tzid in the seven commands listed above.The default value of the tzid parameter in all commands is the server's default time zone. This is a change for storeevents and storetodos.
    thanks
    vinod

    I have found the solution! I post how I managed in case someone else has the same issue.
    You have to go to "Settings" -> "Settings Editor".
    There, there is a "display" entry.
    When you open the tree, you can see both of your displays (in my case, LVDS1 and VGA1).
    Under VGA1 (the "extra" monitor), there is a "Position" entry. There, you need to set the "X" variable to the last pixel of the other display resolution.
    E.g.: if you principal display is a "1366x768", then the "X" value will be 1366.
    You can also play on the "Y" if your screens are not horizontally aligned, but 0 should be fine.
    I hope this helps :-)

  • Can I return my MacBook Air past the return date?

    Hi, I have a question that I've been googling but I haven't been able to find an answer to anywhere. Can I return a MacBook Air past the return date to an Apple store if it is still in shrink-wrap and I have a receipt? Thanks.

    I would think you cannot return a product after the return date has passed.
    Call the Apple Store and ask them.

  • Line Chart - Current Year Sales, Current year Returns, Last year Sales, Last Year Returns

    We have a report that summarises monthly sales & credits for 2 years in a group footer.   The footer is a sum of a formula in the detail section that calculates the monthly sales at the Item code level
    Item 1
    Group Footer 1     July     Aug     Sept     Oct          
    Sales Last Yr     @July_LY_Sales @Aug_LY_Sales     @Sep_LY_Sales  @Oct_LY_Sales          
    Credits Last Yr @July_LY_Credits @Aug_LY_Cred     @Sep_LY_Cred   @Oct_LY_Cred          
    Sales This Yr @July_CY_Sales @Aug_CY_Sales     @Sept_CY_Sales @Oct_CY_Sales          
    Credits This Yr @July_CY_Cred @Aug_CY_Cred     @Sep_CY_Cred @Oct_CY_Cred          
    <Curr Yr Graph1>
    <Last Year Graph2>
    Item 2
    Group Footer 1     July         Aug           Sept                               Oct          
    Sales Last Yr  @July_LY_Sales   @Aug_LY_Sales @Sep_LY_Sales @Oct_LY_Sales          
    Credits Last Yr @July_LY_Cred  @Aug_LY_Cred     @Sep_LY_Cred @Oct_LY_Cred          
    Sales This Yr   @July_CY_Sales  @Aug_CY_Sales     @Sept_CY_Sales @Oct_CY_Sales          
    Credits This Yr    @July_CY_Cred   @Aug_CY_Cred     @Sep_CY_Cred @Oct_CY_Cred          
    <Curr Yr Graph1>
    <Last Year Graph2>
    In the footer under the data, we want a 4 line graph (or 2 x 2 line graphs for this year & last year).  One line for sales for the current 12 months, and with it, a line plotting the credits, so as to see the trend over that year.  And then we want a line graphing the previous years sales and a line graphing the previous year credits for the 12 months. 
    On the data tab in chart expert, we selected the Place chart for each SHDOC.ITEM (Item number) in the footer and this is positioning correctly.  We have tried selecting "On change of shdoc.item and we have also tried For each record.  We selected on change of shdoc.item to generate the graph for each item.  We then added the 12 formula for the current year in the Show Value panel  
    In the show value panel we tried using the detail formula, the Report Area: Sum of <formula> and the Group 1: Sum Formula.  They all display as @July or @Aug which is a dependent formula used to identify the month
    We have added the above formula for each month and each value, but we can't work out how to group the monthly data into the 4 series of 4 lines (1 colour each) - Current Year Sales, Current Year Returns, Last Year Sales, Last Year Returns for the charting.  We have tried to create a graph with only 1 set of monthly data (viz, just 12 months current year sales) But no matter what options we take, we seem to get 12 line chart representing each month rather than 1 line representing 12 months.
    Can someone point us in the right direction?

    Please re-post if this is still an issue but search forums first, lots of chart questions have been answered.

  • Remote Server returned '550 5.1.1 RESOLVER.ADR.ExRecipNotFound; not found'

    Hi all,
    having the following issue that started today,everything been working fine until now.
    When Office 365 users send e-mail to some on premise users they get the following error in Return.
    Remote
    Server returned '550 5.1.1 RESOLVER.ADR.ExRecipNotFound; not found'
    On premis users (Exchange 2013) can send to the same contact just fine.So for 365 users that failed we have tested the following:
    Using OWA,says recepient cannot be found.
    All 365 users fails to same recepients,for now a dosen People.
    Address that fail,mailboxes are spread accross different databases.
    Cannot see any error in event Viewer related to this.
    Any tips?
    thanks!
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. Thank you! Off2work

    Hi Ed,
    thanks for reply and sorry for late reply,been alot to do lately With lots if migrations and errors.
    YEs you are correct that the problem is caused by useraccount was in wrong OU and was not sync to the "Cloud".
    Move users Object to correct OU and all was working fine.Strange this is that it have worked before,so does it mean that if user is not in the OU defined to synced,it will be removed from the cloud?
    Br
    Ill put it as resolved :)
    Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. Thank you! Off2work

  • Returning non stock items from a return sales order

    Hello Everyone:
    I have a return sales order that I am receivi9ng an error meesage on for only two of the line items...
    The Error Message is "update Control of movement type is incorrect (entry 651 X__L)...the other items on the sales order that are being returned are not having this issue only these two non stock items.
    i looked in OMJJ and see my movement type  and everything....I am making the assumption that this is due to the material type being non stock...they do not have a MRP view either....the VOV5 also shows the item category for the non stock item with DN...what am I missing...please help...thanks in advancve...

    Thanks for you replies...However I would not want a stock transport order receipt for this which is what the "X" would be...this is a customer return from a sales order...again this works for stock material that is being returned by the customer...it is not working for a non stock material only.  That is my issue..it is only erroring out on the non stock item category only....I am MM and have stepped into a position that was previiously handled by another...I have not ran into this error before so help would be appreciated.....Thanks in advance...

  • Goods Issue for a Return Outbound Delivery for both Sales Returns

    Hi gurus..
    tell me the approch for the following development....
    custom transaction to perform a Goods Issue for a Return Outbound Delivery for both Sales Returns and Consignment Returns (Pickups) process within a lean warehouse in SAP.
    it is vry urgnt
    thnks

    I seem to have found the information I required here:
    http://wiki.sdn.sap.com/wiki/display/Snippets/Simulating+the+Sales+Cycle+with+BAPI's
    I'm going to keep this post active because I'd still like answers to my questions and any advice that you might be willing to share in regards to what I am trying to do.
    Edited by: Mikael Nensén on May 18, 2011 3:52 PM

  • In LR6CC, after using the merge to HDR and the photo returns to LR as a DRG, it is not automatically put into a previously set up stack. For example a stack of three photos. If I use NIK HDR and the photo returns to LR, the stack is automatically changed

    In LR6CC, after using the merge to HDR and the photo returns to LR as a DRG, it is not automatically put into a previously set up stack. For example a stack of three photos. If I use NIK HDR and the photo returns to LR, the stack is automatically changed from 3 to 4. When LR's HDR merge brings a photo back into LR's library, the stack number does not change and the DRG version isn't included in the stack.

    Hi,
    The Ps CS6 public beta version contains the same camera support as found in Ps CS5/5.5 compatible CR 6.6. There will be future updates to CR 7 for Ps CS6 to pick up more camera support. The Nikon D800 NEF files are not supported, yet.
    If you like to work with your D800 files in the public beta build now, you'll have to get the DNG Converter 6.7 from here: http://labs.adobe.com/technologies/cameraraw6-7/
    and convert your files to DNG.
    regards,
    steve

  • How to print a gift return label if only know the return number and order number

    I have a macbook pro, it's a gift, and I want to return it. But at first time, I forgot to print the return label, now I know the order number and return number, when I click "Print return label", it appeared I need to sign in, but I don't have a apple ID

    Call Apple sales and ask them. The number should be on your order receipt or look at the Contact Us link at the bottom right hand corner of this page.

  • HT204370 can you return a movie purchased by mistake that has not been viewed yet?

    can you return a movie purchased by mistake that has not been viewed yet?

    Hi jimmy505,
    The following information should help you with this:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    Find the email receipt for your purchase.
    Click Report a Problem under the app that is having the issue.
    When prompted, enter the Apple ID and password you used to purchase the item, then click Report a Problem.
    Click Report a Problem next to the item you are having an issue with.
    From the Choose Problem dropdown menu, choose the appropriate issue.
    Follow the onscreen instructions and—if prompted—type a description of the problem into the text field.
    Click Submit to have your issue reviewed.
    Hope this helps ....
    - Judy

  • Is it possible to Return Vat to a Vendor through return Po in Standard SAP

    I made  a  return po and  made it excise invoice but  it's  VAT  and  CST  not  coming.
    Ritesh

    Hi,
       You may follow the steps below:
    1. Create PO for Return to the vendor with the quantity to be returned (Select Nill Tax code)
    2. Do MIGO against the PO to return the goods with 161 movement. Do not enter excise values in migo.
    3. Create Excise Invoice. (Transaction: J1IS)
    Enter ref doc type as MATD
    Material doc number (161 movement material doc number) and other details and press enter.
    Click on "Get Excise Invoice" button. System will give a pop up with already posted invoice. Select the original excise invoice posted during 101 movement.
    4.   Post Excise Invoice. (Transaction: J1IS)
    5.   Enter the Credit Memo (MIRO)
    Select Tax code used in the original PO (not nill tax code)
    Regards,
    AKPT

  • From edit iPhoto returns to Event page instead of returning to folder.

    When I finish the editing instead of returning to the open folder iPhoto returns to the master events page. I then have to re-open the event and find the edited picture.
    What can I do to eleviate this problem ?

    Bic:
    Check the Events preferences and make sure you have Double click Event: Shows Event photo selected. Then when you go into an event and edit you should go back to the same event with all photos showing when done.
    If you use the Photos mode with Event titles selected to be viewed (will be like the Rolls mode in iPHoto 6) you will always go right back to the same photo and it's neighbors when you edit and finish.
    If you still have problems delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your User/Library/Preferences folder and try again.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

Maybe you are looking for