FIGURING HOW TO GET VI TO STEP THROUGH STATES CONTINUOSLY

The attached vi is using a USB6009 digital line as trigger and monitoring analog input for x duration.  It works great when ran once and then vi stops.  I want it to run continuosly but my problem is figuring out how to not look for digital trigger until the measurement while loop is finished and not measuring until trigger detection is complete.  Thanks for any help.
Attachments:
good_one_monitor_AI_Lasermike_Prethread - Copy.vi ‏87 KB

Hi joot,
Rube-Goldberg alarm:
There's no loop around your code, so how do you want to "run continuously"?
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome

Similar Messages

  • How to get the form printed through the transaction ME42

    hi,
    How to get the form printed through the transaction ME42.
    For example :
    In t.code vf03 . In the main menu there is an option billing document , when we click on that we get a drop down menu which shows issue output to. If a print program call has the code to get the value from the t.code , immdiately when we click issue output to it call the form.

    Here go to ME42 put in your RFC no, in the menu Header -- Messages, go there and see if a message has been inserted, else you can insert one.
    when you save this, it will call the form.
    Regards,
    Ravi

  • VISA: How to get the CSV file through C/C++ code?

    How to get the CSV file through C/C++ code?
    I'm communicating with a USB oscilloscope using VISA.

    Thank you for your reply.
    I am using Apache Commons File Upload. Here is the code where I got the "fi".
         DiskFileUpload fu = new DiskFileUpload();
              fu.setSizeMax(1000000000);
              List fileItems = fu.parseRequest(request);
             Iterator itr = fileItems.iterator();
              FileItem fi = (FileItem)itr.next();
              if(!fi.isFormField())
                File tempFileRef  = new File(fi.getName());
         System.out.println("Field = "+tempFileRef.getAbsolutePath());
         }

  • How to get audio to play through TV?

    I have a Thunderbolt to HDMI cable and can only get video to show up on my HDTV screen. I am trying to get audio to play through the TV as well, but it only plays through my Macbook Pro. Any suggestions?

    Hi ajlarson6,
    I found some information concerning the settings that need to be in place to play audio through a TV:
    OS X Mountain Lion: Use a television as a display
    http://support.apple.com/kb/PH10671
    I hope this helps!
    - Ari

  • I used to be able to see how many emails I had, it showed next to my little envelope on my toolbar but now it isn't there. I can't figure how to get it back. Help!

    I used to be able to see how many emails I had on my toolbar next to the envelope but now it doesn't show & I can't figure how to change it. Help!

    That feature is not built into Firefox, in fact Firefox has no email features. Check your add-ons to see if any of them offer this feature.

  • I have turned highlighting CSS settings from the code off and can't figure how to get it back?

    I have done this a few times and don't know how to get it back or even the right term to google so thats why I am here.
    You know where you select a div name or bit of code and it shows you it's settings under the CSS Properties.
    Well mine don't change so I take it I have turned off some setting....can anyone tell me what I did and how to turn it back on for future reference.
    Thanks in advance.

    Thanks for that reply Jon...that was fast.
    I have the CSS Properties set to current.
    When I used to select each div the properties would show for each one....I found that a fast way of working.
    When I select a different Div in the code it doesn't change the values to that div.
    See how I have the div activemainnavigation selected in the code and yet the summary for selection still shows the CSS properties of the footercredits div.

  • How to get graphs with steps greater than 10

    is this the limit in numbers for graphing y vs x axis data?
    I finally figured out how to make 2d line graphs for basic analysis and graphing, (such as temperature vs volume). when I go to edit my data in the chart editor, i can only make steps as much as 10. so if i have 400 degrees, that means my graph will be every 40 on one of the axis... is there a way to increase the steps so that I can have smaller intervals than 1/10th?

    I just wanted to check because the workaround for Y axis requires a bit of work and patience.
    I built four charts from
    column A + column B ( of course you may also select the values to chart)
    column A + column C (no X-axis, no labels on X-axis, lines = none, points = none )
    column A + column D (no X-axis, no labels on X-axis, lines = none, points = none )
    column A + column E (no X-axis, no labels on X-axis, lines = none, points = none )
    Define the min and max values to get ten equal intervals in the four charts.
    Define the background to none
    Superpose the charts with the one built from column A & B at top.
    Insert a white rectangle between the upper chart (here Graphique 1) and the three others to hide the extraneous horizontal lines (-30, -20, -10).
    This way we have more steps.
    Yvan KOENIG (VALLAURIS, France) dimanche 5 septembre 2010 19:44:37

  • How to get sour to play through mini display via vga without sound cables?

    I know that many of you guys might tell me that this question is stupid or that it is impossible to do it but i run in to problems that usually the company that made the product can't asnwer it all the time. So here it is. I have the mid 2009 MBP 17 in. 2.8ghz Core 2 duo. I've been using a minidisplay to VGA cable to connect to a sony briva tv since i've had it. and most time i'd have to plug in the 3.5mm jack to get the audio working. but once just once my mac decided to give all the audio control over to the TV without the auxilary cable plugged in. See, i accidentally pressed play and i started to hear sounds. but it wasnt from my mac. and the volume was completely up to the control of the tv. it was weird yet convinent, but as i was checking the connection to see what the **** i did, i took it out of clam mode which swithch my resolution and reconnect the display with the sound having to go through the auxilary again. So if any of you have had this luck and know how to do it please help me out.

    Whovian wrote:
    I know that many of you guys might tell me that this question is stupid or that it is impossible to do it but i run in to problems that usually the company that made the product can't asnwer it all the time. So here it is. I have the mid 2009 MBP 17 in. 2.8ghz Core 2 duo. I've been using a minidisplay to VGA cable to connect to a sony briva tv since i've had it. and most time i'd have to plug in the 3.5mm jack to get the audio working. but once just once my mac decided to give all the audio control over to the TV without the auxilary cable plugged in. See, i accidentally pressed play and i started to hear sounds. but it wasnt from my mac. and the volume was completely up to the control of the tv. it was weird yet convinent, but as i was checking the connection to see what the **** i did, i took it out of clam mode which swithch my resolution and reconnect the display with the sound having to go through the auxilary again. So if any of you have had this luck and know how to do it please help me out.
    Can't be done dude

  • I used to have the mailboxes window on my screen (left side) when writing an email. I want it back, but CANNOT figure how to get it back. Please help. Thanks

    Where are the mailboxes???
    The opening window has the list of incoming emails. The left column of the page has the Mailbox window with folders. Perfect.
    When I click Write - or Reply - or Forward, the window comes up with the write window... and my total address book - but NOT the Mailboxes. It was would come up until last week. And now I can't figure out how to add the mailboxes folder to the write/reply/forward screen.
    And from that screen, I cannot get back to the main screen to reference another email. Real hassle. Am sure there is an easy answer. Would live to hear it.

    The standard Thunderbird Write window is just that, a composition window. If you turn the Contact Sidebar on by pressing F9 then you can see your address book contacts down the left margin.
    If you had anything different it must have been from an add on that you installed. There is no guessing what you did there.

  • How to get Formatted Mail Content through Java Application

    I am using a mail sending function in my applet code which is listed below:
    Main content is fetched from a format tool bar in JSP Page and it is passed as parameter to applet and it is used inside the mail content.
    Same content when passed and executed in a JSP page, the formatted content is not lost and it is included in mail content as what it is fetched from Format Tool Bar.
    Format is lost when it is used inside the Java Application mail sending function.
    The below code I have used to send mail:
    package com;
    import java.util.HashSet;
    import java.util.Properties;
    import java.util.Set;
    import javax.mail.BodyPart;
    import javax.mail.Message;
    import javax.mail.Multipart;
    import javax.mail.Session;
    import javax.mail.Transport;
    import javax.mail.internet.InternetAddress;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.MimeMessage;
    import javax.mail.internet.MimeMultipart;
    class mailsendClass
    public void sendmail(String from,String host,boolean debug,String msgText)
         try
              Set tomailsid = new HashSet();
              Set ccmailsid = new HashSet();
              //to mail ids           
              tomailsid.add("[email protected]" );          
              tomailsid.add("[email protected]" );
              tomailsid.add("[email protected]" );
              //cc mail ids
              ccmailsid.add("[email protected]" );
              ccmailsid.add("[email protected]" );
              String mailarray[]= (String[])tomailsid.toArray(new String[tomailsid.size()]);
              String ccmailID[]= (String[])ccmailsid.toArray(new String[ccmailsid.size()]);
              Properties props = new Properties();
              //props.put("mail.smtp.port","425");
              props.setProperty("mail.smtp.host", host);
              if (debug) props.setProperty("mail.debug", ""+debug);
              Session session = Session.getInstance(props, null);
              session.setDebug(debug);
              String mailsubject = "Mail Subject";
              // create a message
              Message msg = new MimeMessage(session);
              msg.setFrom(new InternetAddress(from));
              javax.mail.internet.InternetAddress[] toAddress=new javax.mail.internet.InternetAddress[mailarray.length];
              for (int i=0;i<mailarray.length ;i++ )
              toAddress=new javax.mail.internet.InternetAddress(mailarray[i]);
              System.out.println ("id inside to address loop " + i + " is "+ mailarray[i]);
              System.out.println ("toAddress " + i + " is "+ toAddress[i]);
              msg.setRecipients(Message.RecipientType.TO, toAddress);
              msg.setSubject(mailsubject);
              try
                   javax.mail.internet.InternetAddress[] CCAddress=new javax.mail.internet.InternetAddress[ccmailID.length];
                   for (int i=0;i<ccmailID.length ;i++ )
                        CCAddress[i]=new javax.mail.internet.InternetAddress(ccmailID[i]);
                        System.out.println("CC Array is ===> " +CCAddress[i] );//          
              msg.setRecipients(Message.RecipientType.CC,CCAddress);
              catch(Exception ss)
                   System.out.println("CC mail Exception is ====>"+ ss);     
                   msg.setSentDate(new java.util.Date());
    //          Multipart multipart = new MimeMultipart("relative");
                   Multipart multipart = new MimeMultipart("alternative");
              BodyPart messageBodyPart = new MimeBodyPart();
              messageBodyPart.setContent(msgText, "text/html");
    //          messageBodyPart.setContent(msgText, "text/plain");
              multipart.addBodyPart(messageBodyPart);          
                   msg.setContent(multipart);
              Transport.send( msg );
         catch (Exception e)
              System.out.println("The Exception is ------>"+e);
    public class SendMail {
    public static void main(String[] args)
         System.out.println("before Mail Send ");
         mailsendClass mail = new mailsendClass();
         String from="[email protected]";
         String host="172.16.2.6";
         String msgText="<p><strong>Index</strong><br />I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:<br />• Engage<br />• Chapters 1–6<br /><a title='ftp:///Index' href='ftp://index/'>ftp:///Index</a><strong><br />XML Coding - Files with errors</strong><br />• Engage<br />• Chapters 1–6<br /><a title='ftp:///XML_Coding_Need%20Fixing' href='ftp://xml_coding_need%20fixing/'>ftp:///XML_Coding_Need%20Fixing</a></p>";
         mail.sendmail(from,host,true,msgText);
         System.out.println("after Mail Send ");
    Content placed in format tool bar is as follows:
    Index
    I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:
    • Engage
    • Chapters 1–6
    ftp:///Index
    XML Coding - Files with errors
    • Engage
    • Chapters 1–6
    ftp:///XML_Coding_Need%20Fixing
    Content fetched from format tool bar inside JSP page is as follows:
    <p><strong>Index</strong>
    I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:
    &bull; Engage
    &bull; Chapters 1&ndash;6
    <a title="ftp:///Index" href="ftp://index/">ftp:///Index</a><strong>
    XML Coding - Files with errors</strong>
    &bull; Engage
    &bull; Chapters 1&ndash;6
    <a title="ftp:///XML_Coding_Need%20Fixing" href="ftp://xml_coding_need%20fixing/">ftp:///XML_Coding_Need%20Fixing</a></p>
    Fetched Content inside Java Application through parameter and it will use as input for mail content is as follows:
    <p><strong>Index</strong>
    I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:
    • Engage
    • Chapters 1–6
    <a title="ftp:///Index" href="ftp://index/">ftp:///Index</a><strong>
    XML Coding - Files with errors</strong>
    • Engage
    • Chapters 1–6
    <a title="ftp:///XML_Coding_Need%20Fixing" href="ftp://xml_coding_need%20fixing/">ftp:///XML_Coding_Need%20Fixing</a></p>
    Actual mail received after Java Application execution is as follows:
    Index
    I have posted the following PDFs (Second Pages) as mentioned to start producing the Index:
    ? Engage
    ? Chapters 1?6
    ftp:///Index
    XML Coding - Files with errors
    ? Engage
    ? Chapters 1?6
    ftp:///XML_Coding_Need%20Fixing
    Unicode characters in the mail content are replaced by “?”.
    In the function listed above I have used the MIME Setting as
    Multipart multipart = new MimeMultipart("alternative");
    I have tried by using “relative” MIME format also as
    Multipart multipart = new MimeMultipart("relative");
    But I am not getting the actual format passed as input to the Java Application in the mail content.
    Can anybody let us know how to overcome this problem?
    Thanks in advance.

    You need to really understand how the different multiparts work instead of just guessing.
    But for your application, you don't need a multipart at all. Just use msg.setText(msgText, null, "html");
    Although that doesn't explain your problem, it will simplify your program.
    How are you determining that the mail received doesn't have the formatting? Are you viewing it in a
    mail reader (e.g., Outlook)? Or are you fetching it with JavaMail?
    Are you using an Exchange server? Exchange will often reformat your message to what it thinks you meant.

  • I Finally figured how to get media center to install on my PC!!

    I used to get a blue screen error everytime I tried to install it and got no fix from phone tech support. I then searched the forums and found nothing. At some point I realized I had not tried all of the compatibility settings included in XP home. I then went on to find out that if I disabled advanced text services and ran it in compatibility mode for win 98/ME that it ran perfectly and have had no problems since. :D Just figured I'd let the world know since I had to figure it out on my own. Good Luck!

    Hi, my first post here..
    Im having a problem like that, i have the geforce FX 5600 from msi 128 mb when i try to install media center deluxe II on my computer it reboots automatically before getting into the instalation wizard.
    im trying the compatibility thing , but i dont know if that will work
    I want to input my playstation 2 to the video card so i can play in the monitor and hear it on the surround system.
    If anyone knows another way of plugging my playstation 2 on the computer without having to install media center please let me know. I cant figure out how to see the input image on the monitor and stuff without the software...  X(
    How do you change the advanced text thing??? i couldn´t find it
    well bye and thanx
    I edit now:
    I changed that.. the wizard ran fine, but i got an error in the middle of the instalation... now i can´t install or uninstall, because the program tells me if i want to completely remove it when í´ve already done that (in theory). so i go to the settings in windows to uninstall the program... and the computer reboots automatically every time, and then the same, i cant really uninstall or try to uninstall again.
    The card is expensive, its hard to find and hard to buy in a place like mexico city, i cant get support over here because they just dont know what the hell happens.
    i want support, and i want good support, and i want now... i payed for the product, and i want it to work as MSI tells me it will work.
    So im taking to the admins here or whoever is in charge of the support in these forums, dont get me wrong, im not being a pain... im asking for what i was promised, and my time is expensive, as your cards are.
    Service please.
    compaq Evo D315
    Athlon XP 1.7
    768 RAM
    xp professional
    Geforce FX 5600 128 mbs

  • How to get the payment block through the BAPI_INCOMINGINVOICE_CREATE

    Hi,
    how to populate payment block through the BAPI (BAPI_INCOMINGINVOICE_CREATE).  always it is showing 'R' in MIR4 Transaction after the BAPI is executed.

    check
    BAPI_INCINV_CREATE_HEADER-PMNT_BLOCK
    regards
    Prabhu

  • Can't figure how to get larger fonts in terminal

    I am new and very happy to say I've got Arch/XFCE/nfs working on network and soon to work on Samba but how in the wide wide world of sports can I get larger font on my terminal when in XFCE?
    Thanks in advance,
    Dave

    naperdave wrote:I am new and very happy to say I've got Arch/XFCE/nfs working on network and soon to work on Samba but how in the wide wide world of sports...
    I too have experienced the "agony of defeat" with fonts and xterm.  Here is how I use to launch my xterm:
    xterm -fa "andale:size=18" -bg black -fg white -geometry 80x25 -tn xterm-color -sl 1000
    * The key is the "size" parameter after the font (fa)mily name.  I was using True Type fonts and was using "andale" in this case.  I believe the size field should be applicable to whichever font you choose.  Alternatively, I believe you can pass the "-fs" option to xterm to accomplish the same thing as ":size".
    For example,
    xterm -fa "andale" -fs "18"
    will accomplish the same text size as in the first example.  Just try different font size (fs) values, and see which values will actually scale for that font.
    One caveat, I believe the "fa" option for xterm is limited to the freetype library fonts.

  • How to get a server name through the load balancer

    Hi.
    I'd like to get the server name where is my application installed. There are some servers and clients access there throuth the load balancer. When I try to get it with request.getServerName(), I get the virtual address of the load balancer.
    Any suggestions?
    Thanks.

    Dear Sikindar;
    THanks for your cooperation, but I believe that these Tcodes will eb helpful if I know the table name, actually we don't know its name and that's what I'm asking about, how can I get the table name for the ABAPer?
    Appreciating your cooperation.
    Best Regards;
    Lobna

  • I'm dumb, can't figure how to get playlist from itunes library into my itou

    Ok, I have looked and looked and did search. I want to copy a few playlists from my itunes library into my itouch. I was told they would transfer when I synched, they didn't. Drag and drop does not do the job. What am I missing? I am sure something very very simple. HELP. I do NOT want to do the playlist again in my itouch from scratch, as I have almost 1,000 songs to search through.
    There has got to be an easier way.

    katinak67 wrote:
    I was told they would transfer when I synched, they didn't.
    "Synch" is the process whereby files get copied from the iTunes library to the iPod. If your playlists did not copy, what actually did happen when you synched?

Maybe you are looking for

  • Crash apps in iOS 6.

    I installed iOS 6 yesterday. After the update, I have noticed an increasing number of times I browse for apps and it just crash. I noticed this in the App Store, Maps and Safari.

  • Printer Driver disappearing every time Hyper-V VM is restarted

    Printer is a local network printer.  The driver has to be added to the VM every time I restart it.  It is not persisting through the restart.  I have software running on this VM that requires this printer to print reports and packing slips.  Can anyo

  • Multiple authentication sources with the same category

    Quote from portal help: "Multiple authentication sources can use the same category. However, because the prefix is prepended to the user and group names, you need to be certain that the domains involved do not have different users or groups with the

  • How do I group albums together on the latest version of iTunes?

    When I upload albums to the latest version of iTunes, the songs seem to split the albums into many different "album" files. I want them grouped so that an album is all linked together in one album which I could do easily on a previous version of iTun

  • IC Web Performance

    Hi, I am working on CRM IC WEB 6.0. The client is finding it very slow. The order creation is thru transaction launcher in ECC. It's taking substantial amount of time from Account identifiocation to order completion. Is there any way teh speed of IC