Multiline string color property is too slow, why is console so much quicker?

I have a *vi that I am trying to use to format a multi-line string indicator with colors.  The idea is that the data represents network traffic and must be formatted as shown in columns.  I realize that there is an upper limit on the horizontal size of the string control of around 2000 characters.  The standard console can be 9999 character wide.  Second issue is that when I use a property node the iterations take forever to process since I am not able to concurrently apply the formatting to the string as I right them to the string window.  I realize that I am using white space as filler and that this is causing a delay but in general this is taking way too long to format.  Is there anyway to speed this up and go more than 2000 characters wide?  If not is there a simple way to invoke the windows console in Labview and use the format parameter show in the attached *.cpp file?
I have attached the vi along with a sample Dev C++ project showing how fast the console is in comparison when apply colors to large amounts of text data. 
Solved!
Go to Solution.
Attachments:
main3.cpp ‏1 KB
Trial_071030.vi ‏236 KB

Ouch! This looks like a literal translation of text code whcih is not al all optimized for dataflow. All these local variables cause extra data copies. Your code constantly needs to switch to the UI thread.
Two ideas:
Defer panel updates while doing all the coloring.
Use shift registers instead of local variables.
Why is your 3D picture set to scale with the panel? How big is your monitor?
Message Edited by altenbach on 10-30-2007 08:23 AM
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • Why is Motion so much quicker than FCP doing Steady Cam?

    Being a helicopter operator I keep doing projects that require steady cam.
    I used to use Shake, then Motion, and now FCP with the additon of steadycam but I am wondering why Motion is so much quicker than FCP with the same clip.
    Maybe a dumb question but one I need to ask.

    running the same filter in both fcp and motion, motion always renders faster.
    This is because motion renders and draws all frames directly on your graphics card. FCP now uses the GPU for many effects but has to read back from your card to main memory.
    Unless Apple does a total rewrite of FCP this is unlikely to change, guess you either have to keep swapping apps or put up with longer renders in FCP.
    Roger
    CoreMelt

  • JarURLConnection too slow, why?

    Hi,
    I'm trying to get some data from a zip file on a local web server. So
    i'm using a JarURLConnection object to access to it, however this
    objects takes alot to get the file, why?
    My code is like this:
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import java.util.jar.*;
    import java.util.zip.*;
    public class Download
         public static void main(String[] args) throws Exception
    // Create a URL that refers to a jar file on the net
         // zip file size is 11Mb
    URL url = new URL("jar:http://megavit:8080/restaurants.zip!/");
    // Get the jar file
    JarURLConnection conn = (JarURLConnection)url.openConnection();
         // using a common browser it takes a few seconds to download,
         // however with jrockit it takes several minutes
         // using SUN's jdk it takes a few seconds too...
    JarFile jarfile = conn.getJarFile();
    Enumeration e = jarfile.entries();
    while(e.hasMoreElements())
         ZipEntry ze = (ZipEntry) e.nextElement();
         if(ze.isDirectory())
              System.out.println(ze.getName());
    Any help would be appreciated,
    Thanks.
    Paulo

    Cecilia Borg wrote:
    Paulo,
    Could you describe more about the circumstances around your test? I have set
    up the test with a 25MB jar file and cannot see a difference between JRockit
    and Hotspot. Which JRockit version do you use and are us specifying any
    additional options to the jvm?
    Kind regards, Cecilia Borg
    BEA WebLogic JRockit
    My test is download a local file from localhost's webserver (win32
    apache2 on por 8080). I used a network sniffer and i can see the 3-way
    handshake from both sockets (java's and apache) and large delay (about 5
    minutes) and then the transfer starts and is quite fast.
    The problem is that it takes 5 minutes doing nothing... quite weird...
    Paulo.

  • Read Encoder Position is too slow, why?

    I am controlling a telescope using close-loop servo mode of 7342. What I want is to use get current position of my motor using encoder and since the position value is critical to my telescope motion system I need a fast read back of that value. However, the action is very slow, about 20ms a cycle. Is there any specification on the speed of this function? Is there any solution to speed it up? Are there any new products which is faster than this card?

    The NI-735x family of motion controllers allows you to read the position much faster. The position is read from a shared register that the motion board updates. Since it is a register read, the host takes very little time to get the position information.
    The NI-733x/4x families of motion controllers do send a command to the motion board that the motion board has to process and then return the data. Typically this should only take a few milliseconds or less for a read. But it is dependent on what else the motion board is doing. Things that can effect the time it takes to respond to a host request are number of axes used in arc moves, and short bursts of multiple commands sent to the board. The board has a FIFO that is 16 commands deep. If you send down multiple commands followed by a read position, each command in front of the read command has to be processed first. Which could explain why you are seeing a 20 ms read.
    In NI-Motion 6.1.x we have changed the driver software to help load balance the host request with the rest of the processes running on the board. In most cases this helps performance.
    What version of our driver software are you using? How fast do you really need to get the position information?
    Thanks,
    Rodger S.

  • Download of Mountain Lion too slow - why?

    I have just bought Mountain Lion from the App Store and for some reason it is taking a very long time to download to my Macbook Pro 10.6.8. It has been more than an hour an it is still at less than approx 1/4 of the way! How long does it usually take? my internet connection is fast and working just fine.
    I need to leave to work in a couple of hours max and take my computer with me and i am afraid it will not be finished by then and I'll have to interrupt the download, is this possible? can I re-start it when i get to work and have an internet connection?
    Pls help!!!!

    Thanks mackack,
    My hard drive crashed on me and I got APPLE to replace it (2T) . I decided since Mountain Lion was available, why not? I moved from Snow Lep.  My IMAC is mid 2010. Reinstalling my programs has been a chore but the only real problem so far is missing serial numbers for my roxio toast pro add ons. Where did I put those??? Anyway, I am just noticing as are others in my family, that this is really slowed things down a lot. And there is the nusence of having to put in passwords and permission requests because half the world is blocked by Mountain Lion for some reason. Hopefully apple works to make this better instead of me having to junk it to go back to snow lep.
    I've been struggling for a year trying to appreciate my imac more than my PC. and so far, I keep turning to my PC in crunch time. I do a lot of music production and I was expecting more. I have apple logic, but find adobe audition 1.5 more functional on my old PC.... go figure.

  • The write operation is too slow, why?

    Hi,all
    I have two DS, the version is 5.2_patch_6, and I have enabled the MMR. I find one of the two DS is response slow when I do write operations, as follows:
    [05/Mar/2009:11:38:57 +0800] conn=38445 op=24167 msgId=707927 - MOD dn="uid=shzadmin,ou=People,o=xxxxx" authzid="dn:uid=amAdm
    in,ou=People,o=xxxxx"
    [05/Mar/2009:11:39:35 +0800] conn=38445 op=24167 msgId=707927 - RESULT err=0 tag=103 nentries=0 etime=38 csn=49af4f38000000010000
    [05/Mar/2009:14:01:59 +0800] conn=38445 op=24393 msgId=710798 - ADD dn="uid=lhttestadmin,ou=People,o=xxxxx" authzid="dn:uid=amAdmin,ou=People,o=xxxxx"
    [05/Mar/2009:14:02:37 +0800] conn=38445 op=24393 msgId=710798 - RESULT err=0 tag=105 nentries=0 etime=38 csn=49af70be000000010000
    [05/Mar/2009:14:09:24 +0800] conn=38445 op=24471 msgId=711018 - DEL dn="uid=lhttestadmin,ou=People,o=xxxxx" authzid="dn:uid=amAdmin,ou=People,o=xxxxx"
    [05/Mar/2009:14:09:36 +0800] conn=38445 op=24471 msgId=711018 - RESULT err=0 tag=107 nentries=0 etime=12 csn=49af727b000000010000
    I don't know why. And more, I find the slow DS's error log have warning log as follows:
    [26/Feb/2009:18:08:35 +0800] - WARNING<10307> - Replication - conn=-1 op=-1 msgId=-1 - Configuration warning Tombstone purging int
    ernal search is unindexed in replica o=xxxxx
    Does the warning result the slow? Anybody can help?
    Thanks in advance!
    Shen
    Edited by: shenhongzhou on Mar 5, 2009 12:09 AM

    [26/Feb/2009:18:08:35 +0800] - WARNING<10307> - Replication - conn=-1 op=-1 msgId=-1 - Configuration warning Tombstone purging internal search is unindexed in replica o=xxxxx
    This is a known problem (bug 6175472) and the fix is already available in 5.2p6. Look for the script called <serverroot>/bin/slapd/admin/bin/ActivateFix6175472. Run it as:
    # <server root>/bin/slapd/admin/bin/ActivateFix6175472 <server-root>/slapd-whatever
    This will shutdown the instance, modify dse.ldif, define and create a vlv index (for the tombstone entries) and start the instance back up. Beware that if any of your entries have the objectclass definition in mixed case (objectClass etc), the script might not work as expected.
    Easiest way to check is:
    # cd <server-root>/slapd-whatever/config
    # grep -i objectclass dse.ldif | grep -v objectclass
    If nothing is returned, then you're all set to run the script. If not, you'll have to contact Sun Support (quoting bug 6692944) for a fix to the script that handles entries in a case insensitive manner.

  • Download file from portal is too slow,why?

    Hi all:
    I created a hyperlink to download file on the portal and the file is in the portal. The file is dowloaded slowly by 1K~2K, but I used FTP to dowload the file by 300K ,Why? how to solve it?
    please help!!!! THANKS!!!!

    Hi Namrata,
    You need to define the table field type as binary and develop and RFC with one i/p parameter of binary type.
    UPload:
    From front end you can browse and upload the file using file upload ui element then send the binary file to the RFC input.
    Download:
    Get the binary format file from rfc by passing ID as parameter and download it using IWDCachedWebResource.
    Regards
    Deepak

  • AWM 11g too slow, why?

    Hello,
    I installed the Oracle client on a client machine (Windows). I work on AWM11g with the patch ID # 6368282.
    On the server side (linux), there is Oracle Database 11g Enterprise Edition with the patch ID # 6459753.
    In my OLTP system I created, to test, 2 tables (radar and city) and a table in the middle with each of these 90 recordings.
    My problem is:
    When I created my dimension, mapping, etc.. and that I update my cube that it take within a few seconds but when I want to see the cube, AWM is blocked for several hours and on the server side it work very hard.
    I do not understand why it take so long with so few records.
    Someone can explain it to me?
    Thanks in advance

    There is not enough information here to determine what is happening. I am not sure what you mean when you state
    "I update my cube that it take within a few seconds but when I want to see the cube, AWM is blocked"
    If you run the load from AWM, once the cube has updated and completed, a window will pop-up showing the log for the data load. If this window does not appear then the load is still running. If you submit the job to the job queue, you will need to exit from AWM to allow the job to complete. If you remain attached to the AW this will block the job from running since AWM attaches the AW in read-write mode but the refresh job needs read-write exclusive access.
    The other option is your dimensions have circular references within the parentage and the aggregations within your dimensions are looping endlessly. Did you assign surrogate key usage to your dimension members?
    Keith Laker
    Oracle Data Warehouse Product Management
    OLAP Blog: http://oracleOLAP.blogspot.com/
    OLAP Wiki: http://wiki.oracle.com/page/Oracle+OLAP+Option
    DM Blog: http://oracledmt.blogspot.com/
    OWB Blog : http://blogs.oracle.com/warehousebuilder/
    OWB Wiki : http://wiki.oracle.com/page/Oracle+Warehouse+Builder
    DW on OTN : http://www.oracle.com/technology/products/bi/db/11g/index.html

  • Socket read write on Solaris 8 too slow.

    Hi
    We have an application which consists of several server instances.
    The front-end is web-based , using JSP/Servlets. We are using Tomcat 4.0.
    The servlet makes several connections to the underlying servers. But the read/write operation is too slow. Same setup runs much quicker on Windows.
    We are running jdk1.4.1_02 (stable ?). Would much appreciate any help.
    cheers
    Projyal

    tomcat version --3.2.3
    j2sdk version----1.4
    plarform---------solaris
    solaris version--8
    using the aboue configuration i need to deploy JSP codes on the solaris platfrom..can any technical expert guide me on how to do this..would be grateful if anyone could suggest a good site where i can download free tuorials of "JSP" for development in HTML files format or HELP format]
    thank you
    regards
    brijesh

  • DVD-Drive is too slow on Satellite A100-507

    the dvd-drive mat****a dvd-ram uj-841s of my satelite a100-507 is too slow. (~1000 Kb/s - much too slow to watch a movie - and it dosn't depend on the player.)
    the technical specifications of the manufacturer is 8x read + write for DVDs, even i can write DVDs up to 2.4x
    is this a software problem? (i'm using Windows XP)

    Hi
    Are you not able to watch DVD on your notebook or what is the problem?
    I have investigated a little bit and found some drive specifications:
    Maximum read speed:
    CD-ROM 24xMax
    DVD-ROM 8xMax
    Maximum write speed:
    CD-R 24xMax
    CD-RW 4xMax
    HS CD-RW 10xMax
    US CD-RW 10xMax
    US+ CD-RW N/A
    DVD-R 8xMax
    DVD-R(Double Layer) 2xMax
    DVD-RW 4xMax
    DVD+R 8xMax
    DVD+R(Double Layer) 2.4xMax
    DVD+RW 4xMax
    DVD-RAM 5xMax
    So you info about 8x read + write for DVDs is not exactly true. It depends on the DVD medium.
    Additionally its important to mention that these are the max values.
    Sometimes the drive reads or writes with lower speed. It depends on a cache status.

  • My Dual 1.8 G5 too slow on color performances

    I send my FCP project to color but unfortunately my dual 1.8 with 3.5 ram, nvidia 6600 open gl won't perform at its best. I know for color application XT1900 is recommended but please the base recommended specs showed that i did have the baseline requirements.
    Any idea how to get my dual 1.8 go a little bit faster. adding more ram or what? Tried to put color FX into 20 secs clip takes 30 to 1 mins. Wow its way too slow though. Try to play the clip also takes more secs to mins to runs. I'm wondering why this happen and it should can go just a bit faster. Any help/advice much appreciated

    Oh ya i knew it. I owned this PMG5 since it first released and planning to buy the best and good one but not affordable. I love this machine but future technology is highly in demand. I just updated the graphic card from its original to the latest i have and pretty much can go to started the color app but way to far to execute a full project. Eager to buy the Mac Pro but have wait though. huh huh!
    Runs benchmark for nvidia GeFOrce 6600 and scored at 5326 - 400FPS. Not that i know, just did some test and open few applications simultoneously with color but got frustrated because its hang for a mins to runs on every apps.
    Thank you for your opinion and obviously my machine is going to obsolete in the near future. It can go for small graphic applications and final cut pro but FCP seems to slow either, render clips for 1 - 2 mins with transitions and fx would go for 30 mins to 40 mins. Harghhhh! i must get the new one!

  • Why is the same wirelles connection too slow for an iphone4 when it is quite fast to an iphone5?

    Why is the same wirelles connection too slow for an iphone4 when it is quite fast to an iphone5?

    You really have a question for iPhone support here, so I suggest that you post in the appropriate support area:
    Using iPhone
    The experts over there will likely suggest that you use the Apple Troubleshooting Guide for iOS devices, so you might want to work your way through that before you post in the iPhone support area.
    http://support.apple.com/kb/TS1398

  • Why my Mac Pro 2009 became too slow after updated Yosemite?

    Why my Mac Pro 2009 became too slow after updated Yosemite?

    When the slowness is especially bad, note the exact time: hour, minute, second.  
    These instructions must be carried out as an administrator. If you have only one user account, you are the administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen.
    Each message in the log begins with the date and time when it was entered. Scroll back to the time you noted above.
    Select the messages entered from then until the end of the episode, or until they start to repeat, whichever comes first.
    Copy the messages to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of it useless for solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Why my Mac Pro hard drive noise and too slow?

    Why my Mac Pro hard drive noise and too slow? Totally 8 gb speed system but now very slow . Please give some suggestions

    Another thing you can do in Lion (and ML) is click on the "Info" button in Disk Utility to get the SMART status of the drive.It's more detailed now than it used to be and it might tell you if something is wrong.
    A lot can go wrong with a hard drive which is why I tend to point people to the downloads section of the following web site:
    http://scsc-online.com
    They have a free hard drive troublleshooting download book there. I reccommend people download that before asking questionis because there are tons of problems that can act like hard drive problems when there's nothing wrong with the system at all. For example, how full is the drive? How many applications are running? What's the status of Spotlight indexing? How many apps are you running? How much memory do you have?
    I could probably think up 20 or 30 more if needed.

  • Why imovie too slow download on youtube ?

    why imovie too slow send download to youtube

    Bumping this topic again as it's still sort of bugging me, but the problem has been isolated to a few certain sites. On some i get the maximum speed and on others i get snailspeed. One of the slow ones unfortunately is basically anything that has to do with Apple....So all Quicktime movie trailers, iTunes stuff, movies etc are slow, except podcasts that are German. I'm downloading the 30 day trial of iWork and i'm getting whopping 19,2KB/s, when i should be getting about 1300KB/s. You can just imagine the frustration:/
    I'm just wondering am i alone on this or is anybody else excperienceing similar? And as usual, on windows i'm getting full speed all the time, anywhere, grrrr....!
    -CC

Maybe you are looking for

  • A problem with importing layered PSD file into Flash

    Hi. There's a problem with importing layered PSD file into Flash. If I import a layered PSD file, some part the color of the lower layer is shown at the edge of objects or shadows. Instead, if I crop each layers first and import them, there's no prob

  • Get YYYY-MM-DD from date

    How do I get only the YYYY-MM-DD part of a date column? For example I only want to get the '2007-01-01' out of '2007-01-01 9:12:12' what function can I use?

  • IDOC TO JDBC Erroe Handling

    Hi, All we have to send ZIDOC To ORACLE system. SAP->XI->JDBC(Asy)scenario. Here how we can handle if it is 1. Network failure(System Errors) 2. Business Errors There is no BPM we decided: IDOC data will insert into ORACLE sys uing value mapping (whi

  • Relink failed when migrating EBS from Solaris to Linux

    Hi, I am migrating EBS 12.1.1 instance from Solaris 10 to Red Hat Enterprise Linux Server release 5.5. Oracle version 11.1.0.7.0. And binutils version is : $ rpm -qa | grep binutils binutils-2.17.50.0.6-14.el5 Using note when doing step 8 of 438086.1

  • BI Beans application deploy to Weblogic Server Error

    Who can help me to resolve this error? I follow the "Deploying Applications to BEA WebLogic ServerVersion 9.0.3" document from OTN web site, but i use the BEA weblogic server 6.1,not weblogic server 7.0. When i deploy the BI Beans application to BEA