Help improving flv optimization

Looking for advice (guidelines) on optimizing Flash videos for delivery on the Internet.
Currently I edit in Final Cut Express, export at 320px x 240px, video set to 220-320 kbps, audio set to 80 kbps.
I'm wondering if I can better optimize these settings.
Description of videos:
Multi-camera shoots of classroom lectures.
Audio is collected using wireless lavs.
Post-production includes addition of graphics, titles, converted Powerpoint slides, occasional shots of what's written on a black/white board, transitions (typically dissolves).
Duration of videos can be up to 2 hours long.
Videos are hosted on a standard server, not a streaming server.
Videos are used in distance learning courses.
We require users have a cable Internet connection and a browser with Flash plugin.

You don't specify which coded you are using. Is it H.264. Generally that will be better than On2 VP6, which in turn will be better than Sorenson Spark. And I assume you are using 2 pass VBR?
Codec: On2 VP6. I use Final Cut Express, and I don't see the option of H.264 or multi-pass when I export Flash video. Am I missing something?
I did do some tests recently where I exported QT movies with H.264 and multi-pass and it does look better, as you say.
Unless you need it you should be sure the audio is mono. And in our work we generally use a rate like 64 kbps which seems pretty good for simple voice narration.
Point taken.
The data rate seems pretty high to me. We do a fair amount of short videos in the 640 px x 480 px size and use the same video data rate—and that would be for 4 times as many pixels.
Good news.
In the past, I've had requests for the videos to be larger than 320x240, so I simply made them resizable. I mistakenly thought keeping the exported video dimensions small would help keep the bit rate down. Didn't realize i could use a smaller bit rate for a smaller video.
Couple tests I've just done with the same settings and increased dimensions seems to actually show an improvement in quality, particularly over the quality that results from enlarging the smaller video.
Is there some sort of chart of video sizes and associated bit rates?
I would general advocate for breaking them into short chunks of 10 minutes or so max. It makes it so much easier for loading and finishing this bit/that bit in a busy schedule. But I'm sure all y'all have thought all that through.
Yes, I've had complaints that the longer videos are problematic. Too long for a single sitting. And if a user launches the video at a later date, it's more difficult to find the point where they left off, the longer the video. Anyone use markers for this purpose?
Any lecture longer than 1 hour does have a classroom break, so I've thought about splitting videos in 2 parts. But I never thought about smaller chunks. 10 minutes? Sounds reasonable! Thanks.

