How can i subtract two numeric numeric numbers from two switch cases ?

I have two switch cases in my labView program. I can see them individually on front panel but i need to subtract them and see the result on front panel. 
Can someone please help me out...
I am trying to display (Result1 - Result 2) on my front panel. Result1 and Result2 will change with time.
Regards,
Awais 
Attachments:
play4.vi ‏122 KB

Move result 1 and result 2 out of the case structures and subract them.
Right now result 1 or result 2 only get written to if its respective comparison is true.  What do you want to do with the math if either comparison is false?  You haven't defined your problem clearly enough.

Similar Messages

  • How can i transfer all my contact numbers from iPhone 3G to iPhone 4S/

    HOw cn i transfer all my contact numbers from my old iPhone 3G to my new iPhone 4S?

    Sync old iPhone 3G to iTunes on your computer. Then connect new iPhone 4S to computer and Restore from Back-Up of the 3G. This command can be found, on Windows you right mouse click on iPhone name in left column of iTunes, on Mac Option click on iPhone name in left column of iTunes.

  • How can i subtract budget and actuals amount from gl_balances in discoverer

    I have a problem with a discoverer report.
    The table is GL_BALANCES (Financials), and i tried to subtract data of current year and last year, same month, or data from actuals and budgets amounts.
    Data from actuals have the "A" code in the ACTUAL_FLAG field, and budgets amounts have a "B" code. I construct a cross-tab report with ACTUAL_FLAG field in the "X" axis and the accounts segments in the "Y" axis (From GL_CODE_COMBINATIONS). The problem is: How can i substract budget and actuals amounts? Is the same field but differents columns in report.
    I cannot use analytics function because the version of database does not support that .
    Somebody told me: "...You need to construct a custom folder to handle this..."
    I don't want to finish the reports in Excel...
    Thanks.

    Hi Miguel
    You can either create a database view or custom folder to do this using aliases for the two joins to the same table.
    For example, you need something like this in the body of the SQL:
    select
    act.code_combination_id,
    nvl(act.period_net_dr,0) actual_net,
    nvl(bgt.period_net_dt,0) budget_net,
    nvl(bgt.period_net_dt,0) - nvl(act.period_net_dr,0) diff,
    act.period_name
    from
    gl_balances act,
    gl_balances bgt
    where
    act.set_of_books_id = bgt.set_of_books_id and
    act.code_combination_id = bgt.code_combination_id and
    act.period_name = bgt.period_name
    Of course you will still need to add your own joins to get the code combinations but I trust you get the gist.
    Hope this helps
    Regards
    Michael

  • How can I get the last 18 numbers from this string

    Hi,
    I'm querying this field from a table. How can I only get the last 18 numbers:
    The numbers look like this:
    500000000818118

    If it is always the last 18 numbers just use the Right() function.  Examples:
    Right("500000000818118", 18)
    or
    <cfset mystring = "500000000818118">
    <cfset mynewstring = Right(mystring, 18)>
    or
    #Right(yourquerycolumn, 18)#
    etc.
    Edit:
    Well I just noticed that your example string is only 15 characters long.  Perhaps I mis-understood your question?
    Message was edited by: Miguel-F

  • How can I remove non-numeric characters from a cell?

    I have a file an rtf file that I can open in Numbers. It puts each line in a separate cell. Each cell contains non-numeric and numeric characters. I'd like to delete the non-numeric characters so that I can add the numbers together. Is there a way to do this easily in Numbers that doesn't require doing it manually?
    Thanks,
    David

    Ok, David,
    This solution will work for vlaues up to 99,000 and if there is a space in front of your amount. There are two parts for clarity but you could wrap them up into one formula if you wanted to.
    B2 =FIND(" ",A2,LEN(A2)−9)
    C2 =MID(A2,B2,10)
    If there is a return before your amount (certain cells in your screenshot got me wondering) then the formula in column B
    =FIND("
    ",A2,1)
    It looks funny because it is finding the return.
    Let me know if this works for you.
    quinn

  • How can I protect my data in numbers from unintentional user of my iPad by other family members? In other words, how can I password protect my numbers and other apps from apple computer company?

    I have other members of my family use my iPad for educational/recreational use, young children who may want to play kid games. I don't want them to accdently get into my data stored in the three business apps from apple. I would like to password protect these files.
    I would also like to log out of the email systems that I use, so some one else can use this device to access their own emails. By leaving my accounts open al the time, is really asking for trouble from a host of sources.
    I can't believe that the iPad is not designed to protect the privacy and data from prying eyes ... Un intuitional as it may be.
    Please fix this issue so I create my info on this device and enjoy it fully. Or tell me how I can protect my data.
    Thnax.

    Thanx for your response. Any data stored anywhere should be able to be protected from stealing, malicious destruction or unintentional destruction. Theo ad an be stolen and without any kind ofpassword protection, the thief could get into your sensitive data.
    If Apple wants iPad to become a business tool that can be used with ideas, thots, data protected, then Apple needs to provide this protection to it's customers. Now it's unto the users to use it or not.
    I know iPad is being considered to be used by doctors, and can u imagine the confidentiality requirements of HIPPA rules... It will make this device not usable without data protection. I am sureweall have heard about hacking going on at all levels. It's surprising that this device's software is left unprotected.
    My iPad may be sitting on my desk and my 3 year old grand daughter would pick it up and start "playing" with it. That means I can't store anything on this machine that may possibly be changed.
    I have discussed this with specialists in apple stores, and those who have been around info technology understand my concerns and they may forward this request further up. They do not have the answer for it..... So far.
    I think data security should be everyone's concern... Be it a one person device or multiple user device.
    I hope that some responsible people at Apple would read this and provide the protection that will make this device lot more acceptable in the business world.

  • How can I get two missing numbers on a iTunes card

    How can I get two missing numbers on a iTunes card

    "Get help",just below the form space where I entered the code. Once I clicked "Get Help", it added another line to the form where I could enter  THE NUMBER ON THE BOTTOM LEFT CORNER on the back of the card. I entered as much of the I scratch-off code I could read, along with the serial number.

  • How can I label my rows on numbers so I can keep a running count? Dave

    How can I label my rows on numbers so I can keep a running count?
    i would like to number from 1 to 150  by highlighting and use a function command
    Dave
                   Name               Address          Email
    Ex      1
              2
              3
              4
              150

    Add a column to the left of column A (it will become column A).
    Assuming you want to start with the first "name" in Row 2 (and NOT number the header row):
    Two methods:
    1.
    In cell A2, enter =ROW()-1
    Grab the Fill Handle (small circle, bottom right of the selected cell) and drag down to fil the formula into the rest of the cells in the column.
    If the formula is placed in ALL non-header row cells in the column, it will automatically fill into any rows added to the table.
    If rows are inserted or removed, numbers below the inserted/removed row will be automatically adjusted.
    2.
    In cell A2, enter a 1
    In cell A3, enter a 2
    Select both cells.
    Grab the Fill Handle and drag down to the rest of the cells in the column.
    These are fixed numbers. They will not be automatically filled into new rows added to the table, nor will they automatically update when rows are inserted into the table or removed from the table.
    To add more numbers, select the last two cells currently containing numbers, drag the Fill Handle down.
    Regards,
    Barry

  • How can i delete photos in a folder from my Iphone 4s.  when it was synced, the photos went to two folders and not to the camera roll

    How can I delter photos in a folder from my Iphone 4s?  When I synced the new phone from the Itunes, the photos went to two folders and not the camera roll. 

    thanks, should I delete all the phones on Itunes and re sync the old phone, then resync the new phone to get the pictures?  Will they go to camera roll instead of a folder?

  • How can I have two itunes accounts on one computer?

    How can I have two itunes accounts on one computer?

    Not sure what you mean.
    An account is a user name and password.
    Sign into whichever account you want to use for purchasing.
    Authorize the computer for both account to listen to the content.

  • How can I combine two itunes accounts into one?

    How can I combine two itunes accounts into one?

    Items purchased from the iTunes Store are permanently associated with the account from which they were originally purchased.  Apple provides no way to change this.
    However, if you wish to put content from two accounts into a single iTunes library, you can easily do so.  Use the command File > Add File (or Folder) to Library.

  • How can I share two differents Itunes accounts in my Apple TV ? I have one and my wife has another account and we want to share both in our apple tv. How can I do this ???

    How can I share two differents Itunes accounts in my Apple TV ? I have one and my wife has another account and we want to share both in our apple tv. How can I do this ???

    I assume you have different iTunes collections on different PC's, or on different logins on the same PC?  If that's the case then just enable "Home Sharing" in each iTunes using the SAME iTunes username and password as you enabled home sharing on the Apple TV with. The account used for home sharing is NOT the same as the account used to access the iTunes store, so as long as you use the same account (pick one, doesn't matter which) then you should see both of yor iTunes libraries on the Apple TV. Note - each iTunes has ti be running in order for the Apple TV to see the library.
    Here's some details on how to do it:
    http://support.apple.com/kb/HT4363

  • How can we have two different Itunes libraries on one computer?

    How can we have two Itunes accounts on one computer?  I found info on the itunes help page but I do not know how to follow the steps given because I am not prompted with what it says I should be prompted with? Please help I don't want to delete one of our libraries

    Launch iTunes with the Shift key held down as needed, or use different Windows XP user accounts.
    (74282)

  • How can I use two displays with my Mac Mini?

    How can I connect two displays to my Mac Mini (newest generation with one thunderbold and one hdmi)?

    Have you tried connecting one to the HDMI output, and another to the Thunderbolt port (with the appropriate Mini DisplayPort-to-other connection adapter as needed)?

  • HT1660 How can I maintain two separate itunes accounts on one single device without erasing either set of data?

    How can I maintain two separate itunes accounts on one single device (iPhone 4) without erasing either set of data when syncing with itunes?

    Hi,
    Depends on what you trying to setup but for purchases, you can roll down at the very end of the iTunes/AppStore pages to logout of your current account and then login into a different one.  Then your purchase will be billded to this new account.  Everything will sync as you used to but in order to use the purchased content in iTunes or other devices, you will need to authorize them (you can have up to 5 devices authorized for an account).

Maybe you are looking for

  • Error 500: Application error occurred during the request processing

    hello gurus! One thing very strange happened to me, we have a PI 7.1 EP 1, I imported a file. tpz in the Enterprise Service Repository, exported from PI 7.1. and suddenly everything stopped working, the SLD, the SR, the directory, the repository ....

  • Can't able to start the weblogic server7.0 version

    Hi there, I want to work out some ejb examples on weblogic server7.0 release and the installed an evaluation version on my pc, if I want to start my default server where can I sart the default server, when I have gone to start/programs/BEA Weblogic P

  • PROBLEM IN SERVICE P.O

    DEAR CONS     I HAVE ONE PROBLEM. I WANT TO CREATE A SERVICE P.O BY GIVING SERVICE ITEM AS UNLIMITED. IN THE SAME TIME WE WANT TO FIX VALUE LIMIT. BEYOND THAT VALUE THE SYSTEM WILL NOT ALLOW TO CREATE SERVICE ENTRY SHEET.WHAT IS THE SETTING FOR THIS.

  • Windows XP Home

    I have read through a lot of these complaints, and so far, just about everyonw having these problems installing have Windows XP home. Again, I will say that the Windows XP Home version that I have is an Upgrade OS and I had NO problems installing Jav

  • How to install hp 1020 plus driver on mac book pro os x yosemite

     dear sir please help me i got yosemite operating system along with mac book pro without knowlege i purchased hp 1020 plus printer now help me to install the driver of this printer to run the printer [Personal Information edited by Moderator] india m