Optimization for conversion

Hi,
I have the following VI
It runs fast enough on a fast PC (duo core 2) but it doesn't run fast enough on my laptop. Is there a way to optimize this?
Best regards,
Thijs
Solved!
Go to Solution.

GerdW wrote:
Hi Thijs,
it's faster because:
- it uses polymorphism of the "Split Number" function to work directly on array data
- thus the compiler may use some SSE optimization (?)
- it doesn't use a BuildArray node as your version: the appending output tunnel of your FOR loop is nothing else than a shift register with a BuildArray node as was used for the purpose in older LV versions...
I think that the main factor here is the avoidance of a Build Array node inside a loop by using the Interleave 1D Array node instead. Anything else might or might not add a few microseconds to the mix. Could be easily tested by removing the Build Array Node in the original VI and creating three 1D arrays on the loop boundary, then use Interleave 1D Array to combine them together. Certainly the speed difference is then much smaller and probably almost nihil.
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions

Similar Messages

  • Image Optimization for POD

    Attempting to optimize a few images for a POD book, but consistency in image quality is the perrenial problem with POD. Received the first proof copy containing 24 black and white 7cm x 7cm images, all from the original publisher (we're doing a licensed translation) and seemingly of consistent qualitiy. 4 images turned out brilliant, and the rest, beyond mediocre, just inferior.
    The photo files are EPS. All are showing as grayscale except for 2 which are color space RGB (Adobe RGB profile). Of those two, one is terrible like the majority (flat, washed out, looks almost solarized) and the other is brilliant. The other 3 images printing well, are in grayscale, so RGB doesn't seem to be conclusively part of the answer or problem.
    All the rest are grayscale, and in ID the profiles show as NA.
    Other than abandoning POD (impossible now, and past projects with similar images have turned out well), what can be done, what are the fundamentals of image optimization for this printing process?
    Thank you for the input.
    Luca

    I assume that by POD you are referring to Print On Demand?
    Quite frankly, the “problems” would seem to be more an issue of GIGO – Garbage In, Garbage Out – than anything to do directly with the file format of the images, especially if those images are monochrome.
    I would strongly agree with Bob Levine in terms of EPS (Encapsulated PostScript) being an archaic file format. That having been said, a properly prepared photographic image with proper exposure, contrast, and resolution saved as EPS from Photoshop and placed in InDesign should render no differently than a TIFF, JPEG, or PDF (depending upon the compression used in the EPS) image without any ICC profiles placed into an InDesign document. I seriously doubt that simply converting your EPS files to TIFF would help in any way whatsoever, although in the process of simply opening the images in Photoshop, you might see what the real quality (or lack thereof) of the images is.
    Many problems associated modern day monochrome images today is the fact that most such images were shot digitally as color images as opposed to being shot on black and white film. Unfortunately, there is no single conversion of color to monochrome that is optimal for all images. Much depends upon the exposure, light contrast, and especially the color contrasts within the original color image. In the days of analog film photography, professional photographers often used color filters with black and white film to deal with the issues of color contrast (for example, yellow and orange filters for outdoor scenic shots to provide for a darker sky with deeper contrast with the clouds, the “big sky” effect). Converting color digital images to monochrome by using the simplest Photoshop tools without regards to image content will definitely yield many suboptimal, washed-out looking images.
    Also, after applying one or another of the Photoshop conversions to monochrome, the image usually is still RGB. One needs to then convert the image that looks grayscale to actual grayscale. Otherwise, you end up with an RGB image for which for every pixel R=G=B, a situation which could lead to some “interesting” and likely undesirable printed output, especially if printed on a color device.
    Another issue to consider is one of color management. Whether one wants it or understands it, color management is really always on in Adobe applications. If you don't use profiles and the wrong assumption is made with regards to the color space of content, you can get suboptimal results, in grayscale such results being muddiness, poor contrast, etc. And to get back to the file format issue, EPS doesn't support ICC color management directly.
              - Dov

  • Acrobat 9.3.4 (or 9.3.3.177): Save As with Optimize for Fast Web View

    When I do a Save As with Optimize For Fast Web View checked, the saving stops and an Adobe Acrobat dialog displays:
         The document could not be saved. There was a problem reading this document (111).
    If I uncheck Optimize For Fast Web View, the Save As seems to work.
    Is there a way to have Fast Web View work with Save As?
    Acrobat.exe is version 9.3.4 (or 9.3.3.177 in the properties). The Acrobat.DLL version is 9.3.4.218.

    Thanks.  I did submit a report at the site.  I hope somebody reads it as this is a big problem for us.
    Thanks again.

  • Not able to optimize for You Tube

    So I have been using Adobe Premiere for almost a year and a half and the one thing that has bothered me is that no matter what I do I can't get full HD Video's (I am filming with a 720 camera) and it won't optimize for You Tube and will always look like this
    I have looked up several guides and no matter what I do it does not change any guides I might be missing or something wrong I would love to use the full potential that I can.

    AME has quite a number of YouTube presets ... one of 'em should pretty close to match expectations.
    Neil

  • Best Practice for Conversion Workflow

    Hello,
    I'm converting video files from our "home grown" virtual media reserve to iTunes U. Some of the files are in RM format, some are already compressed .mov's (not H.264) and some I have the original DV files for.
    Anyone out there have a best practice for converting these file types for posting to iTunes U? I have Final Cut Studio (Compressor), QT Pro and Squeeze available to me.
    Any experience you have with this would be helpful.
    Thanks,
    Jeana

    For converting old files to a podcast compatible video and based on the machine you have, consider elgato turbo.264. It is a fairly priced "co-processor" for video conversion. It is comprised of an application and a small USB device with a encoder chip in it. In my experience, it is the fastest way to create podcast video files. The amount of time that you will save will pay for the device quickly (about $100). Plus it does batch conversion of any video that your system currently plays through QuickTime. it has all the necessary presets and you can create your own. It has a few minor limitations such as not supporting (at this moment) enhanced podcasting features such as chapter markers and closed-captions but since you have old files for conversion, that won't matter.
    For creating new content, the workflow varies a lot. Since you mention MP3s, I guess you are also interested in audio files. I would stick with GarageBand, especially if you are a beginner plus it supports enhanced podcasts.
    In any case the most important goal is to have the simplest and fastest way to go from recording to publication. The less editing the better. To attain that, the best methods will require the largest investments. For example, for video production the best way is to produce the content live so when you finish recording it is only a matter of encoding and publishing. that will require the use of a video switcher that can ingest at least one video camera and a computer output to properly capture presentation material. That's the minimum. there are several devices that can do this for you. Some are disguised PCs and some connect to a PC for tapeless recording. You can check the Tricaster, which I like but wish it was a Mac and not a Windows Xp PC. Other routes may include video mixers from manufacturers like Edirol, Pansonic or Sony connected to a VTR or directly to a Mac for direct-ti-disc capture. I f you look at some of the content available in iTunes U, you will see what I explain here. This workflow requires preparation and sufficient live support but you will have your material ready for delivery almost immediately after the recorded event. No editing required. Finally, the most intensive workflow is to record everything separately and edit it later, which is extremely time consuming.

  • Set "optimize for screen display" at runtime?

    Hi,
    is it possible to set the option "optimize for screen display" at runtime when using the CR2008/.NET 2.0 runtime?
    Best regards,
    Florian

    Ok, I'm a bit smarter now. If I open the new pdf with reader 7 the graphics are in normal size at 100%. If I open the same pdf in Acrobat 9 pro everything is a bit to big with the "original size" setting, so the graphics are blured, because they get streched. It is a problem of displaying, the pdf seems to be ok, cause it looks good printed and good in Reader 7. But how can I know how the result will look at the users screen and why is the same file different in two reader versions?
    and there is still the problem with the pattern / diffusion / noise whatever is the best word for it.

  • User Logic for Conversion Type Instead of Hard coding in query.

    Hello , Good response from SDN but thats all standard which I know. Please help me to resolve the problem as stated below. SDN friends are always best help.
    Requirement: User will select the Target Currency; Will select the Exchange Rate like Monthly Avg 002M. Now there has to be a variable in Conversion which tells the logic to pick Conversion Type ZVHGR if  Exchange Rate = 002M, but if Exchange Rate = 001, then Conversion Type ZVHMR.
    <u><b>
    Approach to solve abo</b></u>ve
    1. I have created a Currency Translation Type " FiscperConversion" "ZVHGR" now this has Exchange Rate Type from Variable "ZVARN" (Which is a variable single value manual input on 0RTYPE Infoobject for exchange rate.)
    2. Now Currency Tab: Target Currency is selected from Variable placed in the Report. ZRPVAR.
    3. Now the Variable Time Reference is used. Standard Infoobject 0FISCPER
    which is beginning of period.
    Now all the above is done. Let go to the query and For Value of kEYFIGURE "Audit Balance" in Conversion Tab Conversion Type is specified is "FiscperConversion" ZVHGR"same as above and thats it. But the problem is here user want a variable that user can select the Conversion Type Instead of Hard coding.
    <b>Please suggest how to create this variable for Conversion Type and specify in query designer since In Conversion Tab this is not allowed to have variable.</b>
    Please help me very soon
    Thanks
    Soniya Kapoor
    null

    Hello soniya
    CTK ( currency translation key) includes
    1. Exchange rate type - variable
    2. Time base              - Variable
    3. Source abd TGT currency    - variable
    if all the things are given in variable why and what extra you need by selecting currency translation key from user input. I think you should ask business user again abt their requirement.
    I can think of inputing CTK if say you have choosen time base as static ( Fix value)...say in one key u r using fiscal period as base and in other u r using calday as base...
    Thanks
    Tripple k

  • I purchased the Adobe pdf Pack to combine 50 PDF files to one and when I select them from my folder it claims "the files are not in a format not supported for conversion to PDF".  They already are pdfs, what am I doing wrong?".

    I purchased the Adobe pdf Pack to combine 50 PDF files to one and when I select them from my folder it claims "the files are not in a format supported for conversion to PDF".  They already are pdfs, what am I doing wrong?

    Moved to Adobe PDF Pack (read only)

  • Optimize for Speed = LV runtime error in file CCGArrSupp​ort2.c (LV2009 / MCB2400)

    Hello,
    I have a MCB2400 and LV2009 and the normal Code-Generation works fine. But if I try the Run-Time Option: "Optimize for Speed" I always get this Error:
    "LV runtime error in file ...\CCGArrSupport2.c at line 2621: 6 3"
    I already tried a workaround, which helped somebody for blackfin: http://forums.ni.com/ni/board/message?board.id=420​&thread.id=811
    But it didn´t help in my case.
    bye
    amin 
    Solved!
    Go to Solution.

    Hi,
    you are right. In the example it was just a Problem with the output.
    Now here is one little part of the project which brings the runtime error allone, which brings the runtime error (just if the optimize option ist activated).
    The Black Node is a Sub-Vi.
    bye & thanks
    amin
    Message Edited by aminat on 10-23-2009 09:02 AM
    Attachments:
    PUB.zip ‏15 KB

  • Table T000 was not relevant for conversion in BDLS log

    Hi All,
    I am getting the below message in BDLS log  while doing logical system system conversion with BDLS.
    "Table T000 was not relevant for conversion"
    Due to this I could see old logical system entry in SCC4 instead of New converted logical entry.
    (I've gone through the forums ,but didn't find solution)
    Any Idea why I am getting this message and I triggered BDLS from client 000.
    Regards,
    Srinivas Chapa.

    Already SCC4  entry for the client has old Logical system name.
    Ex:
    Client 500
    Logical System : <PRD>CLNT500
    I need this to be change to <QAS>CLNT500 after BDLS,but it is not happening after BDLs.
    Regards,
    Srinivas Chapa.

  • BDLS : Table T000 was not relevant for conversion

    Hello,
    After a system refresh ( homogeneous system copy in ECC6), we performed the post copy procedure.
    I ran the BDLS transaction, all the tables were converted fine, exept the table 000.
    I still have in transaction SCC4 the former logical systeank you in dam defined.
    I checked the BDLS job log and found the message :
    "Table T000 was not relevant for conversion"
    I don't underdtand why ? Is it the normal behaviour ?
    Table T000 is not excluded in BDLSC ...
    Thank you in advance for your help.
    Best Regards.

    I just found out that I launched the BDLS from the client 000.

  • Batch fetch optimization for lazy collections

    Hi,
    I feel like this question must have been asked by somebody already but couldn't find any answers in the forum.
    We're trying to evaluate migrating from Hibernate to KODO JDO. One feature we use extensively from Hibernate is the "batch fetch optimization for lazy collections".
    For instance, there's a class User with collection "Set<String> permissions". In the DB, there're tables USER(id, name, etc) and USER_PERMISSIONS(user_id, permission) with one-to-many relationship b/w them.
    Suppose the code is the following:
    query = ....;
    List<User> users = (List<User>) query.execute();
    for (User user : users) {
    println("User: " + user.getName());
    println("Permissions: " + user.getPermissions());
    I've setup EagerFetchMode to parallel. For field "permissions" I had to specify default-fetch-group="true" b/c I wanted this to happen lazily. When I look through the logs, I see that permissions SQL query is executed for each user.
    With Hibernate we were to setup mapping the way that permissions are not fetched at first, but when they are requested for the first user (user.getPermissions()) they are automatically selected for several users in one query using SQL IN clause (similar to the parallel mode).
    Is this possible to recreate the same in KODO JDO? (JPA?) If it is, this would greatly simplify migration. Please notice, that we can't use explicit fetch groups for this, b/c we don't know ahead which collection can be navigated (in the real life User class have many relationships).
    thanks in advance,
    Dimitry

    Kodo doesn't have a direct analog for that behavior. The typical way to solve that problem is to keep the field out of the default fetch group, and then explicitly include the desired field in the current fetch group at runtime. In pure JDO, you can do this by creating a separate fetch group that includes the relationship field, and designating that the query should use that fetch group:
    <pre>
    query = ...;
    query.getFetchPlan().addGroup("relationshipGroup");
    List<User> users = (List<User>) query.execute();
    </pre>
    Kodo has JDO extensions that allow you to do this a bit more easily:
    <pre>
    query = ...;
    ((kodo.jdo.KodoFetchPlan) query.getFetchPlan()).addField("com.example.User.permissions");
    List<User> users = (List<User>) query.execute();
    </pre>
    Finally, you can do this with Kodo's JPA extensions like so:
    <pre>
    import org.apache.openjpa.persistence.OpenJPAQuery;
    query = (OpenJPAQuery) ...;
    query.getFetchPlan().addField("com.example.User.permissions");
    List<User> users = (List<User>) query.getResultList();
    </pre>
    Note that in all cases, you could also make this change to the current PersistenceManager / EntityManager's fetch plan instead, to make the change happen for the duration of the use of that manager. In that environment, the change would need to happen before the query was created.
    (And no, I have no idea why the edit box has a 'pre' button but does not seem to do anything with the resulting tags.)
    -Patrick

  • This accessory is not optimize for this iphone

    This accessory is not optimize for this iphone.  This massage keep pooping up every now and then in my new Iphone4.  Can anybody tell me how to fix it?  I googled in yahoo. They suggested me using cydia after jailbreaking.  I do not wan to jailbreak my I phone. So can anybody help?  It's really a nuisance.

    thanks for the fast reply wjosten, i tried that. even I restored my iphone twice.  but toi no avail.  Is there anything else that I can do to stop that massage from pooping up?  Maybe, like turning off something in accordance to the massage?  This things really bothered me especially when watching utube on Iphone.  i bought this less than a week?

  • I receive an error message when submitting a pdf file for conversion to a Word document "... an unex

    I receive an error message when submitting a pdf file for conversion to a Word document "... an unexpected error has occurred..."   - is there a way to overcome this error?

    I received your Scan.pdf sent to [email protected] and had no problem to convert it via Export PDF service. Could you try again?
    Jyh-Jiun Liou

  • Should I Optimize for "Memory" or "Performance" in Preferences?

    I've been rendering the timeline prior to export and finding that it renders in just over an hour for a 30 minute project. Then, almost miraculously, the MPEG2-DVD export only takes about two hours or so. This is with "Maximum Render Quality" selected in the Sequence Settings. When this option is selected, a pop-up warns that it is "highly recommended" to set "Optimize for Memory" in Preferences>General. I did this, and my timeline render increased exponentially (I estimate triple, since I stopped it after it ran for 1/2 an hour and it said there was still about two hours to go. So I am prefering the "Performance" setting for rendering the timeline.
    But export may be a different matter. I'd rather not experiment with this if I don't have to, so I'm asking if anyone knows if the Preferences>General should be set to "Optimize for Memory" for export since that may be different than rendering the timeline for some important reasons.
    This question is really about time and quality in the final MPEG2-DVD. Are either affected, one way or the other, by the various options for settings in both the timeline render and the export encode? In the past, I've always used Max Render Quality with Optimize set for Performance and never had any issues. This latest discovery of reducing my export time (maybe in the range of 80%+) by rendering the timeline first is tempting to continue since the final MPEG2-DVD quality appears identical to exporting without first rendering the timeline. I did do a test today exporting without rendering the timeline first (after deleting all the preview files) and that export took 4-1/4 hours, a net loss of about an hour.
    Thanks, everyone.
    Update on statement in paragraph one. Since writing this, I exported after deleting the preview files and using Optimize for Memory in Preferences>General. Total export time was 4:15.

    When it comes to exporting, what type of encoding you use greatly effects how much time it takes to render the file. For example i recently tried to export a 12 minute file. It takes me about 45 minutes in an AVI format but it takes over 8 hours in FLV format. (FLV is a poor example but none the less point can be made from this).
    When it comes to optimizing for memory vs performance....It all depends on what you have available on your computer. If your memory is un the range of say 2-4 GB and you're using a windows 7 or vista OS, it's probably in your best interest to optimize for memory. This allows a machine with less memory to render much smoother than it would if it were trying to render based off of a performance based setting.
    Sometimes what happens as a result of the performance setting is the program tries to render the video much quicker than what the memory your computer can allocate can tolerate. Try it out, it might help with some of the "skipping over frame" errors.
    Cheers,
    -MBTV

Maybe you are looking for

  • Report Designer Issue

    Hi, I'm executing my query in report desiner but as per the requirement i need to delete some of the columns in the report designer of the selected query. when i'm selecting the column and click on delete colum it is not deleting the column. Please a

  • Table for Purchase Requisition Item Text

    I would like to know, what is the table which stores the item text in tab texts for Purchase Requisition?

  • Lion boot screen won't load?

    I recently upgraded to Lion OS X on my iMac 27 and it seemed ok for a day or 2 then last night I shut it down and this morning it wouldn't boot. It goes as far as the mac logo on a white screen and a spinning circle and then goes off to a white scree

  • Byproduct in PP module.

    Hai,          How to Handle Byproduct in PP Module? Right from Master Data to Settlement of Byproduct.          Do we need to maintain indicator for Byproduct? Regards, Mohanraju

  • House Cleaning - Combining Three Existing Libraries Into One

    We have one existing iTunes account on our personal computer (Windows XP) and want to keep it that way but we want to do some housecleaning to maximize our iTunes/iPod experiences. XP allows us to have three different users (myself, my wife and our s