Similar Messages

  • Help needed to optimize the query

    Help needed to optimize the query:
    The requirement is to select the record with max eff_date from HIST_TBL and that max eff_date should be > = '01-Jan-2007'.
    This is having high cost and taking around 15mins to execute.
    Can anyone help to fine-tune this??
       SELECT c.H_SEC,
                    c.S_PAID,
                    c.H_PAID,
                    table_c.EFF_DATE
       FROM    MTCH_TBL c
                    LEFT OUTER JOIN
                       (SELECT b.SEC_ALIAS,
                               b.EFF_DATE,
                               b.INSTANCE
                          FROM HIST_TBL b
                         WHERE b.EFF_DATE =
                                  (SELECT MAX (b2.EFF_DATE)
                                     FROM HIST_TBL b2
                                    WHERE b.SEC_ALIAS = b2.SEC_ALIAS
                                          AND b.INSTANCE =
                                                 b2.INSTANCE
                                          AND b2.EFF_DATE >= '01-Jan-2007')
                               OR b.EFF_DATE IS NULL) table_c
                    ON  table_c.SEC_ALIAS=c.H_SEC
                       AND table_c.INSTANCE = 100;

    To start with, I would avoid scanning HIST_TBL twice.
    Try this
    select c.h_sec
         , c.s_paid
         , c.h_paid
         , table_c.eff_date
      from mtch_tbl c
      left
      join (
              select sec_alias
                   , eff_date
                   , instance
                from (
                        select sec_alias
                             , eff_date
                             , instance
                             , max(eff_date) over(partition by sec_alias, instance) max_eff_date
                          from hist_tbl b
                         where eff_date >= to_date('01-jan-2007', 'dd-mon-yyyy')
                            or eff_date is null
               where eff_date = max_eff_date
                  or eff_date is null
           ) table_c
        on table_c.sec_alias = c.h_sec
       and table_c.instance  = 100;

  • Photoshop CS6 crashes after "Help Improve Adobe's Products" appear

    Photoshop CS6 crashes or menu items turn grey after "Help Improve Adobe's Products" appear. How can I get rid of this message appearing all the time?

    Hi Eduardo,
    APIP is our a component, we will help you handle this issue, Please tell us the following quesiton in order to make me identify the root cause.
    What's you PS version? 13.0.4 or 13.1.1?
    What's you Mac build? 10.8.3?
    Which step make your latest PS version POP up Apip Dialog?
    Update online.
    Update by patch Pacage?
    Install an alone PS application?
    Install other Adobe product?(Extension Builder,Light Room?)
    Others
    Any comments are welcome.

  • Photoshop cs6 - How do you stop the "Help Improve Adobe's Products" window from appearing?

    EVERY time I open Photoshop CS6 I get the damn "Help Improve Adobe's Products" box appearing. I've clicked 'Participate' and answered all the questions ... I've pressed 'Do Not Participate' ... many times ! 
    The darn window still opens every time I open PS6 .... driving me nuts!!
    PS ... on a Mac ... in Australia.
    There must be a way of getting rid of it ...
    AND ... further ... on one of my machines ... my Mac Air ... for a while Photoshop CS6 would HANG completely (spinning beach ball) when the "Help Improve Adobe's Products" window opened BUT with no text in the box ... yup ... CS6 hung when the box opened completely empty of text !!
    Would not like that to happen whilst on an assignment 'on the road' !!!
    Plaese advise !!! Thanks

    I am told MacKeeper causes problems. Hopefully you did not install that.
    The only idea remaining is to uninstall/clean/reinstall.
    Let's go over that:
    No need to deactivate, so skip that.
    In your CS6 folder is a shortcut to the uninstaller. I would like you to check "Remove Preferences" when you run the uninstaller.
    When that's done, download the CS-CC Cleaner for the Mac.  Run that.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    As far as your Mac goes, Run Disk Utility on your volume.
    Verify Disk
    Repair Permissions.
    Then reinstall CS6 and updates.
    It's is a "nuke and pave" approach, but if you do not want to be messing with internals you do not understand, it's the best way to go.
    Gene

  • Free iWeb SEO Tool to Help Improve Search Engine Rankings

    Hi,
    I have just posted a free iWeb SEO Tool that will let you add and edit all your meta tags and header information, as well as a few other important search engine optimization factors. Here is a brief description of what it can do;
    iWeb SEO Tool is the only software that makes it easy to get your iWeb built website ready for search engines.
    Since Apple has often neglected key SEO strategies in their iWeb software, it is difficult for many iWeb based websites to rank high in search engines. This is why we have created this free utility to help you properly optimize your website.
    Features include;
    1) Easily add meta tags such as description and keywords
    2) Edit your title tags for each pages
    3) Add robot rules and language meta tags
    4) Add alternative text for images
    5) All settings are saved in a private database so next time you publish your site you can take all the saved SEO copy and apply to your new site
    6) Edit sites locally or directly on your iDisk
    I am looking for feedback on this tool to see how useful it can be. If you find any problems, please let me know. You can download this tool by creating a free beta testers account at;
    http://www.trybeta.com/home/
    Please let me know if this is useful for anyone. It is completely free for all iWeb users.
    *I may receive some form of compensation, financial or otherwise, from my recommendation or link*
    <Edited by Moderator>

    1. To publish to .Mac just mount your iDisk and go to Web/Sites/ and you will see your old site there. Delete that site and just copy your new site to the location.
    2. Just press the load from iDisk button in the toolbar and enter your username and password. Your sites from your iDisk will load in iWeb SEO Tool.

  • "Help improve Adobe products" window crashes Photoshop CS6

    Most od the times when I try to open a Photoshop CS6 file (MacBook Pro Retina, Mac OS 10.8.3) and the "Help improve Adobe products" window shows up, no matter if I press the "Do not participate" or "participate" button, the program opens but all tghe menu items appear in gray or the program crashes

    Same problem here, can no longer use Photoshop. Have never installed MacKeeper or MacCleaner which are named as culprits in other threads.
    Macbook Pro C2D 2.4ghz with 4GB ram, used to work fine.

  • How to delete line-WILL YOU HELP IMPROVE MOZILLA FIREFOX BY SENDING INFORMATION ABOUT ETC.

    The following line appears every time I open up a Firefox website and I want to get rid of it:
    "Will you help improve Mozilla Firefox by sending information about performance, hardware, usage and customization to Monzilla"
    When I answer YES I WANT TO HELP or NO, the line still keeps appearing when i open up another web page.
    Also, how do I stop the message "CHECKING COMPATABILITY OF ADD-ONS" when I open up a web page.
    Hoping you can assist-Thanking you
    Dick Hunt

    First you need to update to Firefox 17.0.1, as the version you are running is out of date.
    Then, follow cor-el's instructions above, and if that doesn't resolve the issue, please read [[How to fix preferences that won't save]]

  • Help in query optimization

    Hi all,
    please help me to optimize following query,
    SELECT HBD.HOTELBOOKINGID, HBD.ITEMREFERENCE, HBD.COUNTRYID, HBD.CITYID, HBD.LOCATIONID, HBD.CHECKINDATE,
    HBD.CHECKOUTDATE, HBD.NOOFNIGHTS ,HBD.STARRATING, HBD.NOOFROOMS,
    HBD.CURRENCY,
    (SELECT CITYCM.CITYCODE FROM CITYCODEMAP CITYCM WHERE CITYCM.PROVIDERID=2 AND CITYCM.CITYID=HBD.CITYID) AS GTACITYCODE,
    (SELECT CITYCM.CITYCODE FROM CITYCODEMAP CITYCM WHERE CITYCM.PROVIDERID=4 AND CITYCM.CITYID=HBD.CITYID) AS HBCITYCODE,
    (SELECT XCM.CURRENCYCODE FROM XMLCOUNTRYMASTER XCM, COUNTRYCODEMAP CCM WHERE CCM.PROVIDERID=2 AND CCM.COUNTRYID= HBD.COUNTRYID AND XCM.COUNTRYCODE=CCM.COUNTRYCODE AND XCM.PROVIDERID=CCM.PROVIDERID) AS GTACURRENCY,
    (SELECT LOCATIONCODE FROM LOCATIONANDZONEMAPPING WHERE LOCATIONID = HBD.LOCATIONID AND PROVIDERID = 2) AS GTALOCATION,
    (SELECT LOCATIONCODE FROM LOCATIONANDZONEMAPPING WHERE LOCATIONID = HBD.LOCATIONID AND PROVIDERID = 4) AS HBZONE, CM.DESCRIPTION, CITM.DESCRIPTION,
    (SELECT CITYCM.CITYCODE FROM CITYCODEMAP CITYCM WHERE CITYCM.PROVIDERID=5 AND CITYCM.CITYID=HBD.CITYID) AS TRAVCOCITYCODE,
    (SELECT CCM.COUNTRYCODE FROM COUNTRYCODEMAP CCM WHERE CCM.PROVIDERID=5 AND CCM.COUNTRYID=HBD.COUNTRYID) AS TRAVCOCOUNTRYCODE
    FROM BOOKINGHOTELDETAILS HBD, COUNTRYMASTER CM, CITYMASTER CITM WHERE HBD.HOTELBOOKINGID =124
    AND CM.COUNTRYID = HBD.COUNTRYID
    AND CITM.CITYID = HBD.CITYIDany help appriciated
    Edited by: Pankaj M on Oct 8, 2008 3:40 PM

    Just taken a quick look anyway and you have a lot of nasty inline selects that would be better as joins...
    Something like this... (untested)
    SELECT HBD.HOTELBOOKINGID
         , HBD.ITEMREFERENCE
         , HBD.COUNTRYID
         , HBD.CITYID
         , HBD.LOCATIONID
         , HBD.CHECKINDATE
         , HBD.CHECKOUTDATE
         , HBD.NOOFNIGHTS
         , HBD.STARRATING
         , HBD.NOOFROOMS
         , HBD.CURRENCY
         , MAX(DECODE(CITYCM.PROVIDERID,2,CITYCM.CITYCODE)) AS GTACITYCODE
         , MAX(DECODE(CITYCM.PROVIDERID,4,CITYCM.CITYCODE)) AS HBCITYCODE
         , MAX(DECODE(CCM2.PROVIDERID,2,XCM.CURRENCYCODE)) AS GTACURRENCY
         , MAX(DECODE(LMZ.PROVIDERID,2,LMZ.LOCATIONCODE)) AS GTALOCATION
         , MAX(DECODE(LMZ.PROVIDERID,4,LMZ.LOCATIONCODE)) AS HBZONE
         , CM.DESCRIPTION
         , CITM.DESCRIPTION
         , MAX(DECODE(CITYCM.PROVIDERID,5,CITYCM.CITYCODE)) AS TRAVCOCITYCODE
         , MAX(DECODE(CCM2.PROVIDERID,5,CCM2.COUNTRYCODE)) AS TRAVCOCOUNTRYCODE
    FROM  BOOKINGHOTELDETAILS HBD JOIN COUNTRYMASTER CM ON (CM.COUNTRYID = HBD.COUNTRYID)
                                  JOIN CITYMASTER CITM ON (CITM.CITYID = HBD.CITYID)
                                  JOIN CITYCODEMAP CITYCM ON (CITYCM.CITYID=HBD.CITYID AND CITYCM.PROVIDERID IN (2,4))
                                  JOIN COUNTRYCODEMAP CCM2 ON (CCM2.COUNTRYID= HBD.COUNTRYID AND CCM2.PROVIDERID IN (2,5))
                                  JOIN XMLCOUNTRYMASTER XCM ON (XCM.COUNTRYCODE=CCM2.COUNTRYCODE AND XCM.PROVIDERID=CCM2.PROVIDERID)
                                  JOIN LOCATIONANDZONEMAPPING LMZ ON (LMZ.LOCATIONID = HBD.LOCATIONID AND LMZ.PROVIDERID IN (2,4))
    WHERE HBD.HOTELBOOKINGID = 124
    GROUP BY HBD.HOTELBOOKINGID
           , HBD.ITEMREFERENCE
           , HBD.COUNTRYID
           , HBD.CITYID
           , HBD.LOCATIONID
           , HBD.CHECKINDATE
           , HBD.CHECKOUTDATE
           , HBD.NOOFNIGHTS
           , HBD.STARRATING
           , HBD.NOOFROOMS
           , HBD.CURRENCY
           , CM.DESCRIPTION
           , CITM.DESCRIPTION;

  • How to stop "would you like to help improve FF" popup?

    I am trying to run automated tests (Selenium) of out web application, and every time it opens a FF window it gets blocked by a popup saying "Would you like to help improve Mozilla FF etc)". I have tried clicking No and restarting FF, and also un-checking Submit Performance Data in Options.
    Please let me know what I need to do, as I can't continue with the task I'm meant to be doing until I can fix this!
    Thanks...

    If selenium doesn't use that profile, but creates a new profile or initialize that profile in another way then it won't work.
    Is that pref still set?
    If a new profile is created then try to initialize that pref via a user.js file in the default template folder "\defaults\profile" (you need to create that folder in the Firefox program folder).
    <pre><nowiki>user_pref("toolkit.telemetry.prompted", true);
    </nowiki></pre>

  • Does Apple ask for "help improve Apple Security" when new app is trying to be downloaded?

    I was selecting an app on vh1 called the co-star app. I click it it then prompts for apple I'd password to allow the download. I put password in. The app pops up on my iPad screen. Then it starts to download. Then this window pops up n halts the downloading of that app. This window says " help improve apples security by completing this 3 question security thing. So I clicked cancel because I wasn't sure if apple does that or if it is a hacker looking for me to give 3 answers to these security questions. Can someone help me? I am a new IPad owner n I'm learning here. This is my first Apple device. So I appreciate any responses from you. Thank you for your time.
    I don't know what this iPad is or it's operating system, all I know is it was brand new n very very expensive!

    What you are seeing is part of Apple's fairly new security system that was implemented a few months ago. It is perfectly legitimate. The first time that you download something for iTunes or the App Store on a new device, you will be prompted to set up three security questions and an optional rescue email address.
    Go ahead and comply with the request from Apple. It is for your own security. Just remember the answers to the questions. You can make up answers if you want to do so, you just have to provide answers that you will remember. I wrote my answers down and stored them away for safe keeping.
    You can read this cnet article from a few months ago about Apple's new system.
    http://news.cnet.com/8301-13579_3-57413072-37/apple-ratchets-up-app-store-securi ty/

  • Hotmail help says to optimize Firefox to correct Attachment ID has bad format problem when there is not attachment - how do I optimized Firefox 3.6.12?

    Several day ago my Hotmail acct seemed to be hacked as the following email
    ''I think this is a nice website,I like it very much.If you have time please browse it.Maybe you can find some products that are suitable for you.Their priciple is :100% original and brand new,100% satisfied! Their address http://dpzc.net/#512.com/img/26_qtr.jpg/
    Email:[email protected]
    Msn: [email protected]''
    was sent to my entire address book, and now when I try to sent a hotmail I get an error message saying Attachment Id Has Bad Format, even though there is no attachment. (This problem does not happen in IE8)
    I did Hotmail help and their response was ''''I advise you to optimize your browser. If you have a browser that’s not Internet Explorer, you can visit its Help section.''''
    How do I optimize Firefox 3.6.12?
    or what other suggestions do you have

    Delete any traces of Silverlight from your HD, you will be able to send attachments normally thereafter.

  • Help Improving CS4 Performance

    I'm using Premiere CS4 on a Macbook with OS X 10.6.2.  I have a new project with one video track and one audio track.  The audio plays fine but the video doesn't.  It isn't anywhere near real-time and often only renders a frame every few seconds.  Exporting a six minute video/audio project can take 1.5+ hours.  I'm not sure if it is my project settings or my machine.  I'd like help trying to figure out where the bottle neck is. 
    Here are my Macbook specs:
    2.0 Ghz  Intel Core 2 Duo
    4GB RAM
    5400RPM HD w/ 5GB free space but can vary up to 10GB
    NVIDIA GeForce 9400M w/256MB RAM
    The particular project settings:
    Import from Canon 5D Mark II.  Source is 1920x1080 HD.
    Project sequence settings are:
      Editing Mode: HDV 1080p
      Timebase: 23.976 frames/second (I'd like a 24p film)
      Frame size: 1440x1080 vertical 16:9
      Pixel Aspect Ratio: HD Anamorphic 1080 (1.333)
      Fields: No Fields (Progressive Scan)
      Display Format: 24fps
      Preview File Format: I-Frame Only MPEG
    Export Settings:
      Format: QuickTime
      Preset: Custom
      Export Video/Audio
      720x576, 24 [fps], Lower, Quality 100
      48000 Hz, Stereo
      MPEG-4 Video
      Aspect: D1/DV PAL (1.0940)
      Codec Settings: 24 bit
    I'd like to use the finished product on DVD and Vimeo.  Please let me know if there is anything additional you might need to know.  Thanks.

    Thanks.  I had an idea it was probably more my system resources than anything.
    I'll be getting a Macbook Pro with these specs:
    2.54Ghz Intel Core 2 Duo
    8GB RAM
    Solid State drive
    NVIDIA GeForce 9400M graphics
    Depending what happens Wednesday with Apple's new product launch, those specs might be improved.  This question is more for someone that might already have a similar setup:  Should I see a great improvement with that kind of system?  How much affect does 4GB to 8GB RAM have?

  • Need help embedding FLV files  on a page

    I am working in apex 4.2 and am having trouble embedding a VLC player in an apex page. So far, I have been able to embed and play wmv or mpeg videos in apex. I am primarily testing in IE. Will worry about other browsers later (Sofari, Mozilla, etc).
    I have downloaded and installed a vlc player. The source code is as follows:
    <embed src="f?p=&APP_ID.:&APP_PAGE_ID.:&APP_SESSION.:APPLICATION_PROCESS=media:::GP_MEDIA_ID:&P37_MEDIA_ID."
    autostart = "true" hidden="false" width="800" height="500" style="border-style:solid;" type="application/x-vlc-plugin"
    pluginspage="http://www.videolan.org" version="VideoLan.VLCPlugin.2" </embed>
    However, when I go to the page, it still shows a broken link. I am not sure what is missing or where the problem lies. My only other "hunch" is that I haven't added or mapped out a mime-type for video/x-flv to one of the config files on my server. Could this be the problem??? Either way, I'm still stumped. Any help would be greatly appreciated. Thanks in advance.

    Update:
    I removed the "iTunes Library" file from Home>>Music>>iTunes, which allowed me to get back into iTunes, but I don't know how to connect to the files without it locking up again in the event that the mount to her share on my iMac becomes unmounted again.

  • Help: error when optimize a password procted PDF

    I am getting error when optimize a PDF. The PDF document is password protected with help of DDX Assemble.
    Error Message follows:
    ALC-PDG-15063-000: com.adobe.livecycle.generatepdf.client.ConversionException: ALC-PDG-015-063-The system cannot export password protected files. Please edit and submit your file again.
      at com.adobe.pdfg.BMCCaller.checkResult(BMCCaller.java:382)
      at com.adobe.pdfg.Native2PdfCaller.callNativeBMC(Native2PdfCaller.java:1134)
      at com.adobe.pdfg.Native2PdfCaller.optimizePDF(Native2PdfCaller.java:362)
      at com.adobe.pdfg.GeneratePDFImpl.optimizePDF(GeneratePDFImpl.java:2116)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
      at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
      at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
      at sun.reflect.GeneratedMethodAccessor300.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
      at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
      at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
      at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:1 73)
      at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77)
      at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
      at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
      at org.jboss.ejb.Container.invoke(Container.java:960)
      at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
      at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
      at $Proxy172.doBMT(Unknown Source)
      at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
      at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:158)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
      at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
      at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
      at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:20 9)
      at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
      at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
      at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:886)
      at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke(WorkflowDSCInvoker. java:347)
      at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:158)
      at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
      at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
      at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:299)
      at sun.reflect.GeneratedMethodAccessor250.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.jboss.invocation.Invocation.performCall(Invocation.java:359)
      at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)
      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)
      at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)
      at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)
      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)
      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)
      at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)
      at org.jboss.ejb.Container.invoke(Container.java:960)
      at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)
      at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)
      at $Proxy171.doRequiresNew(Unknown Source)
      at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)
      at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
      at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
      at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
      at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)
      at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)
      at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:20 9)
      at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
      at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
      at com.adobe.idp.jobmanager.execution.workadapter.AbstractExecutableJob.invokeRequest(Abstra ctExecutableJob.java:127)
      at com.adobe.idp.jobmanager.execution.workadapter.PersistentExecutableJob.execute(Persistent ExecutableJob.java:60)
      at com.adobe.idp.dsc.workmanager.adapter.UnManagedAsynchronousWorkAdapter.run(UnManagedAsync hronousWorkAdapter.java:39)
      at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
      at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
      at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
      at java.lang.Thread.run(Unknown Source)

    There is no file "com.apple.iphoto.plist" as they claim. May be an '08 file. I'm using 6.0.6
    This file has to exist. You are probably looking in the wrong Library. It's not the Library directly inside your Hard Drive; you want the one in your Users folder. Navigate like this:
    Mac HD/ Users/ (your user name)/ Library/ Preferences/ com.apple.iPhoto.plist
    Delete the file and see if it helps.
    Regards.

  • Help improve my style and quality of LabVIEW coding

    Hello,
    I am thinking of doing the CLD certification for LabVIEW and have started preparing by reading some literature (code style guidelines, etc.) and also trying to implement the newfound knowledge into my coding habits. I have also read that local variables are bad, and that the best practice is to avoid them.
    However, I am having difficulty implementing all of the material I read about LabVIEW coding into my VIs - which are almost always coded in the same manner as the one I attached. Basically all of the LabVIEW applications I make at my company require reading DAQ inputs, processing the acquired data and doing some control algorithms, which send control signals to DAQ outputs, and writing all of the data to a file.
    I have attached a sample VI (with dummy DAQ subVIs). If you have the time - any ideas, comments, consideration or improvements on all areas of the VI are greatly appreciated and welcomed. I think this will be the best way for me to learn new LV tips and tricks.
    Thank you!
    Attachments:
    LabVIEW coding test.zip ‏375 KB

    Jeff Bohrer wrote:
    OK I've seen worse. (actually not too bad but...)
    Use wire labels especially when you have wires that don't fit on 1 screen
    You show a lack of understanding how timed loops differ from while loops  (event structure in TLoop with DT=0, Elapsed Timer in Timed Loop.   Someday you'll say WTH was I thinking spawing unique execution systems for those
    You could have saved a lot of locals and data duplication by enqueueing data from the DAQ loop to the Write File Loop instead of using a notifier
    Sometimes an Array of Clusters can be a good idea  clusters of clusters of same data type can often be harder to maintain- want to add a new element- maybe test a single point? just init the array of clusters (like from a file perhaps?)  Saves a lot of confusion
    Saving timestamps to file as strings is a pet peeve of mine.  Now how do you graph vs time?  Check out My Idea 
    There is no reason to avoid creating sub-vis and making the Main BD fit on one screen.  I fact it can help to show the code high level structure.
    Straighten them wires!
    Most of your issues would be solved by re-thinking your data structures- A good place to concentrate on to improve.
    Keep Slinging- you'll get there
    Ok, will do.
    Can you explain what the difference is? Or point me to some good literature on this topic? 
    How exactly can you do that? I tried sending data via notifier, but I could not send different data types.
    I do not quite understand what you mean.
    Also, I do not understand what the problem here is. The graph shows data vs time.
    Will try.
    Mark Yedinak wrote:
    OK, I did take a look at the code now. HEre are some additional points to consider.
    Document, document, document. None of your controls or indicators are documented. Also, document your code more to help someone looking at it to actually understand it better.
    Definitely avoid the use of all of the local variables. Thing of a design pattern that separates the processing tasks from the UI. If you have one task handling the UI you really don't need to use local variables.
    Avoid unnecessary bends in your wires.
    Definitely get your block diagram to fit on a smaller screen. These days it shouldn't be larger than 1600x1200 or close to that.
    Modularize your code. Use more subVIs
    You have a classic off by one error in your code. All of your loops use the stop button to exit. However you always check the value at the beginning of the loop iteration therefore you will execute the loop one more time than necessary.
    Avoid unnecessary frame structures. You have a frame structure in the second loop that does nothing for you. Everything down stream of it will execute in the correct order because of the data dependencies. The frame structure serves no purpose here.
    Try to avoid deeply nested case structures. Once I start to see that happening in my code I rethink my logic. At a minimum I would build an array of the various Boolean values and convert them into a number and use that to chose the appropriate case to execute rather than nesting three or more case structures.
    Will do.
    How can I accomplish all the tasks in my application without the use of local variables? I admit, this is the main reason I opened this thread ... because I have tried to imagine a design architecture that would work without local variable, but was unsuccessful. Can someone please explain in detail how to do this on this specific application.
    Will try to.
    I will try, but I make my block diagram to the width of my screen, but vertically I do not limit its size - so I can easily scroll up and down to move around.
    I try to create as many subVI as possible, but only on code that is reusable on other projects. Is also better to have a lot of single use subVIs with every project? Doesn't this add unnecessary overhead and slows the application?
    What would be the correct way to stop the application?
    Ok.
    Ok. I only do your proposed solution on nested case with a depth of at least 4. 3 nested structures were still acceptable for me, but I will listed to your proposal and try to improve on this.
    Thank you all for taking the time to look at the code and writing your comments.
    I already have the CLAD certification, but this was only a test. I think I will be able to try the CLD exam sometime next year, but I have to learn and implement different coding style in my everyday application (at work). With your help I am sure I will be able to accomplish this - reading literature is one thing, but actual projects are another.

Maybe you are looking for