Collecting data to be compared in set ranges that would trigger the next step

We are collecting data from a pressure transducer that needs to be read by LabVIEW. The data needs to be compared to a set range (min/max) that would determine the following 2 steps: if within the range, keep collecting data OR if outside of the range, another action would occur. The following action is the control of the pump, so either the pump continues at set flow or LabVIEW tells the pump to increase/decrease flowrate. We are having trouble trying to analyze the data so that is can be compared so we know whether it is within the set range. Is it possible that LabVIEW can continously acquire data from the pressure transducer and also analyze it at the same time? Also, what is the best option/way to compare the data within the set range; an event structure, a comparator, so that the results of the comparsion can relay a signal to the pump?
Helpful links to tutorial sections would be very useful, if anything.
Thank You!

Look at the in range and coerce function on the comparison palette.  It outputs a boolean which would drive a case structure.  If the action for out of range high and out of range low need to be different, you could do a couple of comparisons to see if the value exceeds the max or is below the minimum and act according in a case structure inside of the True case of the first case structure.

Similar Messages

  • Hi there. I bought and downloaded photoshop elements 13 today. When I tried to set it up and was prompted for the serial number, the one I was given and subsequently entered ( correctly ,I checked numerous times) was seems invalid. What's the next step?!

    hi there, I bought and downloaded Adobe photoshop elemts 13 today. When trying to set it up, I was prompted for the serial number which upon being entered was deemed invalid. I know the serial number is the correct one. What is the next step, how do I contact Adobe store?!?

    Error "The serial number is not valid for this product" | Creative Suite
    if that doesn't help, contact adobe support by clicking here and, when available, click 'still need help', https://helpx.adobe.com/contact.html

  • Can I send the zoomed portion of a signal from data view to the next step

    I get a zoom window on Data View when I select it.  Can I send the zoomed portion to the next step or use it in any way?  If I Create VI with this,  will the zoomed portion show up in the VI?   Will a graph of any kind show up in the VI?

    Hi,
    Thankyou for posting to the National Instruments Forums.
    The feature you are looking for is the Subset and Resample step which may not be the exact thing you are looking for. If indeed this does not fulfil your needs we would love to hear about what features you would like implemented at the Product Suggestion Center.
    Hope this helps!
    Abhinav T.
    Applications Engineering
    National Instruments India
    LabVIEW Introduction Course - Six Hours
    Getting Started with NI-DAQmx
    Measurement Fundamentals

  • TS1398 In "Set Up" I try to select our secured WIFi router from the list of available networks.  However, it will not allow me to select it. This then prevents me from going to the next step. What do I do?

    In "Set Up" I have tried to select our secured WiFi router from the available list shown.  It is listed.  However, when I try to select it, it will not check off or remain blue when I lift my touch.  This then will not allow me to go on to the next step.  What do I do to connect to a secure WiFi router? I do know the WEP Key number but there is no place to type then in.
    Alice from Hart

    The trial can only be loaded 1 time as far as I know. You could try http://labs.adobe.com/downloads/acrobatcleaner.html, remove any left over parts of the Acrobat folder, and reboot. Then try an install again, but my guess is you will have to purchase Acrobat at this point.

  • HT201472 I thought I lost my iPad and so I set it to be wiped the next time it was online. Now I've found it. What do I do?

    I am in India. I thought my iPad was lost and I set it to be wiped the next time it was online. Now it has been returned to me. What do I do?

    Restore from iTune or iCloud backup.

  • Is SWR10 still collecting data, when phone is not in range?

    Just bought SWR10, but in manual can't find this very simple answer (as in title).
    e.g. sometimes I can't carry phone with me at job, so then SWR10 is not in range with phone. When I come to luch or after job with phone in range, if Lifelog app I will see data (steps, calories etc)?

    Location data is depended on phone GPS so it will not be logged.
    Steps and calories are independend of the phone and SmartBand (as per user manual) can collect data for up to two weeks. When you connect to your phone again data will be downloaded from the band.
    Best regards,
    Sergio PL
    Xperia Z1 / Nexus 7 (2012)

  • Can I set up a hyperlink to the next page of a series?

    Hello,
    Here's a question for the braintrust here......
    I was trying to build a gallery of images that I can change
    over and over. I wanted to know if it was possible to set up a
    generic hyperlink in a template file that, when clicked, simply
    goes to the next page found within a given directory (the directory
    would contain pages with file names like 01.htm, 02.htm, etc). I
    wanted to set up the link in a template file so that it just reads
    "next." This way, the template file would contain generic
    navigation, but when you click on the "next" link within a page, it
    would understand what page you are on (say page 07.htm) and would
    then go to the next page in the directory (say page 08.htm or
    12.htm, whichever is next in numerical / alphabetical order). Is
    this possible, and am I making sense?
    Thanks for any help you all can offer, and I am more than
    willing to explain more if need be.
    Jake

    Got the script finished. You need to ensure that each page
    uses a three
    digit page number like this 002.htm, and it would pay to
    create a page at
    000.htm and one that is one higher than the highest page with
    an image.
    <script language="JavaScript">
    //shows your URL
    var str = document.URL; //reads in the full url
    var n = 7;
    var q = 3;
    var iLen = String(str).length;
    var ThisURL = String(str).substring(iLen, iLen - n);
    var ThisPage = String(ThisURL).substring(0,q);
    var ThisNumber = ThisPage - 0; //This will case the string
    as a number
    document.write("<br>" + ThisPage);
    document.write("<p>");
    var PrevPage = ThisNumber - 1;
    var NextPage = ThisNumber + 1;
    // Now we need to change the numbers to include the leading
    Zeros
    if (PrevPage < 100) {
    if (PrevPage < 10) {
    var PrevPageDigit = "00";
    }else{
    var PrevPageDigit = "0";
    document.write("<a href = '" + PrevPageDigit + PrevPage +
    ".htm'>Previous</a>");
    }else{
    document.write("<a href = '" + PrevPage +
    ".htm'>Previous</a>");
    if (NextPage < 100) {
    if (NextPage < 10) {
    var NextPageDigit = "00";
    }else{
    var NextPageDigit = "0";
    document.write("<a href = '" + NextPageDigit + NextPage +
    ".htm'>Next</a>");
    }else{
    document.write("<a href = '" + NextPage +
    ".htm'>Next</a>");
    </script>
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "Paul Whitham AdobeCommunityExpert"
    <[email protected]> wrote in message
    news:[email protected]...
    > Anything is possible. Because you can not be sure that a
    visitor will come
    > into the first page in the gallery. Because you are
    using .htm pages you
    > will need to use a javascript. I am playing around with
    a script at
    > present. Email me off line and I will send it to you.
    >
    >
    >
    > --
    > Paul Whitham
    > Certified Dreamweaver MX2004 Professional
    > Adobe Community Expert - Dreamweaver
    >
    > Valleybiz Internet Design
    > www.valleybiz.net
    >
    > "jakeryan90" <[email protected]> wrote
    in message
    > news:[email protected]...
    >> Hello,
    >> Here's a question for the braintrust here......
    >> I was trying to build a gallery of images that I can
    change over and
    >> over. I
    >> wanted to know if it was possible to set up a
    generic hyperlink in a
    >> template
    >> file that, when clicked, simply goes to the next
    page found within a
    >> given
    >> directory (the directory would contain pages with
    file names like 01.htm,
    >> 02.htm, etc). I wanted to set up the link in a
    template file so that it
    >> just
    >> reads "next." This way, the template file would
    contain generic
    >> navigation, but
    >> when you click on the "next" link within a page, it
    would understand what
    >> page
    >> you are on (say page 07.htm) and would then go to
    the next page in the
    >> directory (say page 08.htm or 12.htm, whichever is
    next in numerical /
    >> alphabetical order). Is this possible, and am I
    making sense?
    >> Thanks for any help you all can offer, and I am more
    than willing to
    >> explain
    >> more if need be.
    >> Jake
    >>
    >
    >

  • Data from one text field to another text field on the next page

    Hi all,
    Hi I have a form, which has data coming in from the data binding, the thing is the data is mapped to a certain text field and if that text field is filled up it should be continued on to the other text field which is on the immediate page following it. the reason for using text field instead of  Subform and make it expandable is  the client does not want to change the position and structure of other fields following that field, they are o.k with the amount overflowed in to the next text field .
    is there any script for the same condition in Java script or form calc.
    Thanks in advance.
    de1209

    This is not as simple as it sounds. You will not be able to split the field up during the time of binding. The entire string must go into the field and only after it has completed the biinding can we change it around. A colleage of mine did this for an interactive field and it involved some pretty complicated code. Here is a link to her blog entry that describes what she did:
    http://blogs.adobe.com/lcdesigner/2008/07/an_example_of_splitting_text_a.html
    But that is only part of the problem.....once you split the information across two fields you will need to recombine it back into a single field so that the data that is submitted can represent it correctly again. So you will have to reverse the process in a presubmission step.
    Make sense?
    paul

  • Set expression's variable in the same step

    I probably asking a rhetorical question, but does it exist a way to set an expression's variable (say for load sequence dynamically) in the same step (sequence call)?
    I have a situation where I need to read a sequence path from the database and then call this sequence. If I try to do that in pre-step it doesn't work, TestStand tries to evaluate the sequence file path expression when call the step and before the pre-step is executed.
    So, what I doing now, do this in two steps, read database first and then do sequence call.
    Similar problem is for Message Popup, I need to read the message to display from the database.
    Two steps works fine but are not convenient to use. We create our test sequences from custom step types and it would be easier to drop just one step instead of pair of steps in order. Or, is it a way to bind two step types together and always drop two if one is selected?
    Sergey Kolbunov
    CLA, CTD

    Dah! I didn't know about the OnNewStep when I posted this.
    Juergen, thank you, this is interesting example but not related to my question.
    My concern is mostly cosmetical. I can do the job in two steps, but because these two steps will always come together I'd like to combine them in one step in the sequence. This is not possible because the second step depends of the first step output.
    Looks like my second example for Message Popup is not true, at least it works if I set the message in the step's Pre-expression. But take a look to my Sequence Call.seq. How to obtain Sequence Path specified by expression in the same SequenceCall step?
    Sergey Kolbunov
    CLA, CTD
    Attachments:
    Message Popup.seq ‏6 KB
    Sequence Call.seq ‏5 KB
    Dummy.seq ‏6 KB

  • Where do I enter data that would make the website relevant during search

    Guys and Gals where in this code do I add meta data information that would help my search engine results and I know some may not find this information important but to me it is. I know some thing that it's pointless but I would like to know for referrence either way. Thank you
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="Generator" content="iWeb 2.0.3" />
    <meta name="iWeb-Build" content="local-build-20080316" />
    <meta name="viewport" content="width=700" />
    <title>Video Game reviews</title>
    <link rel="stylesheet" type="text/css" media="screen,print" href="Gamereviews_files/Gamereviews.css" />

    Hey, just put it somewhere between your <head> and </head> tags.
    Example follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="description" content="DESCRIPTION OF YOUR SITE GOES HERE"/>
    <meta name="keywords" content="YOUR KEYWORDS GO HERE SEPARATED BY A COMA"/>
    <meta name="Generator" content="iWeb 2.0.3" />
    <meta name="iWeb-Build" content="local-build-20080316" />
    <meta name="viewport" content="width=700" />
    <title>Video Game reviews</title>
    <link rel="stylesheet" type="text/css" media="screen,print" href="Gamereviews_files/Gamereviews.css" />
    There is a great application what can do it all for you. Remember - everytime you do a change on a page in iWeb, and you publish the site, your custom Meta Tags get deleted!
    The application is called iMap. It costs only few dollars (I think like $8 or 10) and works for me.
    Here is the developer's site: http://guimkie.com/projects/imap/

  • How to compare each item in a Stack with the next one??

    I am trying to compare each string value with the next one in a stack.
    I think I am doing something wrong when I store the poped string in a temp?
    Object is:
    -----to read in a stack and compare each element. We are looking for an "adj" next to a" NP*".
    -----if we find a "adj" next to a "NP*" then we need to remove the "adj" and push the "NP*" on a new stack.
    -----if we find something other than an "adj" next to a "NP*" then we just need to push that item on the new stack
    we continue through the stack until it is empty.
    -----once we have checked the entire stack for "adj" next to "NP*" and changed them all, we need to send the new stack back to the method for another test.
    -----this time we are looking for a "det" next to a "NP*"
    -----if we find
    ---------remove the "det" and change the "NP*" to "NP"
    there are more test after that one but, if I can get here I think I can get through the rest.
    In all this is a grammar checking program, checking for correct english.
    thanks for the help, my mind feels like mush a new perspective will help,
    steven
    Here is what I have so far:
    public void structureCheck(Stack s, int wordCount, boolean inOrder)throws EmptyStackException{
              Stack orderStack = new Stack();
              int parseCount =0;
              boolean display = false;
              int count = 0;
                   if(inOrder == false){     
                        for(int i=0; i<wordCount;i++){                                        
                             String temp = ""+s.pop();
                                  if(temp.equals("n")){
                                       temp = "NP*";
                             orderStack.push(temp);
                             parseCount++;          
                   structureCheck(orderStack,parseCount,true);     
                   if(inOrder == true){
                        parseCount= wordCount;
                        System.out.println("parseCount  "+parseCount);
                        for (Enumeration e = s.elements(); e.hasMoreElements();){
                             for(int i=0; i<parseCount; i++){
                                  String temp = ""+s.pop();
                                  String temp2= ""+s.pop();
                                  String temp3= ""+s.pop();
                                  System.out.println("temp  "+temp+"  count  "+count);
                                  /*temp = temp;
                                  System.out.println("temp2  "+temp+"  count  "+count);
                                  temp = temp;
                                  System.out.println("temp3  "+temp+"  count  "+count);*/
                                  count++;
                                  if((temp.equals("adj") & temp2.equals("adj") & temp3.equals("NP*"))){
                                       System.out.println("temp  "+temp+"  temp2  "+temp2+"  temp3  "+temp3);
                                       temp="NP";                                   
                                  orderStack.push(temp3);
                                  parseCount++;
                                  /*else{     
                                       orderStack.push(temp3);
                                       parseCount++;
                   //structureCheck(orderStack,parseCount,false);
                   System.out.println("parseCount=  "+parseCount+" inOrderStack=  "+orderStack);
         }          

    This code is different from yours. For one thing, the first part, where inOrder is false, is not included because you did not post what behavior that is supposed to perform. The code below does what you posted...it puts some Strings into a Stack, then parses the Stack. If adj is followed by NP* then adj is removed. Then the new Stack is parsed to find det followed by NP*, and det is removed while NP* is changed to NP.
    import java.util.Stack;
    import java.util.Vector;
    public class Test {
       public static void main(String[] args) {
          Stack stack=new Stack();
          Stack stack2=new Stack();
          String[] s={"no","adj","NP*","adj","not","NP*","adj","NP*","dumb","det","NP*"};
          for(int i=s.length-1;i>-1;i--) stack.push(s);
    stack=structureCheck(stack,"adj","NP*","NP*");
    for(int i=stack.size()-1;i>-1;i--)
    System.out.println(stack.elementAt(i));
    System.out.println();
    stack=structureCheck(stack,"det","NP*","NP");
    for(int i=stack.size()-1;i>-1;i--)
    System.out.println(stack.elementAt(i));
    public static Stack structureCheck(Stack s,String tofind,String tomatch,String tochangeto) {
    Stack orderStack = new Stack();
    for(int i=0;i<s.size();i++) {
    String str=(String) s.elementAt(i);
    if(i<s.size()-1 && str.equals(tomatch) && ((String) s.elementAt(i+1)).equals(tofind)) {
    i++;
    orderStack.add(tochangeto);
    } else
    orderStack.add(str);
    return orderStack;

  • HT4053 I am setting Iphone 4,  I am at the world clock and don't know how to get past theat to the next step

    Can you help me to set up my first iphone.  I have entered the time, but can not get past that to the next screen.  What do I need to do.

    Re: That garbage is unreadable.
    If you really want help, stop messing with the fonts and post so that others can read and offer suggestions.
    Or better yet... try a search, I'm certain you'll find a solution to whatever issue you're experiencing.
    I have found that many times it is the things that make you most angry that push you to action. This was the case here. Thank you for causing me to get so angry that I found the answer myself.

  • Iphone5 visit to Apple Genius Bar after phone would not connect to network.  Now phone is stuck in network set-up menu.  Suggestions for next steps?

    I am experiencing the never-ending searching on my iphone5.  Looking for solution and wanted to share some advice.
    I traveled out of the cellular network on 5/24 and turned off my phone.  The phone was turned back on 5/25 when I returned to an area where the phone previously connected to the network.  When the phone began searching for the network I performed the recommended trouble shooting steps, power on/off, reset network.  Once home I took it to the Spring store then to the Apple store.  No connection success.  Although the phone could connect via wi-fi and everything else worked fine the phone would not connect to the cellular network leaving the phone and internet service unavailable. 
    I asked  the Apple Genius Bar if their efforts would still allow me to update my phone via the backup information on the icloud.  The answer was yes.  However after all their efforts my phone was returned locked in the set up menu and is continues to search for a network.  I can no longer access a wi-fi connection or other apps on the phone following the factory reset and connecting the phone to the cellular service that work on 5/24.  Any tips are welcome since my phone is currently a paperweight.  Thank you.
    DO NOT ATTEMPT A FACTORY RESET or attempt removing/adding your device to existing cellular service unless your phone is under warranty or you are prepared to purchase a new phone.

    Sounds like a data issue on the iPhone. What does the carrier say? Sometimes hardware issues can cause the device to show 'searching' continuously.
    Basically, if you restore in iTunes, and the service is not activating after calling Sprint, you may be looking at a hardware replacement of the device.

  • "Don't load tabs until selected" ... Where is the setting so that it affects the tabs when I click "Open all in tabs" from History?

    I am trying to reload all the tabs from history, it's a couple thousand. I am not concerned about system RAM I have 16GB. I know it will be slow, I'm not looking for any warnings or questions about why I have to reload that many tabs or how to work with the restore.bak sessionstore files.
    The question I need an answer to is, "What setting do I need to change so that when I reload multiple tabs, it doesn't say "connecting" on all of them even though I have already selected "Don't load tabs until selected"

    I think we both understand what you want. And we're both saying we are not aware of any built-in way to do this.

  • Purchased a 2nd hand iPhone - unable to set up as it displays as associated with prior owners email - he has removed device from his account but still won't let me complete set up. Any advice on next steps?

    Display shows previous owner set up find my phone function & it is linked to their apple account. Owner has removed device from a/c but
    it still won't allow me to proceed with set up.

    Hello Penng185,
    Steps to be done to remove the device from the previous owner's iCloud Account, if you have already done this things then there might be something that you might have missed due to which the iPhone is still showing the Find My iPhone Activation Lock screen.
    Resolution : http://support.apple.com/kb/ts4515
    If the previous owner is with you and can access the device
    Ask them to enter their Apple ID and password on the Activate iPhone screen (shown above) to remove the device from their account. You can then proceed through the rest of the device setup process.
    If the previous owner is not present
    Contact them and ask them to follow these steps to remove the device from their account:
    Sign in to their iCloud account at www.icloud.com/find.
    Choose the device from their Find My iPhone device list by clicking All Devices and selecting the correct device.
    Click "Remove from Account" to remove the device from the account.
    After the device has been removed from the previous owner’s account, turn it off by pressing and holding the Sleep/Wake button located on the top right side of the device. Then restart your device and proceed with device setup as you would normally.

Maybe you are looking for

  • Net.sf.jasperreports.engine.JRException: Error loading object from file : C

    I started using JasperReports for my web application report generation. I'm using JSPs for web development. I created a .jrxml file using iReport and used the following code to generate the report. try {           JasperDesign jasperDesign = JRXmlLoa

  • Problems to connect with VNC to headless mac mini after sleep mode

    Hallo, I've a Mac Mini (late 2009) setup with Lion Server. I want to use it without mouse/keyboard/monitor attached. Since I want to safe power ( green IT ;-) ), I would like to use sleep mode. First thing I've learned is, that Lion Server prevents t

  • Lower case table_name in all_objects table

    Hi. Because I don't have SQL Loader and I have to import some data from text files I am using SQL Server 2000 to import data from text files and then export the data to my oracle table. Something interesting is happening. When I filled the destinatio

  • Difference between slice and tile Artix 7

    Hello, here I attached a pic of a part of my FPGA (Artix 7 ac701). From this pic I can understand that there are 10 slices, where each of these is recognized by XY coordinates. A tile is a division that includes sites, wires and PIPs. My question is:

  • Amount in words format

    Dear Experts, How can i write " One thousand one hundred twenty-one US Dollars and Seventy-seven cent" in "One thousand one hundred twenty-one US dollars and seventy-seven cent", in PLD. Regards, Tripti Shrestha