Article - In Place Element Strucure - Saves Time and Prevents Bugs

I hope you all enjoy it and find it useful: In Place Element Strucure - Saves Time and Prevents Bugs Thanks,
-Jim
[cross-post]

This one deserves a place in the structures palette.
For some reason I always open the array palette to select a "for loop"
and selecting the N of the for to change the visibility of the label.
A pity both don't work.
But I also agree with Stephen that changing palettes should be done only when really needed.
Every change proposal should have a lot of arguments. The more users LabvIEW has the more people need to agree on a change !!!!!
Additions on the other hand and alternatives are welcome.
greetings from the Netherlands

Similar Messages

  • I have tried to download photoshop elements x 5 times and keep getting this message "the file archive part of photoshop elements is missing....."

    I have tried to download photoshop elements x 5 times and keep getting message "the file archive part of photoshop is missing...."

    You can download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    Photoshop/Premiere Elements 11: http://prodesigntools.com/photoshop-elements-11-direct-download-links-pse-premiere-pre.htm l

  • Long save time and/or Excel crash

    Hi,<BR><BR>Using the 9.2 add-in and Office 2003 SP2, we are experiencing very loong save times or a crash in Excel when dealing with large workbooks. If the user removes the add-in from excel, the workbook saves properly. Couldn't find anything in the knowledge base on this, anyone else having a similar problem or have any ideas on a fix? Currently users are unchecking the add-in before saving thier work and then re enabling it after the save. Not very efficient for them.<BR><BR>Thanks

    <p>I have same problem... and I solve in same mode, disable add-inbefore save and enable after.</p><p>I think it's not a good solutions, but I don't find other way tosolve the problem...</p><p> </p><p>Moreover, I watch a huge memory usage when retrieve data in asheet or send data from a sheet with a large number of cells... insome cases Excel use more than 200 MB ram and more 300 MB virtualmemory... (and pc go very very slowly...)</p><p>I use Add-In 9.2... in version 9.0 I don't watch this massiveuse of memory: anyone have the same issue?</p>

  • IOS 8.3 Travel Time and Alerts bug

    I think that since the iOS 8.3 update the alerts in an events with a travel time have a bug in iOS.
    I usually set my calentar and add events in my computer (Mac OS 10.9.5). There, the travel time and alerts works just fine. You set a new event, add a travel time and an alert X minutes before travel time and the alarm pop up in my desktop in time.
    However, in my iOS devices (iOS 8.3) the time alert is set as travel time plus the time I set before travel time for the alert. I.E. if I set an event in my computer with travel time 30' and I set the alert just 5' before, in my iphone is shown as travel time 30' and alert is set as 35' before travel time...
    Perhaps you can see it better in the bellow images.
    If I set the events in the other way around, setting them from iOS, let's say with the same parameters, alert is set in Mac OS as 25' after travel time :-/
    If I check the event in iCloud the alert time is alright, taking into account that you cannot set there travel time.
    Is also anyone experiencing this behavior?

    Did you try doing a backup manually - Settings/iCloud/Backup/Back Up Now ? If it needs the password, it should ask you which you can supply.  I don't seem to have this problem but will keep an eye out for it.

  • IPOD probs - save time and hassle and BUY A NEW ONE - 30 GB Video POD rocks

    To everyone with the problem of your older model IPOD hanging up, freezing, and not synching songs properly -
    I had the exact same problems as many of you have described. It seems they are VERY common since the new updater was released.
    I spent sooooo much time messing with it to no avail.
    so - I broke down and went out yesterday and bought a brand new 30 GB Video POD.
    I just wish I had done that three weeks ago!
    It works flawlessly at home and at work.
    IMHO - Save yourself the hassle and pick up a new one - it was worth it to me. And now I can show of pics of my little baby girl on the video POD!
    Good Luck.
    Zep

    The iTunes backup for your iPod Touch does not include any iTunes media, such as music or video files. This article explains what is included in your backup: http://support.apple.com/kb/HT1766
    There are 3rd-party utilities that can help you recover your music. See this thread for a discussion of what's available: http://discussions.apple.com/message.jspa?messageID=11014893#11014893

  • Attempting to run Elements for the first time and the Adobe Application Manager was stopped.  What to try next?

    What to try if attempt to run Elements for first time and Adobe App Manager was stopped?

    has the program you want to run been successfully installed?
    if not, install it.
    if yes, restart your computer and run the program.

  • How can i get the time and result together show in one Array or in Cluster?

    hello everyone i am a new user .I want to get the time and voltge form a Generater. How can i get the time and result together show in one Array or in Cluster?When i selecte the first(or third...) result then in the front panel display the time and the voltge.Thank you!
    I post the time and voltge NOT together photo
    Attachments:
    12345.GIF ‏54 KB

    You can create an array of clusters with one element being the time and the other being the voltage, like so (using the "Get Waveform Components" function):
    Message Edited by smercurio_fc on 10-17-2007 03:15 PM
    Attachments:
    pic.PNG ‏11 KB

  • Want to save time while doing inserts or updates using JDBC

    I want to save time while doing inserts/updates in a database in my Java app. using JDBC. My app. has to do a lot of inserts and that takes up a lot of time.
    I can do some buffering and then do bulk/batch inserts if that will help. any pointers on whether this will be useful and how to go about it?
    Is there any other way I can save time and thereby improve performance?
    I am using Oracle 8 with Oracle thin driver.
    Thanks

    I tried using the PreparedStatement.addBatch() and PreparedStatement.executeBatch() in a test program.
    The error is SQLException - "Unsupported feature" which I get at the addBatch method call. I am using oracle thin driver sdk 8.1.6 for jdk 1.2.x
    What is wrong here?
    Thanks

  • How can i control what images load on my project to save preload time and avoid loading all images, elements, divs not yet visible?

    Sup buddies,
    How can I control what images load on my project to save preload time and avoid loading all images, elements, divs not yet visible?
    As the project grows in size the load time increases. How does one control not loading all images ,divs,elements etc. until they're
    needed on the timeline? For example some sections are off and only become visible when recalled. My projects slowly grow in size so loading
    all images , is counter productive . My other option would be to create separate htmls but that breaks the seamless user experience .
    TY...Over N Out... 

    hello, kiwi
    quote: "Is there an easy way to burn a completed project to DVD, but keep only the (lo res, lo size) previews on my hard drive?"
    yes.
    maybe,...
    1. you might think of making DVD backups first prior to importing the photos into Aperture. "Store Files: In their current location" once in Aperture make low rez Previews, and export finished Project.
    or,
    2. bring in the photographs to hard drive first prior to importing the photos into Aperture. "Store Files: In their current location" once in Aperture make low rez Previews, and export finished Project.
    the low rez Previews will stay in Aperture but the high quality Versions will be exported onto DVDs and gone from the hard drive (if you delete the originals).
    another way would be to export small about 50-70 pixel wide high quality jpegs to a folder on your Desktop and import & keep these in Aperture Library as a reference. make metadata to show where the original Project DVDs are stored and DVD filing system used.
    victor

  • Huge file size and long save time in Premiere Elements 10

    I have just got Premiere Elements 10.
    I have a 80MB webinar recording in wmv format which I'm using PE10 to remove sections and resave. No fancy filters or effects. Just cutting out unwanted bits. My issue is that no matter what save formats I look to set, my 60 minute cut down video is estimated at almost 6GB. It has also been rendering and saving for the past 3 hours and only at 41%. How in the world can the shorter video be 75 times larger than the original!!!!
    I've used a lot of Adobe products in the past so I can't believe this software would actually be designed to be this way. I had previously used other software such as Windows Movie Maker and the file and save times were much smaller/shorter.
    My laptop has 4GB of RAM and an Intel Core Duo 2.66GHz processor so that can't be it. Also my Photoshop, InDesign, Illustrator etc all run fine.
    Any advise please? I must be missing something. PE10 couldn't be this useless.

    AltusDyna wrote:
    On the settings I was trying to pick ones that looked small
    That'll be your problem.
    It sounds as though you have tried to select project settings that match your anticipated output. That is completely wrong for PRE (although it is the case in some competitor products. In PRE you must pick a project setting that exactly matches your clips. You can identify the clips with something like GSpot or MediaInfo.
    You will also know if you picked the right setting when you add a clip to the TimeLine. If a red line appears across the top of the TimeLine you have picked the wrong setting.
    Analyze your clip with GSpot and post a screenshot here. Then we can tell you what setting to use.
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children

  • In-Place Element Structures, References and Pointers, Compiler Optimization, and General Stupidity

    [The title of this forum is "Labview Ideas". Although this is NOT a direct suggestion for a change or addition to Labview, it seems appropriate to me to post it in this forum.]
    In-Place Element Structures, References and Pointers, Compiler Optimization, and General Stupidity
    I'd like to see NI actually start a round-table discussion about VI references, Data Value references, local variables, compiler optimizations, etc. I'm a C programmer; I'm used to pointers. They are simple, functional, and well defined. If you know the data type of an object and have a pointer to it, you have the object. I am used to compilers that optimize without the user having to go to weird lengths to arrange it. 
    The 'reference' you get when you right click and "Create Reference" on a control or indicator seems to be merely a shorthand read/write version of the Value property that can't be wired into a flow-of-control (like the error wire) and so causes synchronization issues and race conditions. I try not to use local variables.
    I use references a lot like C pointers; I pass items to SubVIs using references. But the use of references (as compared to C pointers) is really limited, and the implementation is insconsistent, not factorial in capabilites, and buggy. For instance, why can you pass an array by reference and NOT be able to determine the size of the array EXCEPT by dereferencing it and using the "Size Array" VI? I can even get references for all array elements; but I don't know how many there are...! Since arrays are represented internally in Labview as handles, and consist of basically a C-style pointer to the data, and array sizing information, why is the array handle opaque? Why doesn't the reference include operators to look at the referenced handle without instantiating a copy of the array? Why isn't there a "Size Array From Reference" VI in the library that doesn't instantiate a copy of the array locally, but just looks at the array handle?
    Data Value references seem to have been invented solely for the "In-Place Element Structure". Having to write the code to obtain the Data Value Reference before using the In-Place Element Structure simply points out how different a Labview reference is from a C pointer. The Labview help page for Data Value References simply says "Creates a reference to data that you can use to transfer and access the data in a serialized way.".  I've had programmers ask me if this means that the data must be accessed sequentially (serially)...!!!  What exactly does that mean? For those of use who can read between the lines, it means that Labview obtains a semaphore protecting the data references so that only one thread can modify it at a time. Is that the only reason for Data Value References? To provide something that implements the semaphore???
    The In-Place Element Structure talks about minimizing copying of data and compiler optimization. Those kind of optimizations are built in to the compiler in virtually every other language... with no special 'construct' needing to be placed around the code to identify that it can be performed without a local copy. Are you telling me that the Labview compiler is so stupid that it can't identify certain code threads as needing to be single-threaded when optimizing? That the USER has to wrap the code in semaphores before the compiler can figure out it should optimize??? That the compiler cannot implement single threading of parts of the user's code to improve execution efficiency?
    Instead of depending on the user base to send in suggestions one-at-a-time it would be nice if NI would actually host discussions aimed at coming up with a coherent and comprehensive way to handle pointers/references/optimization etc. One of the reasons Labview is so scattered is because individual ideas are evaluated and included without any group discussion about the total environment. How about a MODERATED group, available by invitation only (based on NI interactions with users in person, via support, and on the web) to try and get discussions about Labview evolution going?
    Based solely on the number of Labview bugs I've encountered and reported, I'd guess this has never been done, with the user community, or within NI itself.....

    Here are some articles that can help provide some insights into LabVIEW programming and the LabVIEW compiler. They are both interesting and recommended reading for all intermediate-to-advanced LabVIEW programmers.
    NI LabVIEW Compiler: Under the Hood
    VI Memory Usage
    The second article is a little out-of-date, as it doesn't discuss some of the newer technologies available such as the In-Place Element Structure you were referring to. However, many of the general concepts still apply. Some general notes from your post:
    1. I think part of your confusion is that you are trying to use control references and local variables like you would use variables in a C program. This is not a good analogy. Control references are references to user interface controls, and should almost always be used to control the behavior and appearance of those controls, not to store or transmit data like a pointer. LabVIEW is a dataflow language. Data is intended to be stored or transmitted through wires in most cases, not in references. It is admittedly difficult to make this transition for some text-based programmers. Programming efficiently in LabVIEW sometimes requires a different mindset.
    2. The LabVIEW compiler, while by no means perfect, is a complicated, feature-rich set of machinery that includes a large and growing set of optimizations. Many of these are described in the first link I posted. This includes optimizations you'd find in many programming environments, such as dead code elimination, inlining, and constant folding. One optimization in particular is called inplaceness, which is where LabVIEW determines when buffers can be reused. Contrary to your statement, the In-Place Element Structure is not always required for this optimization to take place. There are many circumstances (dating back years before the IPE structure) where LabVIEW can determine inplaceness and reuse buffers. The IPE structure simply helps users enforce inplaceness in some situations where it's not clear enough on the diagram for the LabVIEW compiler to make that determination.
    The more you learn about programming in LabVIEW, the more you realize that inplaceness itself is the closest analogy to pointers in C, not control references or data references or other such things. Those features have their place, but core, fundamental LabVIEW programming does not require them.
    Jarrod S.
    National Instruments

  • Why do the "SAVE", "SAVE AS" and "UNDO" functions of InDesign CS6 stop working after a short time?

    Why do the "SAVE", "SAVE AS" and "UNDO" functions of InDesign CS6 stop working after a short time?

    Normally they don't. You might have some sort of problem on your system, possibly a conflict with other software, or corrupt ID prefs or application. Trashing the prefs is easy, and good place to start: Replace Your Preferences
    It will help if you tell us the OS version, whther you've installed the 8.0.1 patch, and how you are trying to access the commands, and what happens when you do. Is this isolated to one file, or does it happen with all files?

  • Elements not always opening and sometimes will not save a file

    I am fairly new to Photoshop having only previously owned PSE 10.  When i upgraded to 11, i was seriously impressed but now i have the most annoying problem.  Usually i can open a raw file sucessfully the first time and edit/process it with no problems but if i then try to open a second one, nothing happens.  If i open elements first and then open the file it will work but then, when it comes time to save the file, nothing happens.  there are no error messages, nothing  freezes, nothingn happens at all!
    The only thing that i  can think of is that i did a silly thing!  When i was looking in the folder with all my files, i saw the new .xmp file that is added after processing a raw file.  For some unknown reason, i thought that it would be a good idea to change the "opens with" setting for it.  I now do not know how to remove this setting or what to change it back to.  At the moment it is set to notepad.  I am not sure if this is relevant as i can usually open the first photo successfully and everything works.  It does, however, require a complete restart if i want to work on another picture.

    You can't do that with any email app. It's an email, not a document in a text editor or word processor.
    To save it as a separate document, click anywhere in the body of the email and press Command+C to copy it. Paste it into a blank Word document and save it.

  • Object and in place element structure

    Hi!
    I need some help!
    How can I do the following?
    In the 1.)  Set the new value here - make some changes takes effect the whole array, previously and take effect for the 2. wire?
    I have tried that in place element structure without any success.
    The reason is why I would like to do this is : I wanna avoid the always usage of get - set pairs when I am working with objects, tipically array of objects.
    so my goal is, how to see only 10 values in both arrays?
    My real problem is the following:
    I have an array with objects. The order of the objects is very important, can not be changed. I use a stack - algorithm on the elements. Randomly push many elements into the stack, and randomly pop them. When I pop, I wanna use a set-method on the object, (set something flag/property) . So I want this chage to take effect the memory .
    (If used a simle enable - indexing in the loop, I would lost the real order of the original array.)
    (maybe I can calculate the index of the element what I want to update, but I think there is more easier alternative to do that and I should use the get - set again...)
    +++ In God we believe, in Trance we Trust +++
    [Hungary]
    Solved!
    Go to Solution.

    The native LVOOP implementation is by-val and not by ref.as in most OOP implementations. If you are coming from an OOP background, think like: every time you branch a wire, it creates a clone of the object on the wire (or all the objects in the array in your case). As a general rule, this is the desired behaviour in about 80% of the cases (when using LabVIEW). So consider if you can't do it using a by-val implementation.
    There are several falvours of by-ref implementation, where you will have the same objects on both wires:
    * private data inside SEQ (single element queue, no replaced by the next one)
    * private data inside DVR (data value reference)
    * object inside DVR
    which implementation you choose is up to you. From your image/code, I'd place the object inside the DVR. You could create the DVR with the obj in the first for loop. In the secend for loop, index your elements and use the IPE to get the obj out of the DVR for your get-set operation and place it back.
    Felix
    www.aescusoft.de
    My latest community nugget on producer/consumer design
    My current blog: A journey through uml

  • I to use iphoto library manager to save corrupted iphoto and each time it saves some and the first time it brings up iphoto, iphone goes into "not responding" mode.  Using mac book pro, iphoto 9.5.1, and maverick 10.9.2.

    I've had issues with my iPhoto "not responding" and as a result I am attempting to save my photos to an external hard drive using iPhoto library Manager but each time I start the program it saves some, and then when it starts iPhoto, iPhoto then goes into not responding mode. Using mac book pro, iphoto 9.5.1, and maverick 10.9.2. I have completed all of the photo library first aid steps several times, but it makes no difference, iphoto eventually goes to "not responding."  Initial issues started with Time Machine back ups stopping because of iphoto. Thanks......

    Do you have a back up?
    If you're just trying to recover the photos you can do that much more simply:
    Go to your Pictures Folder and find the iPhoto Library there. Right (or Control-) Click on the icon and select 'Show Package Contents'. A finder window will open with the Library exposed.
    Look there for a Folder called 'Originals' or 'Masters'. (varies according to the version of iPhoto)
    Your photos are inside - these are the originals as imported from your camera.

Maybe you are looking for