Using a transition-on for discrete i/o

Hi.  I am reading discrete I/O and holding registers from a PLC.  Each time a bit turns on, I want to take the readings from the registers only once.  So I only grab the values of the holding registers when the discrete I/O turns on.  Even though this bit might stay on for a few seconds, I want the values only once.  Is there an easy way to do this?
Thanks in advance!
Ron Deavers, CLD

Boolean Crossing ptbypt.vi would be a great solution, but is not in the base package of LabVIEW.  It is in the Full Development and Professional Development packages.
One option for us might be to have a loop that reads all the bits, and a boolean for each bit value.  When the bit is turned on, we check the associated boolean.  The associated boolean tells us if we just read from the bit.  So on the first iteration, if we have any bits on, we'll read from that bit once, then turn the boolean to true.
Then when the second iteration happens, if the bit is still on, we skip the read.  If the bit is off, then set the associated boolean to false.
Any more information about your application would surely help if these directions are unclear!  Hope it helps!
TheDillo

Similar Messages

  • How to use the Pull List in Discrete Scenario?

    Hi Gurus,
    I am using pull list MF60 in REM.
    How to use the Pull List for creating material reservations in Discrete Scenario also?
    Anyone used this Pull list in discrete, pl share.
    How is helpful in discrete scenario?
    Srini

    Hello,
    You can use Pull list for st.location transfers, if you are into WM managed then this pull list used a lot.
    You can use the pulllist to the max. extent. But with IM managed plant the use is limited and this is used only for storage location transfers.
    Issue cannot be done for Production orders. You can bring the materials to the req. storage locations and after that you have issue in the order or manually for the order.
    Regards,
    Manick.

  • My mobile me expired and I want to use the same username for icloud. How?

    My mobile me expired and I want to use the same username for icloud. How?
    When I registered for me.com, they kept saying the my username is already taken which is true since I registered for [email protected] previously and the subscription has expired.
    How can I get apple to delete my mobile me account completely?

    http://howto.cnet.com/8301-11310_39-20119371-285/how-to-transfer-your-mobileme-a ccount-to-icloud/
    and
    http://www.apple.com/mobileme/transition.html
    should assist you in questions

  • Wanting to use multiple transitions on 1 slideshow?

    I want to make a slideshow for graduation party. This will be played continuously. I want to incorporate different transitions on one. I've read that you can to do it if you use slideshow from iphoto. I can not seem to get past the files when I click on media, photo. Slideshows don't show up. This is my first attempt with wanting to use multiple transitions. I've made DVD's with chapters. Plus, I never have used it as continues play. Any help and ideas would be a welcome.
    Thank you,
    Lisa

    In iPhoto, put your photos into an album. Then, open your album to display the photos that you put in it. Select all the photos. At the bottom of the album display window, there will be an icon called Slideshow. Click on it, and the photos that you selected will be placed into a slide show with a separate icon in the display panel. In the slideshow transition settings, select Random. That will play the available transitions at random.
    If you want more flexibility than iPhoto's "Random" setting will give you, you will need to create your slide show in iMovie where you can manually insert any of iMovie's transitions. Then drag your iMovie project icon (the one with the star on it) into the window of your iDVD project.

  • Using the Macbook Air for intensive purposes?

    Hi all,
          I purchased my Macbook Air a year and half ago (2012 model). Purchased it because it was Macbook Air or the Macbook Pro and I saw it would be better to develop on an Air because it had an ssd and I haven't used an Optical Drive in ages. Ever since then I had 2 Failures in components. One was SSD, which I hardly used just because I was using Ubuntu at the time on an External Hard Drive. Second, was the Logic Board and I/O board which started to eject my externals randomly. I make sure my computer runs no more than 80C by turning off cores and disabling Turbo Boost while gaming (Everything on Lowest playable setting) or compiling and such.
        Anyways, I am asking if any one casually plays intensive games and/or any CPU/GPU intesive tasks and had no problems what so ever and never needed a repair from the Apple Store.
         Why am I asking this? I am asking this because I kind of see Apple Notebooks falling in the wrong direction in notebooks. Don't get me wrong, I like their products and their form factors, but it seems to me that they do no account for all scenarios of using a computer. For Instance, I held in my hand the Heatsink they used on my Air and its not bigger than my hand. I don't want to be judgy, but it seems way too insufficient to cool a cpu of 17TDP no matter how fast fan is pushing the air out of the computer. It is just absurd.
         The best thermal set up I have ever seen Apple produce was the Macbook Pro Retina 13". It had two seperate fans that cooled ONE CPU. Not sure what kind of direction they are going for, but I think most of all problems that keep me returning to the Apple store for repairs is the continous spread of intense heat around the computer. This also goes for the Currents Macbook Pros which Now only Have one fan cooling everything. I seriously could care less about weight, they could add half a pound to the computer to add an extra fan to computer if it means I dont have to return to the Apple Store every five minutes. At this point I think the best way to keep my Air returning to the Apple Store is to just check emails or watch youtube at this point, which I could do on a $300 netbook.
         I would like to see what your guy's opinion about this matter? Is doing anything intensive OK doing on a Mac Notebook?

    My primary machine is still a late-2008 unibody 15" MBP (2.53Ghz Core 2 Duo) bought in early 2009.  I cannot say I ever do much that is GPU intensive and usually do not use the discrete GPU most of the time.  But, I have done work on it that is very CPU intensive - computations that have max'd out the CPU load for as long as 12-24hrs at a time (overnight analysis runs), and which have ramped up the fans to or near maximum rpm and cpu temperatures steady in the 90's degree centigrade for hours.  This machine is now 5 years old and runs fine and has never required any service from Apple.  I upgraded it to 8GB RAM a couple of years ago, and I replaced the original battery but that is all that has been done to it.
    I use a desk-top stand (from a maker who's name escapes me now? its old, bought back before this particular MBP) that keeps it raised about 0.5" at the front and maybe 1.25-1.5" at the rear so it has good air flow all the time.
    However, games that are both very taxing on the CPU and the GPU at the same time will certainly put a higher thermal load then I've experienced, and my MBP has dual fans.

  • Using HostComponent as target for effect in skin file

    Hi,
    I am creating a collapsible panel. I have the component file and a skin file.
    I have declared collapsed and normal states in my skin file.
    when the state change happens i need to show some animation, so used the transition effects. as below.
    <s:transitions>
          <s:Transition fromState="*" toState="collapsed">
             <s:Parallel duration="250" target="{hostComponent}">
                <s:Resize heightTo="{hostComponent.collapsedHeight}" />
             </s:Parallel>
          </s:Transition>
          <s:Transition fromState="*" toState="normal">
             <s:Parallel duration="250" target="{hostComponent}">
                <s:Resize heightTo="{hostComponent.expandedHeight}" />
             </s:Parallel>
          </s:Transition>
    </s:transitions>
    Everything works fine with this.
    someone suggested me that using hostComponent as target for the effect is not a good practice? are ther any disadvantages of this.
    I tried setting one of the group as target for the effect but that only resizes the particular group and not entire component. if i set the skin as target i.e. "this", still the component doesnot resize.
    any suggestions?

    Hi,
    I am creating a collapsible panel. I have the component file and a skin file.
    I have declared collapsed and normal states in my skin file.
    when the state change happens i need to show some animation, so used the transition effects. as below.
    <s:transitions>
          <s:Transition fromState="*" toState="collapsed">
             <s:Parallel duration="250" target="{hostComponent}">
                <s:Resize heightTo="{hostComponent.collapsedHeight}" />
             </s:Parallel>
          </s:Transition>
          <s:Transition fromState="*" toState="normal">
             <s:Parallel duration="250" target="{hostComponent}">
                <s:Resize heightTo="{hostComponent.expandedHeight}" />
             </s:Parallel>
          </s:Transition>
    </s:transitions>
    Everything works fine with this.
    someone suggested me that using hostComponent as target for the effect is not a good practice? are ther any disadvantages of this.
    I tried setting one of the group as target for the effect but that only resizes the particular group and not entire component. if i set the skin as target i.e. "this", still the component doesnot resize.
    any suggestions?

  • How to use taglibs in JSP for Database access

    Hi
    Could any one please tell me how to use taglibs in JSP for Database access
    with regrds
    Jojo

    This is a sample how to connect to a MySQL database with JSTL 1.0:
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
    <%@ taglib uri="http://java.sun.com/jstl/sql" prefix="sql" %>
    <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
    <!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">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>JSTL MySQL</title>
    <link href="styles.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <c:catch var="e">
    <sql:setDataSource var="datasource" url="jdbc:mysql://Your_Server_Name_Here/You_Schema_Here"
                           user="Your_Username_Here" password="Your_Password_Here"
                           driver="com.mysql.jdbc.Driver"/>
    <c:out value="datasource= ${datasource},  Class = ${driver.class}"/>
    <br />
    <br />
    <sql:query var="deejays" dataSource="${datasource}">SELECT * FROM Your_Table_Name_Here</sql:query>
    <table>
    <%-- Get the column names for the header of the table --%>
    <c:forEach var="columnName" items="${deejays.columnNames}"><th><c:out value="${columnName}"/></th></c:forEach>
    <tbody>
    <%-- Get the value of each column while iterating over rows --%>
    <c:forEach var="row" items="${deejays.rows}">
      <tr><c:forEach var="column" items="${row}">
            <td><c:out value="${column.value}"/></td>
          </c:forEach>
      </tr>
    </c:forEach>
    </tbody>
    </table>
    </c:catch>
    <br />
    <br />
    <c:if test="${e!=null}"><span class="error">Error</span>�
      <c:out value="${e}" />
    </c:if>
    </body>
    </html>And this thread might help you:
    http://forum.java.sun.com/thread.jspa?threadID=639471&tstart=44

  • Using idvd transitions in imovie.

    I would like to use the transitions that are found in idvd and add them to the choices of trasitions available to me in imovie. How do I locate those transition files being used in idvd program and move them to the imove program?
    I am using ilife 4.

    I doubt is possible.
    But you can try and then post back here the results .
    Right click the iDVD application, choose Show Package Contents, and then it's up to you to search for files that might be the transitions. Look for similar things in iMovie, and see if it works.
    Be aware: back-up the two apps, so if you do something wrong you have a way back.

  • Transitions set for entire slide show?

    In '09, can one set transition times for an entire show or are they still set individually as in '08. Can't decide whether to use iMovie or Keynote for photo slide shows and this is a key factor due to the number of slides.
    thanks

    As in '08, in the Slide Navigator simply select all the slide thumbnails and apply a transition and set the timing -- all slides will be affected. (You can select all the slides by a) clicking on the top slide, then shift-clicking on the bottom slide, or b) click-and-drag from the bottom of the left sidebar below the last thumbnail up to the top, or c) click in the sidebar and then in the Edit menu choose "Select All".)

  • Use iMovie on iOS for Commercial Use

    I am a real estate agent who wants to use the iOS version of imovie for home tours and publish them on my website. This would be consider commercial use and just wanted to konw if I will run into any trouble if I use iOS imovie in this manner. I did read over the licese and it seems I am not allowed to use any Audio content. But I just wondered if you are allowed to use the program to edit and for its texts and transitions for commercial purposes. I can always use the royal free music youtube provides for the music, but just wanted to see if I was ok with using it to create for commercial movies and clips...Thanks

    Welcome to the club.  :-)
    The iPad is not as powerful as a Mac, and they cannot share software, as they have different operating systems.
    There are two versions of iMovie available, one for Macs and an app for iPads. Their capabilities are different.  Do your research. :-)

  • Transition stiyes for ALL muse elements and widgets

    Hi,
    When are you planning on introducing "Transition Styles" for ALL muse elements?
    By these I mean (at least): fade, vertical (top & bottom) and horizontal (left & right)
    Having them available for only some elements like slideshows keeps us designers from being as creative as possible, and it's 2014, we CAN'T have "dead" looking elements on our websites.
    By "Transition Styles" I mean:
    Page Transitions
    Button Transitions (regular and for menu widgets of course)
    PSD Button Transitions
    Target and TRIGGER transitions for compositions (this is important)
    Footer Transitions
    THIS WILL MAKE BOTH YOUR PRODUCT AND OUR FINAL DESIGNS LOOK LIVE AND CONTEMPORARY
    IMO transitions are an essential thing which gives a new dimension to every website. Without being able to control this, our designs will look static and "dead".
    P.S. I'm at the end of my trial and this is something of the highest importance to me (at least to know if it's coming in the near future) which will tip the balance for me to buy the 1yr subscription. I've thoroughly tested muse for the last 20 days and have came up with the conclusion that this is the only thing missing for me to be able to create website designs which can stand shoulder to shoulder with award winning website designs. Having Transition Styles available for ALL elements will give us designers such power and creative freedom to do things some of which even you couldn't anticipate.

    Hi Brad,
    Check out this website http://www.quazarwebdesign.com/
    You can see the site has won awards, was nominated for more and so on.
    Well, I've managet to re-create it from scratch in muse (without edge animate). I only found myself limited without the ability to assign transitions to ALL elements in muse. For instance, on the landing page you can see the Costa Rica Mobile Web Design section (with the astronaut etc.) And you can notice "WE INNOVATE", "WE PREPARE" and "WE LAUNCH" sections and how when you click on each of them, the content changes but the buttons also have a shape coming from above (vertical transition). I created that using Lightbox or Blank composition (can't remember ATM), used triggers (with inserted images) to act as "WE INNOVATE" etc. and light box areas to act as content with images and text. I then assigned vertical transition to the content and RIGHT THERE, all I needed to make it perfect was to be able to assign "Vertical Transition" to the TRIGGER. I hope you understand what I'm getting at.
    So, giving TRIGGERS their own transition styles, not just targets, doubles the dynamic effect possibilities of the website. And That's what made me come to conclusion that ALL muse elements should have a transition style option. It would let designers be comfortable and rely on that option always being there and would remove disadvantages of certain widgets and elements. For instance, I bet we all are craving for a menu bar with smoothly fading buttons and for pages swiping from the side or fading.
    Give us this, and I'll give you a worthy match to this CSS award winning website, but created entirely in muse and NO CODE WAS WRITTEN THAT DAY

  • Using a transition on an externally loaded swf

    Hi, I would have no problem doing this the old fashioned way,
    but for some client-requested reason it has to be in AS3. Here's
    what I have:
    var myLoader:Loader = new Loader();
    addChild(myLoader);
    var url:URLRequest = new URLRequest("movie.swf");
    myLoader.load(url);
    //Fade-in 9 seconds
    TransitionManager.start(myLoader, {type:Fade,
    direction:Transition.IN, duration:9, easing:Strong.easeOut});
    Apparantly, myLoader isn't the instance name of the loded
    swf. I have no idea what it is though. Can someone help me? Thanks!

    The loaded swf is at loader.content, but you can only access
    it once the loading has completed and the loader has been added to
    the display list. For example, CODE 1 will not work, but CODE 2
    will.
    //CODE 1
    var myLoader:Loader = new Loader();
    addChild(myLoader);
    myLoader.load(new URLRequest("movie.swf"));
    var loadedSwf:MovieClip = MovieClip(loader.content); //ERROR
    //CODE 2
    var myLoader:Loader = new Loader();
    addChild(myLoader);
    myLoader.load(new URLRequest("movie.swf"));
    myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    loadCompleted);
    var loadedSwf:MovieClip;
    function loadCompleted(ev:Event):void {
    loadedSwf = MovieClip(loader.content);
    trace(loadedSwf);
    PS. I recommend using the Tweener library for tweening in
    ActionScript. It is much better than the Adobe functions and there
    is a tutorial at:
    http://gotoandlearn.com/player.php?id=45

  • Can I use iPhoto transitions in iMovie

    I noticed that there are some transitions for a slideshow in iPhoto that are not used in iMovie. For example; cube, droplet, mosiac. Is there any way to get them into iMovie?
    Macbook Pro    

    Hello Jim,
    sorry, but that's not possible. you have however two options that should get you where you want:
    1. make slideshow in iPhoto and then export to QT to be then used in iMovie
    2. get a third party plugin to make transitions that even iPhoto doesn't have. just goooogle "iMovie Plugins" and you'll find a ton - there's even free stuff.
    hope this helps
    viva la mela

  • Suggestions for Discrete event simulation framework (free software)

    Hi,
    For a project I need to simulate a car. I was wondering if any of you guys/gals can suggest (something you have used or know is good) any free s/w framework for discrete event simulation.
    I need to research on a few and pick out the most fit for my project (need to write reports and why I picked one of them, etc...).
    Please suggest any framework for discrete event simulation in Java or maybe even C# ( if you have worked with it. I know a little, maybe this project can help me learn more).
    Thanks.
    also, I didnt know exactly where to post this request, so sorry if I posted in wrong forum.

    Hi,
    For a project I need to simulate a car. I was wondering if any of you guys/gals can suggest (something you have used or know is good) any free s/w framework for discrete event simulation.
    I need to research on a few and pick out the most fit for my project (need to write reports and why I picked one of them, etc...).
    Please suggest any framework for discrete event simulation in Java or maybe even C# ( if you have worked with it. I know a little, maybe this project can help me learn more).
    Thanks.
    also, I didnt know exactly where to post this request, so sorry if I posted in wrong forum.

  • I CAN USE MY TRANSITIONS ON MY PROYECTS!!!!

    I CAN USE MY TRANSITIONS ON MY PROYECTS!!!ONLY EFECTS OR TITLES.. PLEASE WELP ME WHAT CAN I DO !!! I HAVE THE LAST UPDATE! iMOVIE HD 6.0.3 THANKS FOR YOUR HELP FRIENDS

    Hi eyecat - welcome to the forum!
    I am sure that you mean you can NOT use the transitions:-)
    You need to tell us what happens when you try to use them.
    You should be dragging the little blue square from beside the transition you have chosen, down to the join between two clips. Is that what you are doing?
    Are you storing your imovie projects on an external drive, or on the computer's internal drive?
    Just a little tip - when typing your questions and replies, do not use the Caps Lock on your keyboard. On the forum, that is considered to be shouting angrilly, which I am sure you are not intending to suggest!

Maybe you are looking for