How do you prevent display glitches with multiple while loops.

I would like to use 2 while loops, 1 for displaying elapsed time and the other for executing a sequence of initialization steps. Every time the sequence transistions from one frame to the next, I get a glitch in the elapsed time display. How can this be avoided? Should I be going about this in a different way?
Attachments:
timeTest.vi ‏265 KB

I would drop the whole semaphore thing and hold the cluster in a functional global (also called a shift register database or LV2-style global, you can find info on the concept here). Add methods to update different parts of the cluster. Much easier code and the required protection of the cluster is there.
MTO

Similar Messages

  • How do you get a line with MULTIPLE fields to WRAP ?

    How do you get a line with MULTIPLE fields to WRAP ?
    Good afternoon everyone...
    THE PROBLEM: Why doesn’t a line with multiple fields WRAP?
    HYPOTHETICAL EXAMPLE/WHAT I”D LIKE TO SEE
    If I have 2 fields on a line (this is now a hypothetical example and nothing to do with my actual report)….let’s call them field A and field B. And if field A has values of all ‘X’ and field B has values of all ‘Y’…then….the normal case would be (ignore dots – only for spacing):
    A……………………… B
    XXXXXXXXXXXXXXXXXX YYYYYYYYYYYYYYYYY
    But what if A is too long? I would want to see B wrap onto the next line like this:
    A……………………………………………………B
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX YYYYYY
    YYYYYYYYYYYYY
    And similarly….if B is extra long, can the line print as:
    A………………………. B
    XXXXXXXXXXXXXXXXXXX YYYYYYYYYYYYYYYYYYYYYYYYYYY
    YYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
    I don’t want the case where B is long and I get:
    A………………… …B…
    XXXXXXXXXXXXXXXXX YYYYYYYYYYYYYYYYYYYYYY
    ………………………..YYYYYYYYYYYYYYYYYYYYY
    I can see how you can wrap an individual field like that…but how can you WRAP a line of[b] fields within the frame so it wraps to the BEGINNING of the frame on next line?
    My SPECIFIC CASE
    I have a report that I have stripped down to a simple structure for the purposes of this explanation.
    My DATA MODEL has the main QUERY (for plant family and species data). The columns of the query are divided into 2 groups. The 1st GROUP contains the family data. Below that is the rest of the species data in a 2nd GROUP.
    Linking from the 2nd species group (above) is a new QUERY to extract REGION data based on the common key field. Under this 2nd query is another group with all the REGION columns.
    The LAYOUT MODEL has a group frame (the main , base one)
    On top of this is a repeating frame based on the 1st group (family data).
    On top of this is another repeating frame for the 2nd group (species data).
    On top of this is 2 Frames on the same line line. The 1st frame contains columns from the species group .
    The 2nd frame on this line is a repeating frame. The PRINT DIRECTION for this frame is ACROSS/DOWN. It repeats details of the REGION where the species is found. These columns come from this group come from the REGION QUERY and GROUP.
    All fields on the report line have variable horizontal elasticity.
    The problem is that when there is too much data on the line, it does NOT WRAP to the 2nd line.. It TRUNCATES.
    Can the line be made to WRAP????..
    In my current report, 1 of 2 things is happening:
    1) All fields print on the line until it hits the page boundary and then it just stops. Truncated!
    2) All fields print on the current line, then Oracle Reports throws a new page to print the REMAINDER of the long, input line
    But I would like a LONG line to continue printing onto the following line of the same page.
    I have tried all combinations of the elasticity fields and the ‘ADVANCED LAYOUT’ properties.
    I have been focussing my attention with this problem on the frames .
    We are using REPORT BUILDER V 6.0.8.26.0
    Thankyou to anyone who may offer assistance.
    Tony Calabrese.

    Steve,
    you gain 1 thing, but you lose something else!
    This thing is SO frustrating!
    Hey Steve! Good afternoon.
    I've done as you suggested....I have a long text boilerplate item - the only 1 on the line...and it has all the column in it.
    So it looks like:
    &col1 &col2 &col3 &col4 &col5 etc etc etc
    And the line expands nicely to each field's requirements.
    And when it gets to the right page boundary...it WRAPS to the next line! Beautiful!!!
    The only thing is that...when I had individual fields across the line I was able to create format triggers for those fields. And in doing so I was able to reduce the font and change the justification. I had to do that because some of the fields had to appear superscripted.
    So I wanted something like (ignore the dots):
    ...................................ppppp
    AAAA BBBB CCCCC DDDD EEEE FFFFFF
    So the field of 'ppppp' appeared slightly higher on the line than the other fields...
    I can't see how I can do this with a single TEXT field containing all the &COL values.
    Have you ever come across anything like this?
    Thankyou again,
    Tony Calabrese 12/4/2007

  • How can you develop photo galleries with multiple pages using the web module?

    Going through the web module I can see there are many options for developing a web page with a single collection of photos.  How can you develop a web site with multiple pages containing different categories of photos using the Lightroom web module?

    This thread will give you several ideas.
    Re: How do you embed a gallery into an existing website?

  • How to find out how many recourds in recourd set  with out while loop

    hi
    i want to findout how many recourds in recourd set
    with out useing any loops like
    while(rs.next())
    count+=1;
    like this
    any mathod like(RecoundCount like )
    pls help me
    regards
    kedar

    If you dont want to use a scrollable result set do
    sql="SELECT COUNT(*) AS COUNT FROM TABLE"
    rs=stmt.executeQuery(sql);
    rs.next()
    count=rs.getString("COUNT");

  • How can I get an album with multiple artists to display in my Nano as one album insteadof multiple albums?

    How can I get an album with multiple artists to display in my Nano as one album insteadof multiple albums?

    See this page for helpful information.
    http://samsoft.org.uk/iTunes/grouping.asp
    B-rock

  • How do you prevent Acrobat PDFMaker from rasterizing vector graphics?

    I am using the "Create PDF" button (provided by the Acrobat PDFMaker in Acrobat X) to create a PDF from a Microsoft Word 2010 document.
    This works fine, except that vector graphics in the Word document appear in the resulting PDF as raster graphics. (That is, when I zoom in, document text outside the graphics appears smooth, but the graphics are blocky; and text inside the graphics that should be retained as text - it's not converted to curves - is just pixels.)
    The original artwork for the vector graphics is in CorelDRAW X6 (sorry, Adobe!).
    I have exported the following files from the original vector drawing in CorelDRAW:
    - EPS (with TIFF preview)
    - Windows metafile (.wmf)
    - Enhanced metafile (.emf)
    I can insert any of these files into Word okay (Insert > Picture), but the resulting PDF always contains a rasterized (bitmapped) version of the vector graphic ("line art").
    From memory, this didn't use to happen in my previous working environment (Acrobat 8 Pro with Word 2003, using artwork exported from CorelDRAW 12).
    How do you prevent Acrobat X PDFMaker from rasterizing vector graphics? Or is Word 2010 (or CorelDRAW X6) somehow to "blame" here?

    Transparency Flattening is being invoked.
    From the Create PDF button, select Properties, what is your setting for Default Settings? Select High Quality Print

  • My question is Itunes related.  How do you prevent a playlist saved in Itunes from alphabetizing the song list created. I wanted to keep the original order, and somehow everything was alphabetized without requesting it.

    My question is Itunes related.  How do you prevent a playlist saved in Itunes from automatically alphabetizing the song list.   I had a specific order of songs that I wanted, and Itunes somehow automatically alphabetized them.  Is there a way to turn that feature off, and/or get them back to the original order?   I also noticed that once a playlist has been created, I cannot manually changed the order of the songs from my desktop..  Any suggestions?

    That's just the sort order. It's displaying the media alphabetically because you have clicked on the NAME column near the top of the iTunes window.
    Click on the little triangle above the column of numbers (usually on the far left side of the main iTunes window) and the media will sort in the order in which you added each item to the playlist.
    You can easily reorder songs within a playlist: Click and HOLD on the song you wish to move, then drag-and-drop it wherever you like.

  • How can i create  excel sheet with multiple tabs using utl file?

    how can i create excel sheet with multiple tabs using utl file?
    any one help me?

    Jaggy,
    I gave you the most suitable answer on your own thread yesterday
    Re: How to Generating Excel workbook with multiple worksheets

  • My neighbour's Mac Book Pro shows up as discoverable when Bluetooth is turned on in my iPad Air.  How can I block her device?  How can I prevent her pairing with my iPad Air. I need Bluetooth on to play music over my system.

    My neighbour's Mac Book Pro shows up as discoverable in my Bluetooth list on my iPad Air.  How can I block her Bluetooth device? How can I prevent her pairing with my device?  I need Bluetooth to stream music on my Bose system.  Thanks!

    If your device is discoverable, the other BT device would try (I am not sure if that would be successful). If it was, it would appear in your system preferences>Bluetooth.
    Take a look at this re: security:
    http://support.apple.com/kb/PH10786
    This is from another Apple article:
    Use Bluetooth
    You can wirelessly transfer files between computers—even Mac to PC—using the Bluetooth File Exchange utility. You can even browse selected devices and retrieve files remotely. For extra security, you can stipulate that only trusted devices be allowed to connect to your Mac, and 128-bit over-the-air encryption is also available
    Barry
    P.S. Since I have not had the issue, I have not researched this before. Thank you for making me look into BT security
    Message was edited by: Barry Hemphill

  • HP Officejet 6500A How do I scan a document with multiple pages into one file?

    HP Officejet 6500A Plus e-All-in-One Printer - E710n
    Windows 7 (64 bit)
    How do I scan a document with multiple pages into one file?  My old printer (psc 2110) asked after each scan if I wanted to scan another page.  At the end I had one pdf file with multiple pages.
    This new one creates one file for each page and I cannot find a way to create one pdf file with multiple pages.
    This question was solved.
    View Solution.

    Hi mpw101,
    If you load the papers into the ADF - Automatic Document Feeder, and then select Document to PDF then they will all be scanning into one file. Let me know if this works for you?
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • How do you set the duration for multiple stills in iMovie 2013?

    How do you set the duration for multiple stills in iMovie 2013?
    Before upgrading to the latest version of iMovie last month, I was able to set the duation of all of the stills included in an iMovie project at one time by clicking the apply to all still box in the adjustment pop up. That option is no longer apparent. If it is available I cannot find it, and I have tried several different ways to accomplish it. I have tried the iMovie help section and can find nothing to help.
    Apple, do I really have to adjust close to 500 pictures to a 5 second duration individually???
    REALLY??!!

    ...why wouldnt people want that level of accuracy when animating, especially when working to music at a specific duration?
    Because often people are animating to words or beats in the music.  Music is rarely performed with a computer-precise beat and tempo.  Musicians aren't robots: they swing the beat sometimes.  They use rubato.  They change tempo.  They change time signatures.  As a result, you have to FIND those words and beats.  It's not a situation where you can say, "There!  I've found the duration of one beat!  Now it's easy to find the rest of them!" 
    If you try it, you will be very disappointed.
    Try finding the precise end of a piece of music that fades or ends on a big chord with a ring-out.  You'll see that it's trial-and-error: what's the point where it becomes inaudible?  It depends on how high your speakers are turned up.  You might have them way up, you set an end point for the layer, and then you do a RAM Preview at a more reasonable volume.  You might say, "Hey!  The music ends before the layer ends!"...  but you KNOW you set the layer's out point when the audio file goes silent.
    AE has layer markers that can be used on an audio layer to mark beats, words, etc. They come in very handy.
    I guess it comes down to this: because AE can do so much different stuff, there are very few automated procedures.  Oh, Adobe tries with effects that convert audio levels to keyframes, but they're not 100% reliable... especially on something like a capella choral works.  For true accuracy, you need  find the timings yourself. 
    If you want something simpler, try a different application. But be prepared for lower level of accuracy.

  • How do you structure a .book with an EDD?

    Hi all,
    I am learning how to convert legacy, unstructured FM documents into structured FM documents and need some help. So, I created a conversion table from my unstructured documents, created the EDD, applied the EDD to the unstructured document to create a structured document and now need to tweak the EDD.
    My question is, what is the correct way to layout the EDD rules for a book using multiple document styles? For example: My book contains a title page, TOC, one or more chapters, a glossary of terms, and one or more appendixes (or is that a appendicies?.)
    I am thinking the element rule would look something like this:
    Element (Container): BOOK
    Valid as the highest-level element.
    General rule: TitlePage, TOC, Chapter+, Index, Appendix+
    Followed of course by other elements required for the structure. However, I did see an EDD that I am sure was outlined like this (though I can't recall where:)
    Element: TitlePage
    Valid as the highest-level element.
    General rule: Blah blah blah
    Element: TOC
    Valid as the highest-level element.
    General rule: Blah blah blah
    Element: Chapter
    Valid as the highest-level element.
    General rule: Blah blah blah
    Element: Index
    Valid as the highest-level element.
    General rule: Blah blah blah
    Element: Appendix
    Valid as the highest-level element.
    General rule: Blah blah blah
    If the second structure is correct, how do you define the Book element? On the Adobe forum, I was told one EDD should be created for all book elements, which makes sense to me.
    Okay people, fire away. Remember I am a neophyte in structured FM.
    Thanks,
    Adam

    Thanks Van, that does clear it up for me... a little. My confusion now is, if I set all the book sections as valid at the highest level, then how does the book get structured as the starting point for the sections contained within it? I have tried to find a sample EDD detailing exactly this, but to no avail - my search brought up courses where this is covered, but not the actual EDD structure.
    When I try to structure the book with the EDD, the book comes up red with its children elements looking just fine. Ahh! You have to love that learning curve.
    Regards,
    Date: Thu, 24 Sep 2009 06:43:41 -0600
    From: [email protected]
    To: [email protected]
    Subject: How do you structure a .book with an EDD?
    Adam,
    Following up on some of Russ's sage advice, you asked:
    If the second structure is correct, how
    do you define the Book element? On the Adobe forum, I was told one EDD
    should be created for all book elements, which makes sense to me.
    As Russ said, your BOOK element looks fine. Not sure how far you have gotten, but when you open a document file that is in the book, its root element will be Chapter, TitlePage, Appendix, etc. That is why you have to declare each of these as being valid at the highest level. When you click in the book file window and look at the structure view, you will see that the BOOK element is the root element, and its content will be TitlePage, TOC, Chapter, Chapter,...etc. The book and all of its component files have the same EDD. The definitions for the BOOK element, as well as the TitlePage, TOC, Chapter, etc elements are all contained in the same EDD. I hope this helps to answer your question.
    Van
    >

  • How do i prevent display of a particular column in ALV

    How do i prevent display of a particular column
    of a structure in ALV

    Hi Serdar,
    Please do let us know the link , as soon as your code sample is put in sdn.sap.com.
    I request the <b>veteran members</b> of this forum to <b>contribute to WebLogs</b> or <b>code samples</b>, since over the time, the same questions will be asked and instead of repeating the answers, we can direct them to Weblogs or Code Samples.
    There is an ABAP FAQ present in this site, which has given insight to so many things, that I have not even considered remotely possible.
    As seen today, there was a useful piece of code posted. Instead of posting the code in the forum, you can create it as a weblog and post it there.
    Regards,
    Subramanian V.

  • How can you prevent encrypted folders that you created in disc utility from being deleted?

    How can you prevent encrypted folders that you created in disc utility from being deleted?

    bibst wrote:
    How can you prevent encrypted folders that you created in disc utility
    You cannot create encrypted folders in, or encrypt folders with, Disk Utility.
    You can create with Disk Utility encrypted disk images from folders. I assume that's what you mean.
    The proper way to do it is by setting the immutable bit. Read here
    <http://www.thexlab.com/faqs/immutableflags.html>
    about the immutable bits (and the trouble they sometimes create).
    The user immutable bit (uchg) is the same as the Finder lock, as described above by X423424X. It's a weak lock, with only a warning.
    The system immutable bit (schg) is more powerful. Once is set, the item cannot be deleted in Finder (even though Finder will ask for your password and may give you the impression that it can trash it; it will end with an error).
    I set it in Terminal, thus
    $ sudo chflags schg my_encrypted_disk_image
    and unset it also in Terminal
    $ sudo chflags noschg my_encrypted_disk_image
    (Note that, when you unset the system immutable bit, the change won't be reflected immediately in Finder, but the item can be trashed nevertheless.)

  • How do you associate a view with a form?

    How do you associate a view with a form and make it accessible in the form?

    Try this
      <Field name='myview'>
                        <Display class='Text'>    
                            <Property name='title' value='My View'/>
                        </Display>
                        <Derivation>                       
                            <invoke name='getView'>
                                <ref>:display.session</ref>
                                <concat>
                                    <s>User:</s>
                                    <ref>accountId</ref>
                                </concat>                       
                                <map>
                                    <s>authorized</s>
                                    <s>true</s>
                                </map>
                            </invoke>
                        </Derivation>
                    </Field>           
                    <Field name='myview.waveset.organization'>
                        <Display class='Text'>    
                            <Property name='title' value='User Org'/>
                        </Display> 
                    </Field>

Maybe you are looking for

  • Data links Questions on Reports Builder

    We are currently using Reports Builder 10.1.2.3.0. We are trying to create a topology report. So, we have about 5 queries in the data models which are linked using a query links with Child Destination column in the child query. So, here is the exampl

  • OD users cannot log on without server home directory

    I am new to OD and am trying to configure a working setup for a few Macs on the network. The server is set up as an OD master, and while we are running Active Directory, the Mac server is not integrated into the AD network. DHCP and DNS are handled b

  • How do I know my airport express is working

    I have it plugged in and it is green. I don't notice it has extended the wireless network. Any suggestions?

  • What is a "CPU Drop In DVD"?

    While going thru Discussions about using retail OS versions vs. machine-specific versions, I searched ebay for "OS X Tiger 10.4". One item I found for sale has a picture that shows, "Mac OS X Tiger... Includes Xcode...CPU Drop In DVD..Version 10.4" I

  • Problem installing RHEL4 on Sun Ultra 40M2 workstation

    Hi all I have Sun Ultra40M2 workstation with Solaris10 operating system. It contains 4 hard disks. I want to install RHEL4 on one of the hard disk, however I am not able to complete the installation. Installation proceeds up to configuration of the d