Are there ways to speed up cwgraph3d plotting?

Hi,
I have a loop that updates the plot every time with new line data. If say for example, I am plotting an array of size 128 x 128, then initially the array is empty(0's) then the first line gets data and I plot the array, then the next loop I have a new line of data (2 total lines of data) which I plot, then 3 and so on. When I do this loop using an array of 1024 x 1024 I notice a considerable slowdown which I need to get rid of in my application. Is there some way to display one line of the array, and then just update the graph with the new line for each line so that the cwgraph3d doesn't have to plot the whole giant array each time. I'm assuming that this would speed things up.
Or is there some way (maybe with dll'
s) to speed up the plotting process.
Thanks in advance.
Kevin

Kevin,
Ploting 1Meg of points can take some time, the first thing to try is to set the 3D acceleration option. In the general properties of the graph there is checkbox to enable this; this will make the 3D graph use the HW 3D capabilities of you video card. In my couputer make a noticable difference. Besides from this there are a couple of advices that I can suggest:
1.-Insted of using zeros for the points that are not drawn, you can use a "Not a Number" (NaN) value. that way the 3D graph will not plot anything for the empty points. Here is some C code yo generate a NaN constant, you can replicate this in VB and have the graph plot just what is needed.
double xTemp=0.0;
xTemp/=xTemp;
z[10][10] = xTemp;
2.- diide your data in mult
iple plots. Instead of having one single plot with all the data, you can create 8 plots of 128 lines each to hold the data. That way you only redraw 1 plot when adding a line.
There is also the option of decimating the array to get a lower number of points with a lower resolution, then you have some sort of zoom option that draws a smaller data set with full resolution.
I hope this helps.
Regards,
Juan Carlos
N.I.

Similar Messages

  • I just changed over from Safari, and Firefox is incredibly slow! Are there ways to fix this?

    It's taking 30 to 60 seconds for Firefox to open any page. I just changed over from Safari, and this is about 10 times slower than Safari. Are there ways to speed up opening pages? I can't keep Firefox as my browser if it continues to be this slow. I have a Mac Mini, with Mac OS X as my operating system.

    You can try to disable IPv6.
    See http://kb.mozillazine.org/Error_loading_websites#IPv6

  • HT4927 Are there ways to only upload certain photos from my iphoto backup? It is really big and I don't want all the photos on my new computer.

    Are there ways to only upload certain photos from my iphoto backup? It is really big and I don't want all the photos on my new computer.

    There is a way to find and recover individual photos from a Time Machine backup. 
    1 - dowload and launch  Find Any File.
    2 - select the Time Machine hard drive in FAF's Find Items menu.
    3 - enter the full file name of the photo you want to recover into FAF and use the Find button.
    NOTE: it will take a while for FAF to retrieve and display the results of the search due to the nature of how TM makes its backups. 30 seconds or so is normal.
    4 - select the file in the Masters folder and use the Space bar to verify it's the one you want with Quickview.
    5 - drag the file from the FAF window to your Desktop.
    6 - repeat for each photo you need to restore.
    OT

  • Are there ways to stream audio or does everything have to be under 10 MB?

    As a DJ with lots of long audio mixes (anywhere from 50 to 80 minutes), I'd like to post on my site using iWeb, anything over three minutes needs to be condensed down via iMovie (according to the iWeb program) .... but even if I choose "email" in the export step of iMovie, I can't get my long audio files anywhere close to 10 MB!
    Am I gonna be stuck with crappy audio quality? Are there other ways to get audio on there or other other ways to compress large files? Or can I just keep the files huge with great quality and hope people can listen to them?
    Also, will people be able to control click on them to save them to their desktops? Or can they just "listen" to them on my site?
    Oh - OR ......... when they're podcasts, are they transferred from somewhere else as long as I submit them to iTunes?? Would that keep the quality good as well as minimizing any bandwidth it takes to download them? Am I answering my own question here????

    i've seen comments about this. try searching "streaming" in this forum.

  • Are there ways to interface OBIEE with customer application?

    Our OBIEE version is 10.3.4 on Redhat, OBIEE connect to a Oracle 11.2.0.2 database running on the same box of Redhat as OBIEE. Our application is java based web application using Tomcat, it point to OLTP database of Oracle 11.2.0.2 on an dedicated Redhat server.
    One of the original requirements for the application was to process OLTP data with complecated logic and create reports in text files. Now the customer wants to use OBI to display, print and distribute the reports. The best way to meet this requirement change at the late stage of development appear to be interfacing the application with OBIEE, if possible at all. That way, on clicking a button in the application GUI, a stream of formated data is sent to OBI pressentation service as a response to a request. An OBI client page will then be displayed to shpw the reports, and allow user to print and distribute.
    Now are there some OBI APIs allowing an application to call to interface with OBIEE?
    Thanks.

    Hi,
    I do not gave further experience with this subject, but I guess this is what you are looking for;
    http://download.oracle.com/docs/cd/E12096_01/books/AnyWebServ/AnyWebServ_Overview3.html
    You will probably have to do some further research.
    Maybe Venkat could be of any help.
    http://oraclebizint.wordpress.com/2007/07/31/customizing-obi-ee-soap-api/
    Good Luck,
    Daan Bakboord
    http://obibb.wordpress.com

  • My iPhone 5c was stolen. I am using Find my iPhone to track it but it has said offline for 2 days now. Can I expect it to eventually show up on find my iPhone when the phone is turned back on, or are there ways for thieves to get around this?

    I had my iPhone 5c stolen this Tuesday afternoon while I was at the beach. Immediately after I noticed it missing I called the phone and it was off. I called the phone continuously later that night but it remained off. I did not use the Find my iPhone app until the following morning, however.
    The phone has said offline for 2 days now. I'm wondering...is it reasonable to assume that eventually the phone will get turned back on and I will get a location? Or do thieves have ways around this? I do have a passcode on my phone. Once the phone is turned on to the locked screen, is it connected to the internet?
    I filed a police report but the police seem to be pretty disinterested in helping me recover my phone. I literally got this thing on Monday and had it stolen Tuesday the next day. I was so excited about my new phone so I realize now I was texting like a little girl out there and probably was an easy target. Never bringing anything of value to the beach again, thats for sure.

    i m also put passcode in my iphone...but i dont know that how i know that my passcode is crack by someone???and same as police is not interested to find out it..
    i want ma iphone backkk...........

  • Are there ways to download older versions of Apps from App Store?

    I own three iPads, and finally thought I would upgrade my original iPAD1 to the latest 5.1.1,   Imagine my surprise when many of my apps could not be restored, as only ios6 versions show on the store!!###@!%$ 
    Also backed up the iPAD twice,  one on my MBP and once on Windows,  and the upgraded from latest itunes on windows.   Although everything worked for 5.1.1., it is basically useless as many of my key apps now say they need IOS6 and of course ios6 is not supported on an Ipad1.   Have not connected it to the MacBook Pro as that is my last good backup as the windows itunes backed up again and resynced after the 5.1.1 upgrade.
    Right now I would be happy to restore my original iOS, so at least my working apps could come back, if the "Full Backup" inludes Apps and IOS version.  I still want use this tablet for remote TV control,  home automation,  and of course over a thousand books in Stanza that just disappeared .  
    Is there a way to restore from one of my backups to get back to where I was?
    Wondering if it is time to sell my Apple Stock?     Effectively bricked many of my working apps with no clear way to get them back.
    Highlights a real problem with the App Store model, built in obselence for an expensive device.

    If you had followed the recommended steps of transferring purchases into iTumes, backing up the iPad, downloading and installing the update, restoring from the backup and then syncing with iTunes, the older versions of the apps should have transferred into your iTunes library and should have been transferred back to the iPad as the very last step in the updating process.
    Did you try updating apps after you updated the iOS?

  • I accidentally deleted QuickTimeX. Are there ways to get it back?

    As mentioned above, I accidentally deleted QTX. I tried looking for it in the installation DVDs (SnowLeopard) but I only found QuickTime7.
    At the moment I have QT7 installed on my Mac. How could I get QTX back?

    Can I still take into consideration re-installing the entire OS?
    You can, but extracting just the QT Player app would be faster.
    I tried using Pacifist to extract the QT X Player but I can't find it.
    When the Pacifist list of extract items is displayed, check the following path...
    Contents of OSInstall.mkpg
       Contents of EssentialsSystemSoftware
          Contents of EssentialSystemsSoftwareGroup
             Contents of Essentials.pkg
                Applications
                   QuickTime Player.app
    I just performed a test extraction from my original Snow Leopard upgrade installer disc and had no problems using this path.

  • Are there ways to fix a lost connection to wi-fi via macbook air?

    I have a Macbook Air with Mac OS X Version 10.7.3.  I am unable to connect to my home wi-fi using airport despite being able to utilize the wi-fi with other devices including my iPad.  Any suggestions for how I can resolve this? 

    Morning steph269,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at this article:
    AirPort Quick Assist
    http://support.apple.com/kb/HT1145
    For troubleshooting on this, take a look at this article:
    Troubleshooting Wi-Fi issues in OS X Lion and Mac OS X v10.6
    http://support.apple.com/kb/HT4628
    Hope this helps,
    Mario

  • Is there a way to speed up recording times?

    I've been reading on here for a couple of days and the amount of information has been very informative. I apologize if my question is ignorant or has been posted here before but I am planning on starting a local VHS to DVD conversion store. At the moment I am converting my relatives videos to get the feel for the editing and amount of time.
    -I am currently running a Mac
    -Have a basic VHS player
    -Use Encore for editing and DVD Menus
    -Have a ADVC 110 for my transformation
    I have been able to do everything but my biggest concern is time. Currently I am recording around 8 hours of VHS and it takes around 10 hours to record all of this to my Mac. After that I have to send this stuff to Encore for the other DVD conversions (DVD menus, etc.) which alas takes more time.
    My main question is: What would be a good plan to service more than one client without it taking a couple of days? I want to be able to do this professionally and to do this for many customers. Right now it looks like I can only do a couple a week. I also want to do the best quality of work for clients.
    My only idea right now is to purchase DVD recorders and VCR's. I've thought about pulling a James Bond and try to find a local place to see what they do.
    It seems like everything else time is the biggest factor. I appreciate any insight/feedback or any reading materials that can help educate me on my options. Once again I apologize if this question is too vague or ignorant.

    I have your set up and there is no way to speed up what you are doing. Its real time conversion. I did also bring my older stuff to a service bureau. There set up filled an entire room! With many thousands of dollars worth of equipment. Yet, I still think its real time conversion. ie minute for minute. You might want to check out a professional set up. You will also not want to use imovie for professional DVD burning of DV material.

  • Is there a way to speed up Get-QADUser or Get-ADUser?

    Hello,  I was wondering if there was a way to speed the commands up to query faster?  My one-liner looks like:
    Get-ADUser -SearchBase "OU=People,DC=Domain,DC=Company,DC=Net" -Filter {Title -eq "Job Title"} -ResultSetSize $null -Properties * | Select SamAccountName, DisplayName, Manager
    Are we able to somehow omit property fields that it looks up?  Would that help?
    I've tried looking through Google and couple of forums, but could not find the answer.
    I have used a tool called "ADFind" and was able to get the results in less than 5 minutes, but Powershell seems to take WAYY longer to do this.
    Thank you!

    Hi,
    Yes, drop the wildcard from Properties and only request the properties that you're interested in.
    Out of curiosity, how many users are returned by this query?
    Don't retire TechNet! -
    (Don't give up yet - 12,700+ strong and growing)

  • Is there a way to speed up a UDP connection?

    Hello All
    I receive a UDP packets over a network generated on full speed by another (C#) application.
    Even with the "UDP read" placed alone in the while loop in a vi running in separated thread and with highest priority, it happens that "UDP read" does not read on time all packets.
    I was wondering if there is some way to speed up the UDP readings, without changing my PC (1.5GHz, W2k, Dell-dimention).
    I tried to use .NET sockets, and UDPClient (also from System.Net.Sockets) but it turned out that they are much slower than native LabVIEW "UDP read" function.
    Does anybody have a nice trick to speed up the UDP reading?
    Thanks a lot in advance.
    cheers
    Pawel

    UDP does not guarantee delivery of packets. You are demanding something that is beyond the capabilities of UDP and not in the spirit of its intended use.
    How do you know if LabVIEW is really the problem. If you generate packets at full speed, you might saturate all kind of other bottlenecks (e.g. in switches and routers), especially if there is other traffic.
    What is your packet rate? How big are the packets? If the packets are very small, your routers might be maxed out way below the theoretical wire speed limit.
    I have an application that receives UDP packets, but the rates are probably lower than yours (up to ~2000 packets/s) and I have never lost a packet (I would know because the packets are serially numbered). I use a tight loop containing only the UDP read (with infinite timeout) and a FIFO buffer inplemented as a subVI with uninitialized shift registers.
    What is your system CPU load when receiving? I was running into some receiving bottlenecks on very slow systems ('486, Pentium I). How clean is your system? Make sure to disable all other network use (AV updates, Windows updates, spyware, P2P applications, etc).
    LabVIEW Champion . Do more with less code and in less time .

  • Is there a way to speed up data deletion ?

    i am purging data from  MEREP_10700 and MEREP_108 using MEREP_RDB_T01_RESET tool in the middleware
    Note that this is running **very** slowly at the moment (~100,000 records per hour, will take days to complete).  Is there a way to speed it up?
    Thanks & Regards
    Prashant Gupta

    There is no other easy way to achieve this (unless you write your own program to do so). But if you are looking for cleaning the entire table, you can use the  FM "DD_DATABASE_UTILITY" to delete the entire table..
    Regards
    Ajith

  • Is there a way to speed up Firefox?

    Is there a way to speed up Firefox (I have the Fasterfox plug in)?
    It takes 85 sec. to open (vs. 13 for Camino) and 18 to open a new page (v. 4 for the same page with Camino).
    There are features and browser restrictions which favor Firefox; however, the wait offsets those benefits.
    G4 Dual 450 Mac OS X (10.3.9) 1 GB

    Hi, Jerry. On my Powerbook G4, with a 1GHz processor and half as much RAM as you have, FireFox 2.0.0.2 opens (to a blank page, which is what I prefer) in 5 seconds — slower than Safari, but nothing like what you're seeing. It loads most pages a little faster than Safari. I've never used FasterFox, and in light of what you report, I certainly won't try it. Maybe you should get rid of it too.
    What version of FireFox are you running? Have you emptied its cache lately? Is it possible that whatever you're using for a home page is what's wasting all that time when you start FireFox? You might try choosing another home page, or opening FF to a blank page as I do. You can't blame the app for being slow to load a page that's hosted on a slow server, if that's what's happening.

  • Is there a way to speed up the response time from the dock

    Is there a way to speed up the response time for external hard drives from the dock? I have three external HDs but when I click on the alias in the dock there is always hesitation before it opens. I'm leaning towards the fact that it is just a result of the fact that the speed of the Mac is what it is. But, maybe there is something I can do to speed it up. The drives are plugged via usb directly to the Mac and they have there own power source. The curious thing is that they once were plugged into a large separately powered USB hub and I don't recall a lag like I have now. Any thoughts? Thanks...
    Message was edited by: gfann18

    Have you got the drives set up to spin down when not in use?
    Have a look at the Energy Saver settings in System Preference on the Mac.
    Make sure the "Put the Hard Discs to sleep when possible" box is not ticked.

Maybe you are looking for

  • Computer is getting a new hard drive and my iPods are full of all my stuff!

    I have a 3rd generation Nano and a 160GB Classic iPod. Here is my problem and I am hoping that someone can tell me how to proceed through this. My computer crashed and is getting a new hard drive installed now. I have all of my music on the Nano and

  • Could Oracle 10g (in a server)  work with existing Oracle 9i client

    Hello! I am new in Oracle, and I was wondering if it's possible to use Oracle 10g in a server with clients using Oracle 9i. Would that work? Are they compatible?. Thanks!

  • Bad battery or adapter?

    So my computer has been telling me to replace the battery for a couple Weeks now,but after reading on the hp website that my laptop should work even without the battery in place while the adapter is plugged in..and mine does not,I am assuming I need

  • Configure Mail to support LDAP (Mavericks)?

    I have a new Mac running Mavericks (10.9.1) and the Mail app appears to be at version 7.0.  Following my company's instructions I have successfully set up a mail account (using IMAP), but the instructions don't seem to apply for enabling me to use an

  • SAN or NAS for Premiere, experience/recommendation?

    As we convert to Adobe CC from Final Cut, I must figure out if it's possible to hang a shared, mutually accessible media and project storage device between two Macs. I've talked to salespeople but I need some real world, user-oriented answers. If you