How can I select the condition one by one

I attaching a VI in which I have two condition less than or equal and greater than or equal. With respect to the input value 0f 125 the condition should be greater than or equal and if it is 175 then it should be less than or equal. So how can I exchange the conditions. Please reply
Attachments:
24.1.14 data acquisition reverse corrected-1.vi ‏116 KB

Hi perumpadapu,
Can you show me in your code where is this "175" and "125" is coming from? Where do you want to implement your flip logic?
" I need to relpace the greater than equal to to lesser than equal sign as the 175 becomes 125.So there should be a flip in conditions to be considered. "
If you want to do some sort of flip conditions based on the integer value received, you can use case structure as below:
Unless you are very certain that you will not receive any values other than 175 and 125, you can use Select. 
"Becaus if i use case structure as you said, for the true as well as false case I have to include all these commands to execute in each case. I can't wire the both cases to the same case structure after that."
Can you provide a screenshot to this issue?
It would be great if you can explain what you want to do and what your code does.
Warmest regards,
Lennard.C
Learning new things everyday...

Similar Messages

  • 2 different iphones have the same Apple ID, how can I change the apple ID on one of them but not delete the other iphone's data and media?

    2 different iphones have the same Apple ID, how can I change the apple ID on one of them but not delete the other iphone's data and media?

    You don't have to do anything with the first iPod that you don't use anymore. If you are planning on keeping it, put in a drawer in your house and forget about it.
    You don't need a second account to use with the new iPod. I use one Appl e ID and iTunes library for two iPods, and two iPad. I have different content on all four devices. You can select exactly what you want to sync to each device and it can be different content on all devices.

  • I'm trying to install an update to itunes that downloaded but can't complete installation as its trying to install onto D: drive. I don't have a D drive and i'm not given option of selecting the drive to install on. How can i select the drive that i want

    I'm trying to install itunes but can't complete installation as its trying to install onto F: drive. I don't have a F drive and I'm not given option of selecting the drive to install on. How can I select the drive that i want to install on?

    Hi,
    How do you connect the printer to the XP machine ? If USB, you need to make that machine as a Print server. Please try this:
       http://techtips.salon.com/make-windows-computer-pr​int-server-11914.html
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How can i select the next column instead of next row when press enter key

    I need to know how can i select the next column instead of next row when i press the enter key.By default ,when i press enter key the next row is selected and the column remain unchanged but I wants opposite that is the row should remain unchanged but column index will changed.
    Thanks to all.

    Well, the right arrow key will already move you to the next column, so the easiest way to do this is to modify the InputMap to have the Enter key invoke the same Action as the right arrow key.
    You can search the forum for my "Table Actions" (without the space) example that will show you how to do this.

  • How can I select the existing worksheet while using OLE2 to open the template workboo

    Source:
    application:=ole2.create_obj('Excel.Application');
    workbooks:=ole2.get_obj_property(application,'Workbooks');
    args := ole2.create_arglist;
    ole2.add_arg(args, 'c:\RptTemplate.xlt');
    workbook:=ole2.invoke_obj(workbooks,'Open',args);
    ole2.destroy_arglist(args);
    worksheets:=ole2.get_obj_property(application,'Worksheets');
    args := ole2.create_arglist;
    ole2.add_arg(args, 'Sheet1');      
    worksheet     :=ole2.invoke_obj(worksheets,'Select',args);
    ole2.destroy_arglist(args);
    Problem:
    1. While executing the above code, error -305500 occurs after executing "worksheet := ole2.invoke_obj(worksheets','Select',args)". How can I select the sheet i wanted in the template ??
    2. As I refer to the forms on-line document, it stated that the ole2 programmers documentation can provide all object types and methods that can be used with the OLE2. Does any link can provided to download the specified documentation ??

    The error is probably that your Worksheets variable is actually empty. Looking at your code I think the problem is that you try and get the value of the worksheets collection from the application then you should try and get it from the Workbooks object.

  • CS3 - Place Word document: How can I select the current preset?

    Hi
    In my Plugin I like to place a word document into a text frame. To do this I want select a defined preset before.
    How can I do that?
    How can I select the current preset for the placement (import)?
    Thanks for the support
    Hans

    Hi,
    I had posted a similar query few days back to place excel file in text frame. And I found out that, it is not possible to specify formatting option for any of microsoft document when using Indesign SDK.
    But we can do this by running script.
    If you are able to specify the formatting option through script, write code to get script object & execute this script through Indesign SDK.
    I was able to specify formatting option, sheet number, range etc through this.
    Hope this helps.
    Rajani

  • How can i select the duplicate values

    Hi experts ,
    how can i find the duplicate values from the table. i want to display the all duplicate the rows.
    1. Table Structure :-
    CREATE TABLE CIF_MIGRATE
      LINE_NO        NUMBER(10),
      ACCT_NO        VARCHAR2(20 BYTE),
      BRANCH_ID      VARCHAR2(1 BYTE),
      CUSTOMER_NAME  VARCHAR2(100 BYTE),
      FATHER_NAME    VARCHAR2(100 BYTE),
      GF_NAME        VARCHAR2(100 BYTE),
      TOTAL          VARCHAR2(100 BYTE),
      STATUS         VARCHAR2(100 BYTE),
      CUSTOMER_TYPE  VARCHAR2(10 BYTE),
      GENDER         VARCHAR2(10 BYTE)
    ) 2. Sample Data:-
    SET DEFINE OFF;
    Insert into CIF_MIGRATE
       (LINE_NO, BRANCH_ID, CUSTOMER_NAME, CUSTOMER_TYPE)
    Values
       (72, '1', 'Addis Belay Construction Material Rental', 'C');
    Insert into CIF_MIGRATE
       (LINE_NO, BRANCH_ID, CUSTOMER_NAME, CUSTOMER_TYPE)
    Values
       (73, '1', 'Addis Belay Construction Material Rental', 'C');
    SET DEFINE OFF;
    Insert into CIF_MIGRATE
       (LINE_NO, BRANCH_ID, CUSTOMER_NAME, FATHER_NAME, CUSTOMER_TYPE, GENDER)
    Values
       (2869, '1', 'Abraham', 'Fiseha',
        'I', 'Male');
    Insert into CIF_MIGRATE
       (LINE_NO, BRANCH_ID, CUSTOMER_NAME, FATHER_NAME, CUSTOMER_TYPE, GENDER)
    Values
       (2870, '9', 'Abraham', 'Fiseha',
        'I', 'Male');
    Insert into CIF_MIGRATE
       (LINE_NO, BRANCH_ID, CUSTOMER_NAME, FATHER_NAME, GF_NAME, CUSTOMER_TYPE, GENDER)
    Values
       (2872, '9', 'Abraham', 'Baraki',
        'Medehniye', 'I', 'Female');
    Insert into CIF_MIGRATE
       (LINE_NO, BRANCH_ID, CUSTOMER_NAME, FATHER_NAME, GF_NAME, CUSTOMER_TYPE, GENDER)
    Values
       (2873, '1', 'Abraham', 'Geber kirstos',
        'gebre medihin', 'I', 'Female');
    Insert into CIF_MIGRATE
       (LINE_NO, BRANCH_ID, CUSTOMER_NAME, FATHER_NAME, GF_NAME, CUSTOMER_TYPE)
    Values
       (2874, '1', 'Abraham', 'Gebre egziabher',
        'Negussie', 'I');
    COMMIT;4. My requirement is i need display all the duplication customer
    CUSTOMER_NAME                                 FATHER_NAME,GF_NAME
    Addis Belay Construction Material Rental   
    Addis Belay Construction Material Rental
    Abraham                                              Fiseha
    Abraham                                              Fiseha5. I tried below query but i cant reach what i want exactly
    SELECT CUSTOMER_NAME,FATHER_NAME,GF_NAME
                               FROM CIF_MIGRATE
                          GROUP BY CUSTOMER_NAME,FATHER_NAME,GF_NAME
                             HAVING COUNT (*) > 1kindly suggest me the solution
    Thanks
    Arun

    Hi,
    You're on the right track using COUNT (*), but, for this job, you want the analytic COUNT, not the aggregate COUNT.
    "GROUP BY x, y, z" means that the result set will only contain 1 row for each distinct combination of x, y and z. Most aggregate functions (including COUNT) have analytic counterparts that get the same results without reducing the number of rows.
    Here's one way you can use the analytic COUNT function:
    WITH     got_cnt          AS
         SELECT    customer_name
         ,       father_name
         ,       gf_name
         ,       COUNT (*) OVER ( PARTITION BY  customer_name
                               ,                 father_name
                         ,           gf_name
                         )     AS cnt
         FROM       cif_migrate
    SELECT    customer_name
    ,       father_name
    ,       gf_name
    FROM       got_cnt
    WHERE       cnt     > 1
    ;PARTITION BY in analytic functions corresponds to GROUP BY in aggregate functions.

  • How can i select the length of a trace in Ultiboard?

    Hello
    i got a problem with the length of some traces.
    Some special traces need to get the same length.
    I used the group edit item to create a grout with the needed nets.
    How can i creat the traces now. When i use the item Follow-me it doesn't apply the selected value.
    At least i tryed to use the Autoroute function but this just function doesn't work. (Error during autorouter preprocessing. Source: Autorouter Parameter Error)
    Is there any smart possibility to handle the problem?
    Best regards

    Beboni007,
    Here is how matched length traces can be completed in Ultiboard.
    First you do not necessarily need to setup a part group to do this... (differential pairs would require grouping)
    1. Forward annotate your schematic / netlist from Multisim.
    2. Determine the absolute minimum routing length from the origin of the net to the destination by routing a starter trace (remove/undo).
    3. In Ultiboard, go to the spreadsheet view/ Nets tab and set the 'Topology' of interest to 'Star' for the traces you need matched.
     -> This changes the Max Length and Min Length in the Nets tab from N/A to a number allowing you to set the min/max trace length
    4. Set the Min Length of the nets to an appropriate value for your application (it will need to be at least the value of your starter trace in step #2)
      -> Set the Max Length to the minimum + 50 mils or so (Ultiboard will do a relatively good job at attaining the minimum value but give it some room)
    5. Go to the Autorouter/place settings and set the Routing mode to: Gridless (this will give the router flexibility to go off grid and match lengths)
    6. Highlight the traces of interest and Autoroute these (Autoroute -> Autoroute Selected Nets).
    Some Tips:
    a. Do this routing first if possible
    b. Restrict routing to a single layer if possible (restrict routing layers -> Routing Layers in the Nets tab)
    Here is a simple example in Multisim: 
    After autorouting in Ultiboard as described:
    Hope this helps,
    Regards,
    Patrick Noonan
    National Instruments
    Attachments:
    Matched Lengths.zip ‏44 KB

  • Formatting issues: when I open a msg, the font is sooo small you need a magnifier to read it. How can I set the font size to one I can easily read?

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    I have various formatting issues:
    a. When I open a msg from my web browser (Cablevision), the font is sooo small I need a magnifier to read it. How can I set the font to a size I can easily read?
    b. When I forward msgs, the text gets all distorted and I need to clean it up (some symbols, lots of spaces between words). How can this be fixed?
    c. When I want to tell someone about a website, I cannot type the URL in so that all they have to do is click on it. How can this be fixed?
    d. When I open messages, the text opens in a small window and covers the "Show Images" button. Why?
    == This happened
    ==
    Every time Firefox opened
    == Ever since I started using Firefox (a few months ago)
    ==
    '''Troubleshooting information'''
    I didn't find any results
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows 7
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
    == Plugins installed
    ==
    *-nphpclipbook
    *Office Plugin for Netscape Navigator
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *The Hulu Desktop Plugin allows Hulu.com to integrate with the Hulu Desktop application.
    *Shockwave Flash 10.0 r45
    *Adobe Shockwave for Director Netscape plug-in, version 11.5
    *iTunes Detector Plug-in
    *3.0.40624.0
    *NPWLPG
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers

    The text editor is the text area that you use on the webmail (Yahoo, Hotmail) website to create a new mail.
    You can compare that with the ''Post new message'' text area that you use to create a new post on this forum.
    Just above the text area that you use to enter the message text there is usually a button bar with buttons that allows some text formatting like Bold and Italic and can also include a button to make a clickable hyperlink.
    Check the tooltip of each button by hovering with the mouse over each button.
    Make Link - https://addons.mozilla.org/firefox/addon/142

  • How can I retrieve the condition in an update or delete using instead of trigger

    I have 2 tables, on which a view is created. To distinguish the tables within the view trigger, a column "source" had been added in the view creation. I want to be able to delete row(s) in table t1 or table t2 through the view, depending on a condition. The problem is that I don't know how I can get back the delete condition IN the INSTEAD of trigger :
    CREATE TABLE t1(m NUMBER, n VARCHAR2(10), o date);
    CREATE TABLE t2(a NUMBER, b VARCHAR2(10), c date);
    -- The view is created based on the 2 tables.
    CREATE OR REPLACE VIEW vt12 AS
    SELECT 't1' source, m, n, o
    FROM t1
    UNION
    SELECT 't2' source, a, b, c
    FROM t2;
    -- The trigger will fire whenever INSERT is performed on the tables through the view
    create or replace trigger tvt12 instead of insert or delete on vt12
    begin
    if inserting then
    if :new.source = 't1' then
    insert into t1 values (:new.m, :new.n, :new.o);
    else
    -- will insert a default value of -1 for the fourth column "d"
    insert into t2(a,b,c,d) values (:new.m, :new.n, :new.o, -1);
    end if;
    elsif deleting then
    -- We don't know the condition for the deletion, so all rows from the
    -- table from which the current row is coming will be deleted
    if :old.source = 't1' then
    delete t1;
    else
    delete t2;
    end if;
    end if;
    end;
    show error
    insert into vt12 values ('t1',1,'1',sysdate);
    insert into vt12 values ('t2',2,'2',sysdate+1);
    insert into vt12 values ('t1',3,'3',sysdate+2);
    insert into vt12 values ('t2',4,'4',sysdate+3);
    insert into vt12 values ('t1',5,'5',sysdate+4);
    insert into vt12 values ('t2',6,'6',sysdate+5);
    commit;
    select * from vt12;
    select * from t1;
    select * from t2;
    delete vt12 where m = 1;
    commit;
    select * from vt12;
    select * from t1;
    select * from t2;
    When I execute this script, the delete statement seems to recognize that the condition is affecting a row in table t1, and therefore deletes all rows from the table, as specified in the delete statement of the trigger... But, what I want to do is ONLY to delete the row affected by the original condition. So my question is to know how I can get back the original condition for the delete, and still use it in the trigger, that will be executed INSTEAD of the delete statement.. I checked in the doc, and everywhere an example of INSTEAD OF trigger can be found, but it's always and only using an INSTEAD OF INSERT trigger, which doesn't need a condition.
    Can anyone help ?
    null

    I've never faced this case myself, but from the documentation it would seem that the INSTEAD OF DELETE is also a FOR EACH ROW trigger. Therefore, you don't really have to worry about the actual "where" clause of the original "delete" operation: Oracle has it all parsed for you, so you just need to redirect, in turn, each view record being deleted to the appropriate table.
    In extenso: for your
    delete vt12 where m = 1;
    => the INSTEAD OF trigger fires once for all records in vt12 where m=1, and I would guess that you trigger code should look like:
    begin
    delete from t1 where m = :old.m and n = :old.n and o = :old.o;
    delete from t2 where a = :old.m and b = :old.n and c = :old.o;
    end;
    It's a bit of overkill compared to the "where" clause of the original "delete" statement, but it should do the job...
    BTW, if by any luck you do have some primary key on tables t1 and t2 (say: columns o and c respectively), then obviously you can make the thing simpler:
    begin
    delete from t1 where o = :old.o;
    delete from t2 where c = :old.o;
    end;
    HTH - Didier

  • How can I select the date in chronologi​cal order on my BB curve?

    This sounds like a crazily basic question but one I can't find the answer to. After merging to a new email system my Curve has jumbled up all emails with no order by date.
    I can't find ANYWHERE in the instructions or the machine to select viewing emails by date, newest first. Our IT people reckon it does this automatically, but not on mine!
    Anyone know how this can be re-set. Hopefully an easy solution out there somewhere.....

    Weird.  Do a simple reboot on the BlackBerry in this manner: With the BlackBerry device POWERED ON, remove the battery for a minute, and then reinsert the battery to reboot. A reboot in this manner is prescribed for most glitches and operating system errors, and you will lose no data on the device doing this.
    Now, do the appear correctly in chronological order?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How can i select the step count of a recursive CTE ?

    I want to select the step count of this query (which one is do fiirst and continue + 1)  from query below
    ;WITH EmpCTE( BomID , empid, mgrid,BomMgrId, lvl, Qty , FLG)
    AS
      SELECT     BomID , empid , mgrid, 0 as BomMgrId , 0, Qty , FLG
      FROM Employees
      WHERE empid = 1
      UNION ALL
      SELECT   E.BomID , E.empid, E.MgrId, M.BomID as BomMgrId , M.lvl+1 , E.Qty , E.FLG 
      FROM Employees AS E
        JOIN EmpCTE AS M
          ON E.mgrid = M.empid
    SELECT BomID , empid, BomMgrId as mgrid , FLG , qty , lvl FROM EmpCTE  WHERE  FLG is null 

    Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules (you have no idea).
    Temporal data should use ISO-8601 formats. Code should be in Standard SQL as much as possible and not local dialect. 
    This is minimal polite behavior on SQL forums. 
    What you did post is a common design error made by people who do not understand how sets work. This is not RDBMS! It is a sequential file system, kludged in SQL using the recursive CTE that hides the cursors and loops. 
    >> I want to select the step count of this query (which one is do first and continue + 1)  from query below <<
    Step? A set has no concept of ordering. Your question is like asking about the gills on a dog in a veterinarian forum.  
    An SQL programer would have a table (set) with the name Personnel. This is a higher level abstraction. But you have Employees, a sequential file or list. 
    Managers and subordinates are not attributes as you show them. There is a relationship among employees. You have a non-normalized model that mixes relationship and entities together in violation of basic data modeling. 
    We also do not use flags in SQL; that was assembly language.
    Please follow Netiquette and  post the specs and DDL , so we can replace it with a nested sets mode. 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • How can I select the filename, in which the results are stored, dynamically?

    I want to change record file name several times in a TS execution using "statements".
    Which variable should i change in the statement? And what should i do to access that variable?
    Thanks a lot.
    Baris

    Hi,
    sansar wrote:
    Yes, I should use Report Options callbacak but i cannot understand how.
    I have added ReportOptions callback into my sequences. First of all, why is (is it) the ReportOptions sequence empty when i select it in the "View"  menu. Just the parameters can be seen. Does it mean what was done normally when ReportOptions is not added will not be done anymore, since the sequence is empty? Or, are the operations normally done but hidden from the user?
    Not all Callbacks actually do anything, and this is one of them. But you can see if it has any steps by looking at the original in the Process Model Sequence File - "SequentialModel.seq". On the other hand, if it did have some steps, such as the PostUUT, there is a setting, I think its in the Preferences, that will copy the exact Callback instead of creating an empty one.
    sansar wrote:
    Secondly, i can guess that the parameter i should change is the "Parameters.ReportOptions.ReportFilePath" but it is only available in the ReportOptions sequence. I think that i should be able to have it in the MainSequence (or in any of my subsequences) because there is the place i want to modify the report file.
    The thing with the ReportOptions, is it allows the user to setup the Report Options. Therefore, although there are properties such as ReportFilePath, they only become effective when other properties have been set with the correct value, usually a boolean. You can see this by setting the various controls in the Report Options Dialog and seeing what is enabled and disabled. There are other properties that allow you to setup the component parts of the filename, such as ReportBaseName.
    The actual report pathname is not setup until a step in the process model entry sequence (Test UUTs or Single Pass) is performed. This sequence is called 'Determine Report Pathname' (this might not be the precise wording) and is then stored in a Local variable. 
    You could obtain this setting in your MainSequence by using the lookup string "RunState.Caller.Locals.ReportFilePath".
    Hope this helps
    Regards
    Ray Farmer
    Message Edited by Ray Farmer on 11-23-2006 07:41 AM
    Regards
    Ray Farmer

  • How can I select the next item in table view?

    Hey,
    I'd like to select the next item ,but I have no idea about this ?do you have any suggestion?
    eg:
    the second item is being selected now,I need to select the third one in my code ,how can I implement this function?

    private IntegerProperty index = new SimpleIntegerProperty();
        public final double getIndex() {
            return index.get();
        public final void setIndex(Integer value) {
            index.set(value);
        public IntegerProperty indexProperty() {
            return index;
        }Get the selected item:
    table.getSelectionModel().selectedItemProperty().addListener(new ChangeListener() {
                @Override
                public void changed(ObservableValue observable, Object oldvalue, Object newValue) {
                    Person selectedPerson = (Person) newValue;
                    setIndex(data.indexOf(newValue));
            });Select the next index:
    table.getSelectionModel().select(index.get() +1  );

  • How can I select the minimum size of Elements 10? It won't install due to lack of disk space on C:

    I have just purchased and downloaded Elements 10. Can't install it due to insufficient disk space on my C drive. I have enough space on my D drive, but it will not install there, probably because my sustem files are on C drive. The Install wisard does not provide for a selection of the size of Elements 10. Is there a way to select the minimum size? If so, how can I do this?

    There is not an option to customize the installation.  The system requirements for Photoshop Elements 10 request that you at least have 4 gigabytes free, plus more for installation, how much free space do you have on your C drive?

Maybe you are looking for

  • I am having trouble connecting to 4g.  I am always getting a sad face cannot connect to network

    I am having trouble connecting to 4g.  I am always getting a sad face cannot connect to network

  • Use jQuery Scrollbar (Slider) in AIR App

    I built a simple blog reader that combines Spry's data handling and a one-off jQuery custom scrollbar. In my browser, it works brilliantly, but when I package it up in AIR, it appears that the custom scrollbars which jQuery creates are overwritten/di

  • Low-level logging is currently enabled

    Hi, I just noticed a warning sign today, when I login to my EBS 11i (11.5.10.2). WARNING :Low-level logging is currently enabled. Your application will not perform as well while low-level logging is on. I did not remember setting it on, how do i set

  • Why do I have so many duplicate songs in iTunes

    Does anyone know what would cause me to have a large number of duplicate tracks in Itunes. At first I thought it's possible I have more than one copy of a particular song on my computer or definitely on the several drives I have attached. However, I'

  • Schedule  Process for WA Reports(Urgent)

    Hi we are using Hyperion WA 9.3.1 for our reports, now i want to schedule one of the Hyp WA reports and after running that report it should go to users Inbox,,,,, can you help me howto schedule a WA report and send automated mail to users...... Its r