Hold indicator state if conditions are met for review at end of test

I am looking to have an indicator stay true if conditions are met. I can get it to go on just not stay on. Example: if 5>0 and 10>0 then true (and stay true until reset. It is probably something really easy and I am just missing it but I am not sure what labview combination of items to make the value stay until reset.

Paul and IanW,
I thank you for your posts....I think I have the solution but not sure why it does not work in my application. Attached is Paul's version modified to look like my version but they do not act the same.....My VI was created in 6 and migrated to 7.1 with the upgrades. This is the only thing that I can think of. Does this mean I have to redo my VI in the new version to fix this issue or am I just missing something.
Thanks,
Kyle
Attachments:
keepBooOn.vi ‏143 KB
Full Lab_verlatch.vi ‏170 KB

Similar Messages

  • Keep focus in a control until certain conditions are met?

    Hello,
    Is there a way to keep focus at a control until certain conditions are met?
    For example, if I might want to keep the focus set to a text field inside a tab unless the text field contains something valid.
    If user tries to switch to different tab without having valid text inside the text field, I would like to pop up a stage/dialog and abort the tab switching.
    Please help!
    Thanks.

    Hi. Here is an example:
    import javafx.application.Application;
    import javafx.beans.value.ChangeListener;
    import javafx.beans.value.ObservableValue;
    import javafx.event.ActionEvent;
    import javafx.event.EventHandler;
    import javafx.scene.Scene;
    import javafx.scene.control.*;
    import javafx.scene.layout.*;
    import javafx.scene.paint.Color;
    import javafx.stage.Modality;
    import javafx.stage.Stage;
    import javafx.stage.StageStyle;
    import javafx.stage.WindowEvent;
    public class SSNValidation extends Application {
        public static void main(String[] args) {
            launch(args);
        @Override
        public void start(final Stage primaryStage) {
            primaryStage.setTitle("SSN Validation");
            Button btn = new Button();
            final TextField tfSSN = new TextField();
            StackPane layout = new StackPane();
            Scene scenePopup = new Scene(layout, 424, 154, Color.TRANSPARENT);
            final Stage stage = new Stage();
            stage.initModality(Modality.APPLICATION_MODAL);
            stage.setScene(scenePopup);
            stage.setOnCloseRequest(new EventHandler<WindowEvent>() {
                @Override
                public void handle(WindowEvent event) {
                    tfSSN.requestFocus();
            tfSSN.focusedProperty().addListener(new ChangeListener<Boolean>() {
                public void changed(ObservableValue<? extends Boolean> observable, Boolean oldValue, final Boolean newValue) {
                    if (!newValue) {
                        if (tfSSN.getText().length() < 9) {
                            stage.show();
            final TextField tf2 = new TextField();
            btn.setText("Submit");
            VBox root = new VBox();
            root.getChildren().addAll(tfSSN, tf2, btn);
            primaryStage.setScene(new Scene(root, 300, 250));
            primaryStage.show();
    }

  • RBATP - is it possible to activate them only if certain conditions are met?

    Hello APO - RBATP experts!
    I have a question that I hope you can help me with:
    Is it possible to have rules that become active only in certain circumstances, for example, if the RDD of the sales order is today or tomorrow?
    I have limited knowledge on the topic; so your help will be greatly appreciated.
    This is my scenario:
    A sales order is raised in plant A for Material X, if there isn't enought inventory of Mat. X, there will be a rule to look for inventory in plant B. If stock is found in plant B; then an ATP Tree structure is created, which is then turned into a purch req; and then into an STO from Plant B to Plant A. Then the shipment is sent to the customer from Plant A. This is good, however, this is not what we want for sales orders that are placed with too much time in advance; because by the time the sales order needs to be delivered, the inventory may be available in Plant A, and those requirements are meaningless at that point. Any ideas of how to handle this? Thanks in advance!

    Hi DB:
    Here are my answers:
    If the requirement is placed upon B, how is it possible to later have excess inventory in A? 
    If the sales order was placed let's say 7 weeks in advance; during that time the whse could have received inventory from the plant.
    This is mainly why I need to find a way for the rule to do the substitution and create the requirement in B, only if RDD is very close to today's date.
    Is there a reason why wouldn't ship directly from B to the customer? (instead of first moving the stock to A) 
    Yes there is, the requirement of the business is that any sales order raised in A, must be shipped from A; but stock must be found in alternate locations to satisfy the order. If stock is not found, then the order is cut and shipped.
    Is A a plant, depot, or both?
    Is B a plant, depot, or both?
    How is 'B' normally supplied? 
    Are you using MLATP?  CTP?
    Both are depots; and are supplied from different  manufacturing plants across the country.
    We are using MLATP.
    Thanks again for your input!

  • Hiding Button if Conditions are met

    I have a form that has 3 drop down boxes with options 1,2 and 3 in them.  I want to hide a button if "1" is selected for either of the 3 drop down boxes.  But the problem is I want it to re appear if the user changes their mind and wants to select 2 or 3.  So at no point and time do I want the button visible if "1" is selected.  But I do want it visible if  none of the boxes have "1"or are blank.
    Thanks in advance for taking the time to help.

    Hi uschad123,
    Here's a way to do it:
    Set the bound values as numbers: 1,2,3 in the Binding Tab of the Object Pallet
    then using formCalc you put a script "like" this on the "exit" event on all 3 drop-down boxes:
    ////////////////////// formCalc:
    if ($ le "1" | ddl2 le "1" | ddl3 le "1") then
         button1.presence = "hidden"
    else
         button1.presence = "visible"
    endif
    you'll need to adjust the script slightly for each drop-down box. My example uses formCalc, but javaScript is just as easy.
    ////////////////// javascript:
    if (this.rawValue <= "1" || ddl2.rawValue <= "1" || ddl3.rawValue <= "1")
          button1.presence = "hidden";
    else
         button1.presence =  "visible";
    also with this, you'll need to adjust the script slightly for each drop-down box.
    Good luck,
    Stephen

  • Quick question - making button visible if two conditions are met

    I simply want a button to be visible is once condition is true and another condition is false. Shouldn't this line of code work?
    <mx:Button id="Btn"label="
    Submit"color="
    #FF0000"enabled="
    {islRequired}" visible=" 
    {!.isAdmin}  {isRequired}"
    click="submit()" 
    />
    isadmin = false
    isrequired = true
    the button should be visible
    Am I missing something?

    Maybe you miss OR (||) or AND (&&), but I never use at mxml
    visible="{!.isAdmin && isRequired}" 
    Works?
    Best Regards,
    Miguel

  • Restarting the executable until all conditions are true

    I wonder if I could be very clever and find the way out of my problem here.
    I am communicating with a device over UDP and for some reason, the device doesn't often establish communication with my Labview Executable on the first attempt.
    I run it, it fails, I then use CTRL+ALT+Delete to shut it down. I donubleclick the executable ICON on the desktop again and I sometimes do it five or six times then finally the communication is established and it all works.
    I wonder if I could add some code in the application to automate this process. One of the way I could now think to do is by creating another vi and call my current vi dynamically and add all those conditions into cluster, call this cluster (by wiring to the output terminal of the current main vi into new main vi) and monitor my cluster in the new main vi to see if the conditions are true if so continue or reload the current vi until those conditions are met? Is it the right way to do this? Or can I make my life easier and applcation more stable by doing something different?
    Kind Regards Austin

    Can you post your current code and show us the part that is communicating via UDP. I think the way to go is deffinately make your current code stable rather than an automation of failing code.
    Also what is the device you are trying to communicate with. Does this have a set protocol that you need to follow or is it one you are trying to figure out.
    Let us know and we could help you further.
    Matthew Trott
    Applications Engineer
    National Instruments UK
    www.ni.com/ask

  • Send for Review: FINAL WORD for Publishing

    Hi,
    I would like to make sure I will ALWAYS receive ALL drafts
    Contribute users are sending for review. Is there any way I can set
    up my Administrator e-mail address as a default no matter if drafts
    are sent to others also? Ideally I would like to be the one who has
    the FINAL WORD since I need to make sure all layout is consistent.
    Maybe something like no matter who reviews I will be the last one
    and the ONLY one able to publish?

    <<Ideally I would like to be the one who has the FINAL
    WORD since I need to make sure all layout is consistent. Maybe
    something like no matter who reviews I will be the last one and the
    ONLY one able to publish?>>
    In case if you are admin then the above requirement can be
    achieved by removing the publish permission for all the roles
    except admin, it will automatically enforce all the users to sent
    the drafts to admin to get it published.
    In case you are not a admin contact the site admin to create
    a role which has a publish permission and get added yourself under
    that role and remove the publish permission for all the other roles
    by editing different roles and un-checking the check box "Allow
    users to publish files"
    Thanks,
    Manoj

  • Price and Pricing conditions are not copied to PO for a line item !!

    Hi
    I have created a PO w.r.t a PR which has only one line item.
    Now, I add another line item to this existing PO, i get an error message that the Price and Pricing conditions are not copied.
    How do i rectify this error !!
    Where might be the link for this Price and Pricing conditions to get copied in to this PO ??
    MaruthiRam

    What kind of PR and in the PO same material you enter for new line or new material and do you have any funcitonal authorization assigned o your user id
    please reply

  • Writing a file for prescribed amount of time in a while loop after the triggering condition is met

    Hello Guys,
    I am trying to program an application in which if the trigger condition is met it should start to write the file.
    I was able to do that, but if I want it to be written for certain amount of time, and once the trigger condition is met, it should continue to write the files for prescribed amount of time. I was not able to do this. The file name should also be updated accordingly.
    I tried to with some options by keeping the creation of the file outside of the loop, if I do that then if the trigger condition is not met it will stop writing and I dont want that, as once the trigger condition is met it should be true thereafter.
    So I cant keep any thing outside the while loop, bcaz then it checks the condition of the shift register for the trigger and I have it as a false constant.
    I am attaching my application which is kind of mess and I have written in the application where I am having problems. For every iteration of while loop it makes a new file, and i dont want that, I want to write specific amount of time data to the each file.
    Please take a look at my code and help me in solving the problem. Any insights and examples on how to do this thing will be a relief to me.
    Thanks in advance.
    Regards,
    Nitin
    Attachments:
    PXI_4462_Sync_and_Stream_trigger.zip ‏192 KB

    what i am saying is to keep track of how much data you have written and whenever you need to make a new file you make 1.
    here is a vi that i just made that should show you. let me know if you need any help understanding it.
    Attachments:
    new file exemple.vi.zip ‏21 KB

  • Why the apple told about this system for the new iphone 6 but the mine no see the change...?1:28 p.m. Wi-Fi calling is a new feature for making high-quality calls when cell conditions are poor.

    Hi apple. in the Keynotes about the new iphone you say..
    1:28 p.m.
    Wi-Fi calling is a new feature for making high-quality calls when cell conditions are poor.
    The question is Work That? i no see the change for me POOR signal here on my office..
    my carrier att. have very Poor Signal here on Aguadilla PR.. i take this PHone for this keynotes about the wifi calling is a new feature...
    please i need a new respont.. and check the security about iphone Someone call reply the text messenger from the Block area.

    It sounds as if you only had one line with an upgrade available. So you can only upgrade one line. For you to upgrade as well, you will have to wait until your upgrade is available. You can check that at MyVerizon. That's just how it works. All carriers and phone brands are the same. I have to wait until February to upgrade. The only thing you can do to get the new iPhone, is add a new line. But then you're paying for a line you don't need.

  • How to  write and what are reports for Income Statement by Region (SD/AR)?

    Hi all,
    I am anticipating  to write some abap reports, I am new to abap..Here is one of them..Anyone can help  me with writing a Report , how to do  'Income Statement by Region (SD/AR)'
    But since I am new to abap , if you wish to reply, please use a little more detail and simple explanation, step by step so I can understand what is the idea, how it can be acheived...what kind of report should be used , techniques, tables etc...:)
    Appreciate your help!
    Regards,
    Boby

    I agree with how you think bugs should be reported. For now, I'd suggest posting them here, in detail. Some of us can relay them to the appropriate places, at least until we hear from Adobe personnel about an official location or method for the average end user.
    Lee Jay

  • Hi can you please help me to fix my iPhone 5 when I update it to the iOS 6.1.2 my carrier signal indicator states searching all the time please help me what to do

    HiHi can you please help me to fix my iPhone 5 when I update it to the iOS 6.1.2 my carrier signal indicator states searching all the time please help me what to do

    Hi Samantha,
    Are you aware that if you restore your ipad that you will lose all data from your ipad and very difficult to get it back unless you had previously made a back-up of your data on itunes or in the cloud. and that would be on the computer you set those up on. (There are some independent apps out there that might help restore data but I don't have any experience with them...)
    Also, I think if you restore on another computer you're supposed to have administrator rights and have the latest itunes update. And I think if you sync (if restoring is considered syncing with another computer, you'll be locked out of your computer or a new one.)
    I don't know if there is a way for you to safely eject your ipad from your mom's laptop and find another way, but please read this
    http://support.apple.com/kb/ts1275
    Also, I suggest you start a new post and title it something like First, stuck on update and now on Restore on another computer. Please HELP! And then tell the story of your problem that you originally included and your follow-up efforts to restore given a suggestion on previous post (though I think you SHOULD AVOID RSTORE if you can.) And refer them to your original post
    https://discussions.apple.com/message/22050045?ac_cid=tw123456#22050045
    Hope this helps and if you can get back to your ios before the upgrade, stay with it. I hope it all works out for you.
    FYI - If it's a new or refurb bought within the past year you might be able to have it replaced by Apple.

  • Capturing data instantane​ously after condition is met using 2 DAQ cards

    Hi all,
    I am wanting to sample a pulse and a sine wave at a low frequency of 1 kHz point by point sampling and upon a condition being met - the leading edge of the pulse being greater than a certain value - I the want to take a certain number (here 270) of samples of the sine wave at 50 kHz, multiple samples. I am doing this within a case structure and using a separate DAQ card. 
    The problem is that when the conditon is met is does not capture the data at the higher frequency straight away. It misses part of the sine wave before commencing capturing the 'window' of the 270 samples of the sine wave at 50 kHz. I want to know if there is any way of speeding this up? I am aware that using an FPGA could help but I don't have access to one. 
    The other solution would to advance the condition, i.e advance the pulse train by a certain amount so that I compensate for the delay in activating the high freq capture. I would need to set up this advance of the pulse train so that, after the delay in activation, it captures the data exactly where it is required to. What would be the best way to do this? I could delay the pulse train by a certain number of samples/ or delay the sine wave, or I have read that you can use the sample timer/counter within the DAQ card to change the 'trigger of the pulse train'. How would I implement this?
    Attached is my vi. I would be very appreciative if you could help. 
    Attachments:
    2 DAQ cards Low and High Freq Sampling.vi ‏29 KB

    I do not have DAQmx or any suitable DAQ devices so I have not tested this.
    This is a start on cleaning and speeding things up. Note that writing to the front panel indicators at 1 kHz will not work because the screen update rate is on the order of 50-100 Hz. Also charts take a considerable amount of computation beacuse they need to (1) store data in the internal buffer, (2) erase old data if the buffer is full, and (3) (slowest) recalculate all the pixels in the display for the updated data. The cart should be moved to the parallel loop. The condition True boolean will only be true for about 5 ms out of each 100.  Look at the 5 ms boolean.vi  attached. It runs close to 1 ms per iteration. The boolean is true about 5% of the time but I never see it change. Remove that boolean from your VI.
    With continuous sampling on the pulse channel and reading 1 sample every millisecond (assuming you get that fast) when the high speed sampling occurs it takes 5.4 ms to acquire the 270 high speed samples. So, ten times per second the loop takes >= 6.4 ms for an iteration. The next sample it reads from the pulse channel is the one which was measured (acquired) at 1 ms after the previous sample. Thus, this data point is read ~5.4 ms after it actually occurred. The next time you detect a pulse, it will be 5.4 ms late. The second one will be 10.8 ms late. Eventually you will get a buffer overflow, but your data will be useless long before the error occurs.
    The Dual Sampler Simulator.vi shows a possible approach to the issue. It simulates sampling both channels at high speed.  I generate both a sine wave and a square wave and sample both at 50 kHz. It simulates reading 4000 samples at a time (equivalent to reading 12.5 times per second or every 80 ms). The square samples are then processed for the transition using the boolean Implies function. I do not recall whether the Conditional terminal was available in LV2012. I did not get an error when saving for previous version so I think it will be OK. The same thing can be done with a while loop with some extra logic.  This does not handle the case where the transition occurs at the boundaries of the 4000 sample segment. To handle those cases use a shift register on the outer loop to pass the needed samples to the next iteration. The 800 ms Wait makes it run slower than "real" time but allows you to see what is happening.
    Lynn
    Attachments:
    2 DAQ cards Low and High Freq Sampling.2.vi ‏26 KB
    5 ms boolean.vi ‏10 KB
    Dual sampler simulator.vi ‏15 KB

  • Standard Condition type used for Manual freight at item level

    Hello Gurus
    Can you please tell me the standard condition type used for entering freight manually at header as well as item level.
    Warm Regards
    Prashant Joshi.

    Prashanth,
    The freight Conditions that we use in Sales are two types
    HD00 - Header Level, wherein we have no access sequence
    KF00 - Item level, Wherein we have access sequence  KF00 - Freight
    But you want the condition types to be maintained manually, then you need item details screen of the respective condition type HD00/KF00 using Tcode V/06.
    Inside that Manual entry as "C". Similarly you need to maintain or activate "Manual" Indicator in pricing procedure. Then you can enter the freight Manually.
    Note:
    The difference In applying at the header level and item level is if you enter freight value at the header level it is applicable to all items in the item level. But if you want to apply freight  we can give freight to each item or selective item.
    Regards
    Sathya

  • SSD's which are OK for updating firmware on a Mac?

    I'm looking at a couple SSD's for a MacPro, any thoughts on which are OK with updating firmware on a Mac? Probably better to ask now before I need to..
    Crucial M500 or Samsung 840 Pro?  I'm assuming that OWC's offerings are probably the best for Mac compatiblity, any others?
    thanks in advance.

    Firstly there is a near identical question about setup of just days ago that hopefully you found and looked at in your research.
    System on SSD / scratch for CS6 / projects
    Lloyd's blog is full of tips: http://www.macperformanceguide.com
    Start with what SSD (single) then get into multiple and setup and apps and how they are used, which really might be first thing to ask?
    The Pro uses highest quality but both have much of the same controller and firmware - and it was just reviewed as to what the diference is. Find and read that.
    Rick over on MacGurus setup an old working model for PS: a scratch disk + working project files is the fastest - was done with SCSI and then the first 10K SATA Raptor. Probably still holds true.
    No you are not limited - I strongly suggest you set it up on Sonnet Tempo Pro RAID card and then use one 250GB 840 to start with, then add 2nd. Use one of the PCIe slots for your SSD(s). Maybe start with a 500GB.
    Maybe use JBOD to combine two but not in RAID0.
    The system can go on SATA II drive bay or optical bay.
    Is there a one size fits all or to say this is the only way? of course not, you can though test and try and work with your budget, your Mac and move SSD to  where it does the most good.
    Samsung starts mass producing PCIe SSDs with 1400MB/s read speeds
    When the new MacBook Air got the teardown treatment... a new SSD.
    The new drive is known as the XP941 and Samsung will offer it in 128GB, 256GB, and 512GB configurations. It achieves read speeds of 1,400MB/s, which clocks it at 2.5x faster than a SATA SSD. It also only weighs 6 grams and measures 80 x 22mm. Samsung claims it only takes up a 7th of the space occupied by a typical 2.5-inch SSD.
    SSD Maintenance
    https://discussions.apple.com/thread/5012276
    Samsung 840 Pro and Samsung 840 Solid State Drives Reviewhttp://www.xbitlabs.com/articles/storage/display/samsung-840-pro.html  [06/07/13 | Storage ] 
    Samsung currently offers very interesting solid state drives. Some boast outstanding performance, others – are built with inexpensive TLC NAND and come with a very appealing price tag. And our tests prove all of this: we are ready to discuss what we saw when we got our hands on a Samsung 840 Pro 256 GB and Samsung 840 250 GB drives.
    From last September, StorageReview article 840 vs 840 Pro - they were my favorite review site for storage for years.
    http://www.storagereview.com/samsung_ssd_840_pro_review
    Second only to TechReport
    http://techreport.com/review/23990/samsung-840-pro-series-ssd-reviewed
    X-bitlabs is also one of my popular stops and they look at Sandisk
    http://www.xbitlabs.com/articles/storage/display/sandisk-ultra-plus.html
    I am sold on Samsung though and feel the 840 will do fine for me, but I would use $$ to get Sonnet Tempo SSD or Pro from OWC.

Maybe you are looking for

  • Null pointer - need help!

    Hi All, I have a problem and I am not sure what to do. I need to swap the sql queries below based on the status being passed into the method. However, when I try to set the query in an if statement - the line: rs = state.executeQuery(query);will not

  • Use a g-Raid for DLNA playback?

    Not sure if this is the right forum for this topic, but here it goes.  I currently have an OLD Win XP used as a home server to store lots of photos and video. The short story is that I'm thinking of making the switch from my current laptop to a Macbo

  • BPM 11g: Adding external application link to process workspace

    Hi, In my project, I have a requirement to show a search link the applications panel of the process workspace (link will trigger a ADF application). Currently it is being implemented using a process with a single initiator task. The disadvantage of t

  • Cannot connect to control panel

    I dont know if this is the right place to post this but up until today I can no longer use a custom ip adress or anything like that and http://192.168.1.1 wont even connect for me anymore it just sais it has timed out. does anyone have any clue how I

  • Com.bea.workshop.cmdline.antlib.CheckManifestVersionTask cannot be found

    I get the above error when building my portal application using ant. I read another post on this subject where the issue was resolved by using the JDK supplied by weblogic. However, that did not work for me. Also, I am trying to build the portal on m