Plotting on more than one CWGraph components uses lots of cpu resource.

The cpu usage is over 95%. When we send some triangle waveform data over a DS socket, then receive the data from another appliction and try to plot the data on a CWGrahp component, the graph shows we loss some data points.points in the

Hi Juan:
We are trying to develop a data acquisition system. We need to pass 16 values every 8.33 ms by using DS Socket and display the 16 values in 16 CWGraph components.
I wrote two applications by modifying the DS Writer/Reader With Attributes examples.
To change the interval of the Sender, you have to change the interval of Timer1 in its properties in VB IDE.
To change the number of charts ploted on the CWGraph components, you have to comment or un-comment out the corresponding line in the Receiver VB code.
I run them on a Pentium 3, 600MHz, PC, the test result is:
1. The Receiver can not receive all the 16 values when the sender sends them in less than every 10 ms.
There are some packets lost during the transmission.
2. Whi
le the Receiver not plotting any chart, it can receive all the 16 values corrctly in all the packets when the Sender sends a packet in every 11 ms.
3. If the Receiver plots on one chart, it can receive all the 16 values corrctly in all the packets when the Sender sends a packet in every 12 ms.
4. If the Receiver plots on 16 charts and the Sender sends a packet in less than every 84 ms, the CPU usage will be 100% and the controls, such as lables, on the receiver GUI will not be updated corrctly.
5. If the Sender sends a packet in greater every 85 ms, the Receiver can receive the data and plots them on 16 charts corrctly.
The test results do not meet our requirement and my application is aimed to be used on some less powerful laptops. I hope it is not because the performance limit of the DS Socket and CWGraph.
I was wondering whether we can do something to increase the performance.
Pls find the attached source code files.
Thank you!
Attachments:
VerSentToNI.zip ‏36 KB

