Suggestion for turning this into one case structure

This is a snippet from some exisiting code we were hired to modify/clean up. I have to assume there is some way I can reduce this to only have one case structure, maybe with a not-and or not-or. Or maybe I'm overthinking this. Basically I keep confusing myself in relatively simple code when thinking about the booleans being compared. Any help is appreciated.
CLA, LabVIEW Versions 2010-2013
Solved!
Go to Solution.
Attachments:
cleanuppls.PNG ‏11 KB

KathrynB wrote:
This does look to be just a NAND, pure and simple.
The truth table I came up with was:
old   new    write to global
0      0         1 (< is false, new is false)
0      1         1 (< is true)
1      0         1 (< is false, new is false)
1      1         0 (< is false, new is true)
Classic not-and.
Your logic works in the case where you want one result if both inputs are TRUE, and another result otherwise.  That would require modifying the original logic.  In the case where the original logic persists, then you need one result if one input is TRUE and the other is FALSE, and another result otherwise.  In this case, you need Implies.
Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman

Similar Messages

  • ITunes error message: "We could not complete your iTunes store request. An unknown error occurred (4002). Any suggestions for curing this?

    After migrating my old iMac to my new one, every time I start iTunes, I get the following message: "We could not complete your iTunes store request. An unknown error occurred (4002). Any suggestions for curing this?

    Perfect - thanks so much!
    For anyone else wondering, the clue was in what was displayed on the screen after I turned iTunes Match on again: it asked whether I wanted to add this computer. Having copied my iTunes library over from the old machine, I'd completely forgotten that iTunes Match identifies each computer uniquely (not each iTunes Library), so was never going to work with this one until I specifically added it. Sorted!

  • I want to create an array that goes into a case structure where each element in the array is an individual case and gets done in order

    I want to create an array that goes into a case structure where each element in the array is an individual case and gets done in order. Any ideas, I've been playing with the idea but have had no luck, is this even possible?

    Hi,
    Please check it out the attached Vi.. Is this you need?
    Sasi.
    Certified LabVIEW Associate Developer
    If you can DREAM it, You can DO it - Walt Disney
    Attachments:
    Event.vi ‏11 KB

  • Any suggestions for an all-in-one "cable modem router print server" (N)

    any suggestions for an all-in-one "cable modem router print server" (N)?

    If that's a problem with your cable company, change the company.
    If your cable company is not able to provide you with a cable modem which gets you full performance for their service why would you bother with that company or try to make it better than them?
    If you subscribe to a 100 Mbit/s service they must be able to provide you with a modem that does 100 Mbit/s and be able to demonstrate you 100 Mbit/s on your cable.
    If they are unable to provide you with a modem which does 100 Mbit/s and thus cannot demonstrate that the service they have installed in fact can do 100 Mbit/s but only give you a 50 Mbit/s because that's the best they have, why bother buying yourself a better modem to find out whether or not their service does what it promises or not??
    In addition, an integrated device won't get you better performance. On the contrary, consumer devices are generally single CPU (and core) devices. It's usually running some Linux or similar. If a single process gets overloaded it can drag down the performance of the whole device. For instance, let's say there is a bug in the print server software of the router. You print something and it hangs and the print server process on the router runs wild. Now the CPU is fully loaded and the routing performance will go down. If there is a bug in the routing software it will bring down the whole device and you can't even print.
    You'll get the best performance if you use dedicated devices because then one device cannot overload another. Get a modem. Get a wireless ethernet router. Get a printer with integrated print server. That's far better.
    It's like the all-purpose audio device compared to components...

  • My computer is functioning really slowly since downloading Mavericks. My programs lag opening if at all. Any suggestions for fixing this?

    My computer is functioning really slowly since downloading Mavericks. My programs lag opening if at all. Any suggestions for fixing this?

    I installed it maybe 2 weeks ago, Here are my results:
    Hardware Information:
        MacBook (13-inch, Late 2009)
        MacBook - model: MacBook6,1
        1 2.26 GHz Intel Core 2 Duo CPU: 2 cores
        2 GB RAM
    Video Information:
        NVIDIA GeForce 9400M - VRAM: 256 MB
    System Software:
        OS X 10.9.2 (13C1021) - Uptime: 0 days 22:44:15
    Disk Information:
        TOSHIBA MK2555GSXF disk0 : (250.06 GB)
            EFI (disk0s1) <not mounted>: 209.7 MB
            Marshmallow (disk0s2) / [Startup]: 249.2 GB (125.02 GB free)
            Recovery HD (disk0s3) <not mounted>: 650 MB
        MATSHITADVD-R   UJ-898 
    USB Information:
        Apple Inc. Built-in iSight
        Apple Inc. Apple Internal Keyboard / Trackpad
        Logitech USB Receiver
        Apple Inc. BRCM2070 Hub
            Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information:
    Gatekeeper:
        Mac App Store and identified developers
    Kernel Extensions:
        [kext loaded]    at.obdev.nke.LittleSnitch (4052 - SDK 10.8) Support
        [not loaded]    com.devguru.driver.SamsungACMControl (1.4.14 - SDK 10.6) Support
        [not loaded]    com.devguru.driver.SamsungACMData (1.4.14 - SDK 10.6) Support
        [not loaded]    com.devguru.driver.SamsungComposite (1.4.14 - SDK 10.6) Support
        [not loaded]    com.devguru.driver.SamsungMTP (1.4.14 - SDK 10.5) Support
        [not loaded]    com.devguru.driver.SamsungSerial (1.4.14 - SDK 10.6) Support
        [not loaded]    com.mobile-stream.driver.EasyTetherUSBEthernet (1.0.4 - SDK 10.4) Support
        [not loaded]    com.motorola-mobility.driver.MotMobileMS (1.0.0 - SDK 10.5) Support
        [not loaded]    com.motorola-mobility.driver.MotMobileMTP (1.2.2 - SDK 10.5) Support
        [not loaded]    com.motorola-mobility.driver.MotMobileUSB (1.2.2 - SDK 10.5) Support
        [not loaded]    com.motorola-mobility.driver.MotMobileUSBLAN (1.2.2 - SDK 10.5) Support
        [not loaded]    com.motorola-mobility.driver.MotMobileUSBLANMerge (1.2.2 - SDK 10.5) Support
        [not loaded]    com.motorola-mobility.driver.MotMobileUSBSwch (1.2.2 - SDK 10.5) Support
    Launch Daemons:
        [running]    at.obdev.littlesnitchd.plist Support
        [running]    com.adobe.ARM.[...].plist Support
        [loaded]    com.adobe.fpsaud.plist Support
        [loaded]    com.adobe.versioncueCS4.plist Support
        [running]    com.autodesk.backburner_manager.plist Support
        [running]    com.autodesk.backburner_server.plist Support
        [failed]    com.autodesk.backburner_start.plist Support
        [loaded]    com.google.keystone.daemon.plist Support
        [running]    com.motorola-mobility.mmcfgd.plist Support
    Launch Agents:
        [running]    at.obdev.LittleSnitchUIAgent.plist Support
        [loaded]    com.adobe.CS4ServiceManager.plist Support
        [running]    com.Affinegy.InstaLANa.plist Support
        [loaded]    com.google.keystone.agent.plist Support
        [loaded]    com.motorola.MDMUpdater.plist Support
        [running]    com.motorola.motohelper.plist Support
        [loaded]    com.motorola.motohelperUpdater.plist Support
    User Launch Agents:
        [loaded]    com.adobe.ARM.[...].plist Support
        [loaded]    com.adobe.ARM.[...].plist Support
        [running]    com.akamai.single-user-client.plist Support
    User Login Items:
        iTunesHelper
        Skype
        Dropbox
        Android File Transfer Agent
        GrowlHelperApp
        TWC-WiFi Menu
        KiesViaWiFiAgent
        KiesViaWiFiAgent
        fuspredownloader
    Internet Plug-ins:
        o1dbrowserplugin: Version: 5.3.1.18536 Support
        Default Browser: Version: 537 - SDK 10.9
        AdobePDFViewerNPAPI: Version: 11.0.02 - SDK 10.6 Support
        FlashPlayer-10.6: Version: 13.0.0.206 - SDK 10.6 Support
        DivXBrowserPlugin: Version: 2.1 Support
        Silverlight: Version: 5.1.20913.0 - SDK 10.6 Support
        Flash Player: Version: 13.0.0.206 - SDK 10.6 Support
        QuickTime Plugin: Version: 7.7.3
        googletalkbrowserplugin: Version: 5.3.1.18536 Support
        iPhotoPhotocast: Version: 7.0
        AdobePDFViewer: Version: 11.0.02 - SDK 10.6 Support
        CouponPrinter-FireFox_v2: Version: Version 1.1.6 Support
        JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
    Safari Extensions:
        DivX HiQ: Version: 2.1.1.94
        DivX Plus Web Player HTML5 <video>: Version: 2.1.1.94
    Audio Plug-ins:
        BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
        AirPlay: Version: 2.0 - SDK 10.9
        AppleAVBAudio: Version: 203.2 - SDK 10.9
        iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
        Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
        fbplugin_1_0_3: Version: (null) Support
    3rd Party Preference Panes:
        Adobe Version Cue CS4  Support
        Akamai NetSession Preferences  Support
        Flash Player  Support
        Growl  Support
    Time Machine:
        Skip System Files: NO
        Auto backup: YES
        Volumes being backed up:
            Marshmallow: Disk size: 232.09 GB Disk used: 115.65 GB
        Destinations:
            Patrice [Local] (Last used)
            Total size: 465.44 GB
            Total number of backups: 42
            Oldest backup: 2012-07-09 21:31:08 +0000
            Last backup: 2014-04-28 23:46:05 +0000
            Size of backup disk: Adequate
                Backup size 465.44 GB > (Disk used 115.65 GB X 3)
        Time Machine details may not be accurate.
        All volumes being backed up may not be listed.
    Top Processes by CPU:
             5%    WindowServer
             3%    plugin-container
             1%    firefox
             0%    ps
             0%    Dropbox
    Top Processes by Memory:
        381 MB    firefox
        86 MB    plugin-container
        51 MB    Finder
        39 MB    WindowServer
        33 MB    softwareupdated
    Virtual Memory Information:
        30 MB    Free RAM
        548 MB    Active RAM
        523 MB    Inactive RAM
        363 MB    Wired RAM
        1.04 GB    Page-ins
        151 MB    Page-outs

  • How can I put a numeric indicator into a case structure using VI scripting

    I'm using VI scripting and I'm trying to add a numeric indicator inside a case structure.  I'm able to add the case structure and the numeric indicator just fine, but as soon as I specify the case structure as the "owner" of the numeric (as opposed to the block diagram being the owner) I get error 1060.  Is there any way around this?
    Note:  The reason I am doing this is because this specific pattern (indicator in a case structure) will prevent a VI from being inlined when it is being built.  This pattern will provide no functionality in itself, it only prevents the inlining.  It is added to a larger VI which is use to initialize objects in a simulation, and there are many of them in the total simulation.  If they are inlined, it takes a VERY long time to generate the C code, and performance on this VI isn't an issue since it is performed only once at the beginning of the simulation.  The rest of the VIs do need to be inlined for performance reasons.  Therefore, I'm open to other options to prevent a VIs from being inlined if the "indicator in a case structure" cannot be performed via scripting.
    If any of this is unclear please let me know and I can clarify.  Thanks.
    Solved!
    Go to Solution.

    I now understand what you were saying about inlining a subvi.  I did as you said and made a subvi with a case structure and an indicator within it.  I use the New VI Object node to add that subvi to the slow-inlining parent VI.  Then I tried to inline it using the invoke node, but I got error 1399, which make sense.  Is this what you meant for me to do, or did I misunderstand?
    Also, I tried the ControlTerminal reference approach you mentioned earlier.  Unfortunately when I called the move method on the control terminal property and had the 0th frame of the case structure as the owner I got error 1060 again.
    I really appreciate your help.  Do you have any other thoughts?

  • Suggestions for doing this rose petal design?

    How would I best integrate these petals on this page, to give the impression that they are lying on a floor or stage without drawing one?    I am going to photograph new petals so this picture is only  preliminary to figure out how to do it.  It would be good also to have a few falling.  Open to suggestions also for this. I'd also like to have them work with the smoke - shadows, depth etcetera.
    I'm not an illustrator so keep that in mind.  =)
    I have Adobe CS.
    This will be a web page.
    Suggestions welcomed. Thanks in advance.
    http://www.flickr.com/photos/31397194@N03/3502118140/

    Sorry about that.  Here you go:
    http://www.flickr.com/photos/31397194@N03/3502118140/
    No wonder I'm not gettting any responses!   =)
    EDIT
    Looks like the link is working, at least on my end.
    I'm not sure how to make the petals appear layered in the smoke, with  realistic lighting.
    Also open to ideas on the page design. This will be a background for a web page.
    Do you guys even think the design could work, if done right?
    I have a vague impression of what I want to do, but am having trouble integrating it into a working design.

  • Idea for iTunes: Slideshow for "Now Playing" (new suggestion for multiple artwork in one song)

    As some may know, you can put more than one album art (picture) in a song. When it's done, the "Now Playing" window, which usually showcases the artwork of the song playing, would have a small right/left arrow beside it. When pressed, you switch to a new artwork.
    However with the recent updates on iTunes, that arrow button's disappeared. Now it's as pointless as ever to put multiple pictures. My purpose with this feature is to put album covers and the single artwork together, only if they are the first tracks of whichever album. (Yes, I like to stare at the album covers while listening to music).
    IDEA - Why not have the "Now playing" window fade between pictures like a slideshow? So for example, Kelly Clarkson's "Stronger" album's 1st track "Mr. Know It All", a single that bears its own artwork. Putting the album and single cover in the song while playing, they'd alternate between pictures every 5 seconds.
    I just think that if you can put more than one picture in a song, might as well make use of it. There are a lot of albums that have singles as track no.1. Some have a great single artwork but can't be shown because it needs the album cover. This would make a great compromise. It might even be more neat to put a real life picture of you or someone or a place you know because the song reminds you of .
    What do you guys think?
    (Say is this normally the way to suggest them ideas or do I just e-mail them a customer support form?)

    Since this is a user-to-user forum, for better results with Apple, give them feedback at:
    http://www.apple.com/feedback
    That will get the informatin to Apple.

  • Slideshow for "Now Playing" (suggestion for multiple artwork in one song)

    As some may know, you can put more than one album art (picture) in a song. When it's done, the "Now Playing" window, which usually showcases the artwork of the song playing, would have a small right/left arrow beside it. When pressed, you switch to a new artwork.
    However with the recent updates on iTunes, that arrow button's disappeared. Now it's as pointless as ever to put multiple pictures. My purpose with this feature is to put album covers and the single artwork together, only if they are the first tracks of whichever album. (Yes, I like to stare at the album covers while listening to music).
    IDEA - Why not have the "Now playing" window fade between pictures like a slideshow? So for example, Kelly Clarkson's "Stronger" album's 1st track "Mr. Know It All", a single that bears its own artwork. Putting the album and single cover in the song while playing, they'd alternate between pictures every 5 seconds.
    I just think that if you can put more than one picture in a song, might as well make use of it. There are a lot of albums that have singles as track no.1. Some have a great single artwork but can't be shown because it needs the album cover. This would make a great compromise. It might even be more neat to put a real life picture of you or someone or a place you know because the song reminds you of .
    What do you guys think?

    hi
    I agree - and was glad to see this post and intend to search for more. I vaguely recall some kind of multimedia artwork to replace and extend the idea of the printed album cover being talked about. Was that a standalone package one bought?
    Animating covers and album info - some albums I have eg one I just put in itunes - has 87 pages of info - and one track is 70 minutes long. I would like to read that info as it plays (without starting up several other programmes and searching for the docs!)
    It is a multimedia environment so why not have an interactive 'now playing' window that plays related videos - pdfs - as well as stills or EVEN! that can actively search (say google images? or tagged info from wherever) for related pictorial content or other info. I have tried dragging pdfs into the artwork box but it wants the pdfs pages made into jpgs first and separated - altho they can ALL be added at once.
    Maybe theres already a script to do this stuff?
    Sorry to over extend that idea! But really its quite stupid at present not even to be able to see the other stuff one has put in the artwork box - and it even took a while to guess it could be used (as simple as drag and drop..)
    I had no idea the 'now playing' window had buttons - where have they gone!

  • What's the proper workflow to combine multiple video types and turn them into one high quality DVD?

    I'm trying to combine 1080i (29.97fps), 1080p (29.97fps), and 720p (24fps) video files into a single Premiere Pro project, and end up with a high quality DVD.
    There are a few problems I can't solve:
    1. There seems to be interlacing and clarity issues any time I export it to DVD dimensions (720x480), and on some TVs I'll get a bouncing motion on the 720p footage (slideshow). Yet everything seems to look perfect when I export it something like an HD MOV file.
    2. If I use Final Cut X to make the DVD, I'll get audio popping and decent image quality. Yet if I use Encore, I'll get horrible interlacing, but good audio.
    I don't have any training in video workflow let alone how to properly diagnose and solve problems that arise. So I need someone to lay out the proper workflow and settings from start to finish to get these three different types of footage to look great on a DVD using Premiere/Encore.
    I've attached sample images showing the types of footage I'm using and the kind of problems I'm running into for reference.

    By far the best way to get the quality of encoding is to use Compressor and not DVDSP. You can set Compressor up to do the AC3 (which DVDSP can't do). Alternatively, use a better encoder than Compressor, such as BitVice or MegaPEG.X... but remember that these do not do AC3 encoding.
    Keep the encoded assets all in a single folder on your mac, then drag that folder into the DVDSP 'Assets' tab. This will import them all and keep them in the folder, which is a neater way of doing things. Select all of the clips within the folder (or simply select the folder itself) and drag them on to the track - they will go on in alphabetic or numeric order (whichever you have used as your names). If using numbers, remember to use '01', '02', etc otherwise clip ten, eleven, twelve and so on will follow clip one... clip two will come after clip 19.
    Drop them all on a single track. You can then point a menu button at the track and all of the clips will play one after the other. If you want black in between then you will be better adding this in a NLE such as Final Cut, then exporting the entire sequence of clips as a single file. Alternatively, create a black .pict file the correct dimensions for the video format you are using and manually add it in between each clip on the timeline. Or, create a series of black .pict files and name them 011, 021, 031 and so on. Place them in your folder of clips with the MPEGs named 01, 02 and so on. When you select all and drop it onto your timeline within DVDSP a black clip will go in between each piece of footage (sequence will be 01, 011, 02, 021, 03, 031 ). This is probably the quickest way to do it. You can reuse the same black .pict files for every project like this and as long as you follow the same naming convention it will always work.
    Like anything you want to automate, the first couple of times take longer to set up. After that it is a lot easier.

  • Firefox sometimes grabs 50% of my CPU, which slows my computer. Any suggestions for fixing this?

    It usually seems to occur when I'm trying to get into a secure account (my 401k) or download something, but not always. Sometimes it just seems to occur when I've been on-line for awhile. I just downloaded Firefox v3.6.

    That is exactly what I just experienced. Firefox is open on one tab, google search has just been run so nothing should be going on but 50% of CPU is sucked up doing who knows what.
    Occasionally when I'm typing in, there is not echo back for several seconds. This sucking up 50% of the CPU goes on over and over again. 50% is the tops but you can't do anything at that point.

  • Turn InDesign into one killer ePub app...

    Well, print is almost dead, just at the time that InDesign is getting really good.
    I hope the next generation of InDesign will allow great support for the ePub format. I wish it supported everything Apple will support on their iPad. Now, Apple is supporting embedded video and audio, I hear.
    Taken a bit further, it looks like many graphic novels and some magazines are coming out in app form because they can do more than the ePub format allows. Could InDesign add some of these featured and export to an iPad app, as well? You have already started to add animation.
    I am hopeful, because this could give new life to us old graphic designers. New hope!
    (Yes, I would forget Flash and concentrate on ePub, PDF (if Apple allows PDF books to be sold on their store) and book-like app exports.)

    I want my Mac program to be better than the Windows counterpart. Why? Well, that's why I bought a Mac. It was supposed to be better. At least at graphics. At least at design.
    I'm not going to pick a fight with you either (I'll agree to cheerfully disagree ) but that is now not the case, and is arguably the opposite.  Just look at the lack of PDF printer functionality on a new Mac now.
    The only way for Apple to make sure that a Mac is better at design is to produce their own page layout program.  Otherwise they'll have to accept that Adobe will need to sell their products to non Mac users as well and accept that they're reliant on other companies too, which requires cooperation.  How good would a Mac be if there was no software available for it apart from what Apple sold?
    Anyway, there is one thing for sure, as long as there are Macs and PCs there will be disagreement about which is better. 

  • My iPad2 is freezing while using Facebook app. Any suggestions for fixing this?

    While I am using my Facebook app, the iPad2 freezes at times. Not all the but sometimes.  Has anyone experienced this and what suggestions do you have to fix it?

    Try This...
    Close All Open Apps...  Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430

  • Suggestions for improving this update in batches of 100 records

    I'm currently using the following PL/SQL code to update batches of records in groups of 100 records at a time.
    - DB Version : Oracle9i Enterprise Edition Release 9.2.0.7.0
    - There is an index on columns : AHS_CONTACT_TYPE, SYNCSTATUS
    - I have to commit the records in batches of 100
    -- Mark all the Agents "In Process" (regardless of Owner)
    -- Update last_modified_by_id to 'SALESFORCE_LOADED' if the
    -- last_modified_by_id column is 'SALESFORCE_SYNC' and
    -- the ID column is NOT NULL
       ln_count := 0;
       FOR C IN (SELECT tmpsf_CONTACT.ROWID
                   FROM tmpsf_CONTACT
                  WHERE ( AHS_CONTACT_TYPE = c_sfContactType_AGENT ) AND
                         ( SYNCSTATUS <> c_sfsyncstatus_IN_PROCESS )
       LOOP
          UPDATE tmpsf_CONTACT
             SET SYNCSTATUS = c_sfsyncstatus_IN_PROCESS,
                 LAST_MODIFIED_BY_ID = decode( LAST_MODIFIED_BY_ID, c_username_SALESFORCE_SYNC,
                                                            decode( ID, NULL, LAST_MODIFIED_BY_ID,
                                                                        c_username_SALESFORCE_LOADED),
                                                            LAST_MODIFIED_BY_ID)
           WHERE ( tmpsf_CONTACT.ROWID = c.ROWID );
          -- Commit every 100 records       
          IF (ln_count >= 100) THEN
             COMMIT;
             ln_count := 1;
          ELSE
             ln_count := ln_count + 1;
          END IF;
       END LOOP;
    -- Catch last batch with any records less then 100
    COMMIT;Does anyone have any suggestions about further improving this performance?
    Thanks,
    Jason

    Okay, I have to do it batches per our DBA group.
    This is not up for debate...unfortunately. Their
    r reasons :
    - To keep the rollback segment small Very small apparently, in fact in this test, updating 100 rows of 2 varchar2(200) columns uses 56 KB of rollback. Updating the whole 10,000 rows uses 5 MB. Is this database running on a pocket USB flash drive? Currently costing $30 for 512 MB from Amazon
    http://www.amazon.com/gp/product/B0000B3AKR/qid=1136558252/sr=8-2/ref=pd_bbs_2/103-9580563-3995040?n=507846&s=electronics&v=glance
    SQL> create table t as select rpad('x',200,'x') a, rpad('y',200,'y') b
      2  from dual connect by level <= 10000;
    Table created.
    SQL> update t set a = replace(a,'x','y'),
      2    b = replace(b,'y','x')
      3  where rownum <= 100;
    100 rows updated.
    SQL> select
      2      used_ublk undo_used_blk,
      3      used_ublk * blk_size_kb undo_used_kb,
      4      log_io logical_io,
      5      cr_get consistent_gets
      6  from
      7      v$transaction, v$session s,
      8      (select distinct sid from v$mystat) m,
      9      (select to_number(value)/1024 blk_size_kb
    10          from v$parameter where name='db_block_size')
    11  where
    12      m.sid       =   s.sid
    13  and ses_addr    =   saddr;
    UNDO_USED_BLK UNDO_USED_KB LOGICAL_IO CONSISTENT_GETS
                7           56        337             227
    SQL> rollback;
    Rollback complete.
    SQL> update t set a = replace(a,'x','y'),
      2    b = replace(b,'y','x');
    10000 rows updated.
    SQL> select
      2      used_ublk undo_used_blk,
      3      used_ublk * blk_size_kb undo_used_kb,
      4      log_io logical_io,
      5      cr_get consistent_gets
      6  from
      7      v$transaction, v$session s,
      8      (select distinct sid from v$mystat) m,
      9      (select to_number(value)/1024 blk_size_kb
    10          from v$parameter where name='db_block_size')
    11  where
    12      m.sid       =   s.sid
    13  and ses_addr    =   saddr;
    UNDO_USED_BLK UNDO_USED_KB LOGICAL_IO CONSISTENT_GETS
              626         5008      31898             594
    SQL>>
    - To prevent tying up the entire table
    They don't know much about Oracle these DBAs do they, what exactly do they mean by "tying up the table"?
    Maybe they didn't get past the 2 Day DBA manual to the Concepts guide yet?
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14220/consist.htm#i13945
    >
    - And the most important, replicated transactions
    must be reasonably small for throughout across the
    WAN
    I don't know what replication engine is being used, but the loop approach uses a huge amount more of REDO than a simple set based update. Most replication applies the REDO to the remote database to synch it up. The loop will cause more data to be transferred over the WAN than a single update.
    >
    Either way, I want to optimize this code as much as
    possible. In fact, today I found a need to do a
    similar update again...
    Just do the update. It uses less resources and is faster becasue of it. The slow approach does not use fewer database resources because you are throttling it. It is slower because it requires more of everything.

  • Suggestions for blending audio from one clip to next?

    I'm learning editing and PP and am practicing by editing different clips from a movie to make my own trailer. The problem I'm having is that going from one clip to another has obvious and abrupt changes. I could add audio transitions to each clip, though for a 2.5 minute trailer I'm not sure if fading audio up and down constantly is the best choice? What is the best way to blend the audio from one clip to the next?
    Thanks.

    You can create a crossfade (essentially an
    audio dissolve) from one audio clip to another.
    With the audio track(s) targeted, park the Playhead at the
    audio cut and hit Ctrl+Shift+D (or drag from the effect panel):
    You need to be sure you have sufficient 'handles'
    on both clips to accommodate the crossfade.
    Creating an audio crossfade
    http://tv.adobe.com/watch/learn-premiere-pro-cs6/creating-an-audio-crossfade/

Maybe you are looking for

  • Blog / Podcast: I'd like to enclose PDF files (instead of .png)

    Hi there from Germany and sorry for my English, folks. I would like to invite you to my iWeb-made (german) Blog here to make clear what my personal problem is - the enclosure of PDF-files. Please visit http://www.olemeiners.de/web/Kiosk/Kiosk.html or

  • How to stop Ovi displaying useless updates?

    Ovi Suite 3.1.1.85 Is there a way to stop totally useless updates? I have the Nokia C6-01 with since yesterday the new Symbian Anna. In that there is a totally useless app called Microsoft Communicator and somehow that is called a very important upda

  • Best possible Number for us

    Hello skype community  I run a small web design company and searching for a skype number in Europe Tell me best location to get number for us 1- We live in India 2- We need number in Europe 3- We need it in location that all Europeans client feel fre

  • Can I install sparc solaris 11.2 (32 bit) OS on LDOM created in Sparc T4-1 server

    Hi, I want to create a LDOM on Sparc T4-1 server which has 11.2 sparc Solaris OS 64 bit installed in it. 1. I am unable to find and download sparc 32 bit image for 11.2 sparc solaris. Can anyone help? 2. Is this doable?

  • [SOLVED]Incorrect mountpoint for /home and /boot

    Hello Archers, I'm new to Arch, if you find my question is so dummy, let me know I have manually setup the partition like this: 1. sdb1 NTFS with boot flag toggle, primary (My existing Windows XP) 2. sdb2  with boot flag toggle, primary (will be used