Similar Messages

  • I entered calculates hands and more than one account and used a credit card please raise security measure for Visa card and thank you

    I entered calculates hands and more than one account and used a credit card please raise security measure for Visa card and thank you

    Hi Eva B.,
    Please refer to the help document below:
    Adobe Store | Online order and payment FAQ
    Regards,
    Sheena

  • Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File - Export - Album name with number).

    Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File -> Export -> Album name with number).
    Exporting a single Event retains the Event name which is what I'd expect. But highlighting more than one event and exporting it renames the images to Events 001.JPG, Event 002.JPG etc.
    I was recently on holidays and had all my events nicely split on Dad's computer but when I went to export it I couldn't retain any of this information. Now I have to replicate this all again on my computer.
    It wasn't possible to export the entire library as the external drive was fat32 format an I didn't want all of it. It would be nice to export a bunch of events to someone and have it retain the name.
    Does anyone have a work around or will this be fixed at some point by Apple?

    Why does iPhoto (9.0/11) not retain the Event name when exporting more than one event? (using File -> Export -> Album name with number).
    Exporting a single Event retains the Event name which is what I'd expect. But highlighting more than one event and exporting it renames the images to Events 001.JPG, Event 002.JPG etc.
    I was recently on holidays and had all my events nicely split on Dad's computer but when I went to export it I couldn't retain any of this information. Now I have to replicate this all again on my computer.
    It wasn't possible to export the entire library as the external drive was fat32 format an I didn't want all of it. It would be nice to export a bunch of events to someone and have it retain the name.
    Does anyone have a work around or will this be fixed at some point by Apple?

  • How we can lock No more than one user can use the table  at a single time

    Hi Abapers,
    0)  which  function modules to lock & unlock a table.
    1) When you execute the program, we can check if there is any lock on this table. If yes, the user should be able to only view the table contents and not modify.
    2) If there is no lock, then lock the table and go into change mode.
    3) On exiting from the program, unlock the table using the function module.
    4) more than one user can't modify the table just display.
    Note: If there is any lock, display message saying table is locked.
    Plz help me for this requirement.
    Thanks
    Nani

    Hello Nani
    Have a look at the lock object EMMARAE (<i>Lock MARA and MARM/MAKT exclusively</i>) in transaction SE11.
    Inspect the F1 help for field <b>Lock mode</b>:
    DE ENQMODE
    Short Text
         Lock mode
    Definition
         Defines how to synchronize table record access by several users.
    The following modes exist:
         Exclusive lock
             The locked data can be read or processed by one user only. A request
             for another exclusive lock or for a shared lock is rejected.
         Shared lock
             Several users can read the same data at the same time, but as soon
             as a user edits the data, a second user can no longer access this
             data. Requests for further shared locks are accepted, even if they
             are issued by different users, but exclusive locks are rejected.
         Exclusive but not cumulative lock
             Exclusive locks can be requested by the same transaction more than
             once and handled successively, but an exclusive but not cumulative
             lock can only be requested once by a given transaction. All other
             lock requests are rejected.
    If you want to lock a standard table search whether the table is used in lock objects (<i>Where-Used-List</i>). If it is a customer table you have to create your own lock object (including two function modules: one for enqueuing and the other for dequeuing).
    The lock modules can be found in menu <b>GoTo -> Lock Modules</b>.
    Given these lock modules the logic should be quite clear after starting the program:
    1. Request lock -> if successful, continue in Change mode; -> if failed, continue in Display mode
    2. Before leaving the report remove lock (note: no problem if no lock has been set in the beginning).
    Regards
      Uwe

  • More than one device is using the same email. Help!

    I use to have an Iphone in the summer but now its disconnected and i left my apple ID signed into my Imessage. I gave this phone to mom and now i have a new Iphone with the same Apple ID signed into my imessage. The other phone is still disconnected but I am 100% sure she is recieving my messages and I can't get a hold of the other iphone. Is there something i can do to my current iphone so she can stop recieving the messages? Will changing the email that i recieve messages at help? or changing the password to my Apple ID? Please help.

    I will restate what is happening.
    Network:
    House; internet to wireless router BEFW11S4 (wireless=off, DHCP=on), 5 computers wired in plus one wireless bridge WET11.
    The bridge talks to a second wireless router in the office (100 feet away).  Wireless=on, DHCP=off, different address!  There are 3 computers there.
    This has worked for years!  There is a third wireless router with wireless=off, DHCP=off and with a different address that is used for a hub.
    Now people come with laptops and want to use wireless. If any of the routers have wireless=on the network crashes with “more than one device with same address”.
    To troubles shoot; I reduced the network down to 3 pieces.  Router in house, 1 computer and the WET11 bridge.  All have fixed addresses!  If I set wireless=on (router), then the bridge and the wireless router communicate wireless and communicate via cat-5.  The network crashes.
    For a test; I connected all three routers together with wireless=on then the bridge talks to all three via wireless and via cat-5 wire. I tried WEP with different pass phrases on each router and different frequencies.  My bridge will talk to all routers it can find on any frequency with any pass phrase.  It may not be able to pass files but it can find all the computers. 
    I believe the router wakes up and sees; 
    its self 192.168.123.254, computer 192.168.123.100 and a bridge 192.168.123.225
    The bridge sees a new network with:
    Router 192.168.123.254, computer 192.168.123.100 and bridge 192.168.123.225
    And that bridge sees a new network with:
    Router 192.168.123.254, computer 192.168.123.100 and bridge 192.168.123.225
    “feed back”
    I really want the bridge to talk to router 192.168.123.253 (office) but not talk to .254 on the same switch/hub (house).

  • Can more than one apple id use apple tv

    I have one computer I use my apple id and iTunes on, my husband uses an external hard rive connected to laptop for his id and our son uses the laptop with his id . We all have our own iTunes. We haven't quite got the hang if home sharing and I was thinking if buying Apple TV for hubby for birthday but want to know if me and my son will also beagle to use our apple id on Apple TV......there are 5 devices between us and 3 apple id's and 3 iTunes library's stored separately.....help.....confused!

    Yes, simply sign into the ATV with each Apple ID.
    The only caveat is when purchasing content on the ATV to be aware of which Apple ID is currently in use.

  • How to config the digital write-to-line so it would independent when more than one is being used

    when one digital wirte-to-line is used in the labview vi, a good logic high(5v) can be read using a voltmeter,but when two or more digital write-to-lines are being using at the same time,the logic high seemed to have split voltages and thus having a bad logic high.how to make sure that in the labview program,that when many digital write-to-lines are used at the same time,all of them can abtain a good logic high (around 5v).
    I need the solutions urgently.
    grays
    np

    Hello,
    The probable reason you are seeing the behavior you are is due to a reconfiguration of the digital port. The Write to Digital Port VI is setup to configure the entire port, then write to one line (default settings). If you reconfigure the port it will reset all the lines, and then write your new value. You will want to use the iteration input on the Write to Digital Line so you can avoid the reconfiguration issue.
    The first time the Write to Digital Line is executed in your code wire a 0 to the iteration (or leave it unwired). This will configure the port for write and write your first value. The next time you use the write to digital port VI wire an integer greater than 0. This will bypass the configuration step and simply write the new value to the
    line. You can open the Write to Digital Line VI to see how the iteration input effects the execution and configuration of the digital ports.

  • Can more than one delimiter be use at the same time for spreadsheet string to array

    I have a text header in my data file that is space delimited and the data in the file is tab delimited? Any suggestion?

    Sorry, I misread your problem...
    Is the header always of a fixed length in terms of the number of lines? Or can you easily find out from the file how long the header is? If so, you could first read just the header and, instead of using spreadsheet to array function, you could parse the header yourself by using the match string function in a While loop with the search value:
    [\s\t]+
    Assuming slash codes are enabled, this string will match any string of one or more spaces or tabs.
    You could then read the rest of the file and format it using spreadsheet to array with the tab delimiter (that is constant, correct?).
    If you need help with that parsing loop let me know and I'll write one for you...
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Is it Possible for more than one Mac to use the same Catalog?

    I run a Mac which contains a catalog of all the images I take.
    I would like the other designers in a different room but on the same network to have access to that catalog.
    Is this possible with Lightroom? and can it update on their machines as I add new images to it?
    I've been running aperture for the last 4 years and after experimenting with Lightroom 3 beta for the last month I'm now happy with it.
    Thanks in advance.

    Lightroom does not support installation on a server or to be shared over a network. Also, it will only allow one user access to the catalog at any time. While some users have found ways around these limitations it is more by luck than design that they've done so.

  • Can i purchase more than one subscription and use ...

    Hi,
    I have bought a 60min/month subscription and realised that it is too little. I finish 60 minutes before the month is up and have nothing left. I am paying for it in 3-month cycles. 
    Can i buy another same subscription on top of this one so that i get a total of 120 mins a month? 
    When i try to do that, it says the new subscription will only activate after the current billing cycle is over. Does that mean that the new subscription will only start after 3 months is over? Then what is the point of getting multiple subscriptions if you need them immediately?
    Please let me know how i can add more minutes apart from buying Skype credit. 
    thank you,
    tabitha

    Hi Tabitha,
    If you want to have more minutes per month available, you need to buy a subscription with a different amount of minutes.
    If you purchase the same amount of minutes, you will just extend your subscription for another months.
    Here are your options: http://www.skype.com/intl/en/prices/pay-monthly/#SG
    I hope it helps!
    If my answer helped to fix your issue, mark it as a Solution to help others.
    Thank You!
    Please send private messages only upon request.

  • Publishing more than one site and using more than one computer

    I did my sons website in iWeb on my laptop using my own .mac account to publish it. Now I've up graded to a family account, giving my son his own settings etc. I've done my own website now, but when I publish to either mine or his .mac account it seems to go through the process of publishing both sites.
    I've also set my son up as a separate user account on my laptop. Can I move his iweb settings so that he can do his website in iweb without seeing mine. I've noticed there's no import function, but surely I could move a folder to a location in his library that will load into iweb. This would be useful because I'd also like to update my own site from the laptop at home and my imac in the office.

    Hi Smartmart,
    I'd like you to have a look at[this page|http://alyeska.altervista.org/en/iWebTransferSite.html]
    The only thing that changes is you put it to another user account on the same computer and not to another computer but the procedure is the same. When you move it by using a USB stick or CD or whatever you will then have the domain file on both the accounts. They are now completely independent from each other. So when you make a change to one site it will be saved only to that Domain file and not to the other.
    The two websites (yours and your son's website) are now in one Domain file. What you then have to do is, once you have it on both user accounts, delete your website in your son's account and his in yours. The rest will be preserved.
    Regards,
    Cédric
    Actually it's quite the same you already posted... I was a bit too slow

  • Boris 3D titles disappear when more than one font/size used

    I've had a LOT of two-line supers created in Boris 3D (the first and second line are either different fonts or two different sizes of the same font) go invisible without any reasonable explanation.
    This has happened on 3 or 4 different Macs of various configurations, running both FCP6/Leopard and FCP7/Snow Leopard. It's not limited to just one typeface (which is what I thought at first)... it even happens with Mac basic system fonts.
    What happens is: I or another editor will create the supers...everything appears fine. They render fine. But if the project moves from one edit suite to another (running the same version of FCP), any unrendered supers become invisible. Clips are on the timeline, but will not display on-screen. Even retyping or re-rendering them doesn't make them visible... the only way to get them back is to completely re-make the super from scratch. Ironically, I can use exactly the same fonts, and it will work if I start over from scratch.
    Beyond that, if I double-click on any rendered super, the second line will disappear from the Boris plug-in text window, and the super will go unrendered and will disappear.
    Copying and pasting a rendered super into a new location on the timeline also won't work.
    We've now had three or four feature-length documentaries over the last 18 months where EVERY super in the entire show has required retyping from scratch, at major cost and expense.
    Since the problem has occurred in several edit suites, I'm assuming this is not a problem unique to our projects.
    Anyone?

    Maybe this will help:
    There is an update available for the Boris Calligraphy package that comes bundled with FCP6/7 that addressed a bunch of font/crashing issues with Boris Title 3D.
    Info from Boris:
    !http://www.spotsbeforeyoureyes.com/Boris.jpg!
    Go to
    http://www.borisfx.com/updates/
    and down load the update for Calligraphy.

  • Text color changes when more than one color is used in the same paragraph in a bulleted list

    I work in a print shop on designers' files preparing them for print. Machine I use is an iMac, plenty of RAM, running Tiger 10.4. Here is my problem: A PC user sent us an InDesign CS3 file. A portion of the text is styled as a bulleted list with character color and bullet (the solid circle) defined as (default) black. However, the style is over-ridden on the bullet and first two words following the bullet with a spot color red, which is present in the Swatches palette (PMS 186). The remainder of the sentence stays black. The text somehow lost this override, and instead of keeping the 2 different colors all the text changed to black. This seems to have occurred when I saved the file on my machine. When I go back and open the original file the text is still colored both red and black. I think that the file was originally an InDesign CS2 file, and could even have been a Indd version 1 or Quark file. Why did the color change with no user intervention? Also, I can't understand why, when the first 2 words are highlighted and changed to red, the bullet also changes to red. (That is good, of course, because that is what we want, but I don't understand how that happens when the character style is black, and I can't even highlight the bullet itself). I sure would appreciate any ideas anyone has on this, I have to try to explain why we printed the text in black when it was supposed to be red and black!

    thanks Alan and Bob. Nothing has explained the loss of color so far.
    Alan, I will suggest to the designer that she use a nested style. I wonder if that will make the styling more stable moving accross the different platforms.
    Bob, I feel like you may have thought, as I did, that hundreds of saves and saved-as and many different applications would have damaged the file, but as you could see by the History, the file was fairly fresh.
    There is a very outside chance that I wiped out the style overides by command click but I am really careful and I doubt it.
    So I'll thank you both again and check back each day, perhaps this will happen to someone else and become an issue. I have tried to repeat my actions and cause the error again but to no avail.

  • HT3819 can more than one apple ID use a apple TV?

    My wife an I both have our own Apple ID's and our own Macbooks.  How do we both access our apple TV?

    Welcome to the Apple community bpostin.
    You can share both libraries by both using the same ID for homesharing. Homesharing and iTunes can use different ID's.
    You can log in with both ID's at settings > iTunes Store with both ID's to make purchases and other account specific actions.

  • Can more than one Ipod be used one one computer?

    My sister and I share a computer and each have an Ipod. I have a 30GB and she has a 2GB and we're having problems using the same Itunes. Is there a way for us both to use the same Itunes on the same computer, or do we have to use separate computers to have separate playlists? Thanks.

    off topic - but StarDeb, have you seen btabz's excellent pages?
    http://homepage.mac.com/btabz/iTuneswinp.html
    http://homepage.mac.com/btabz/Windowsp.html
    You left-click on the link, nothing happens which is disconcerting, but then you right-click paste into discussions here, and it's formatted lovely.
    b noir told me about it.
    Maybe since you've gone over to the dark side of Macs it doesn't work, though. giggling

Maybe you are looking for

  • What is the different between Sharepoint fast search service and Sql server fulltext search?

    HI , I want to kow what is the different between Sharepoint fast search service and Sql server fulltext search? Or Can I abstract the Sharepoint fast search from the Sharepoint platform as a isolate component? Thank you. James

  • How can I prevent Aperture from playing slideshow when hitting the play button on the keyboard?

    I am getting a bit frustrated by the fact that the play button on the keyboard, which I use all the time for controlling audio playback in iTunes and now Spotify, is assigned to starting the slideshow in Aperture. Playing a slideshow is something I n

  • Creating Physical Directory

    hii... I am using CREATE DIRECTORY method. CREATE DIRECTORY MYDIR AS 'C:\TEMP1'; it is working. But, i want to create physical directory if TEMP1 folder isn't in the C: drive. How can i do this? do you have any idea? thanx

  • WRT54GS Resets Every 5 Seconds?

    So after a year of solid useage, my WRT54GS has encountered a serious problem.  The router seems to reset every 8 seconds.  The process looks as follows. The Power button flashes and Internet button stays solid for the entire process After 5 seconds,

  • Re-sequence number problem

    hi all i created two text items in form one for sequence number and other for non sequence, i want when i add 01 in non sequence item-text so the sequence number does not change and it should remain the same? is it possible plz help me out thanks in