How can I increase the speed of LabView computing?

Dear all,
I have a problem which I didn`t thought to face.
My problem is the folowing. I have Implemented some applications in Labview but with my great surprise the program is incredibly slow!
One of these was just a simple try to produce sinusoidal signal. I simply made a While loop where the sine of the "i" iteration number was calculated and then
sent to a NI- 6559 DAQ through an USB port and the DAQmx Assistant.
Well this simple program runs at 300 Hz Maximum. A similar program in C can without problems reach 20000 Hz!
Now I am asking if Labview is the wrong choice for more than 100 Hz applications and if it is not convenient to shift directly on C language.
Namely I want to let you know that the apllications I need require a loop speed of at least 800Hz.
Really I cannot understand why the system is so slow. It cannot be otherwise Labview should be unusable for the large part of the applications.
Can you suggest me what I am doing wrong, or maximum speed reachable on a normal 3 Ghz Pentium, 1 Gb RAM?
Best regards
Principiant
Solved!
Go to Solution.

Hi Principiant,
I tried to reproduce your LV VI, which calculates the sine from the loop counter and get a cycle time of 0,125 microseconds, calculating the sine of every degree (0 .. 359). This means 45 us / cycle, which is 22222 Hz.
So it is likely that the communication with Your USB- device is the bottleneck. Is this device capable of buffered output? This would be preferable, it puts a block of data (pattern) into a FIFO and the device sends it to the DAC on its own.
greets, Dave
Message Edited by daveTW on 01-23-2008 10:09 AM
Greets, Dave
Attachments:
Example_FP.png ‏14 KB

Similar Messages

  • How can I increase the speed of importing audio cds into my iTunes library?  On my old Dell PC cds imported at 30-35x, but my new iMac (using the Apple Superdrive) is trudging along at 8-10x.  Any suggestions?

    How can I increase the speed of importing audio cds into my iTunes library?  On my old Dell PC cds imported at 30-35x, but my new iMac (using the Apple Superdrive) is trudging along at 8-10x.  Any suggestions?

    Hi,
    Not sure you can do anything about this. I get vaiable import speeds - a lot depends on the actual disc. The Read Write spec is 24X but I rarely see speeds close to this.
    Jim

  • How can you increase the speed with a slider

    I have been trying to work at this for about a week and a
    half. I browsed several communities but it seems that noone has an
    answer so I am not even sure if this is possible I am not a flash
    expert but what I am trying to do is as follows;
    I have a movie with several movie clips. I have an animation
    of a female walking, I also have a slider that when I move it to
    the right bags are added on to her. but what I am also trying to
    accomplish is to have her walk faster as the slider moves to the
    right.
    I tried several scripts but they seem not to work as I wan
    them to plus they start to cancel out the bag function.
    How could I make this happen if it is even possible. I want
    to use the slider to increase the speed of the lady walking. Slider
    and Lady are movie clips.
    thanks in advance

    At present I'm not aware of any way to achieve this exact effect in Muse (where the first screen of a web page is resized to fill the browser window and the rest of the page, as you scroll down, appears to be fixed height layout).

  • How can I increase the speed at which I write to a spreadsheet?

    We are trying to acquire data rapidly during a 1.5 second test. We are able to acquire the data at a variety of speeds, but are unable to write it to an Excel spreadsheet any faster than 10 Hz. Is there a way to speed the writing to a file or are we stuck with this rate?
    Thanks

    Hello,
    I noticed your post was in the DAQ group, but you didn�t mention which
    programming language you are using. This answer is tailored to
    LabVIEW, but if you are using something else, let me know. Since you
    are running such a short test, it might be easier to acquire all of
    your data first and then write it to a spreadsheet file.
    If this is not preferable, you could use lower-level file VIs. Using
    a VI such as the �Write To Spreadsheet File� within a while loop is
    inefficient since it opens and closes the file each time it writes a
    new value. One of the fastest ways to write to a file is to first
    open the file. Then in your while loop, perform your data acquisition
    and write to the file. Finally, close the file after your while loop
    completes. If thi
    s is what you are already doing, you could try
    writing to a binary file instead of an ASCII file.
    Try acquiring your data and then writing it to a file. Or try using
    lower-level file VIs to increase the speed of file writing. If this
    does not address your problem, please provide some additional
    information such as the VIs you are currently using to write to the
    file or post all or part of your VI.
    Grant M.
    National Instruments

  • How can I increase the speed of my wifi connection on my iPhone 4?

    Hey everybody. Okay, so long story short, my wifi speed on my iPhone 4 (Verizon) is pretty slow. So slow that I almost never turn it on because of the sluggish download speeds. However, I definitely want to have it on.
    I use the speedtest app, an my wifi at home (router in the next room) is clicking at:
    141ms ping
    0.72Mbps Down
    0.41Mbps Up.
    I'm seeing people on these forums post results like 9Mbps down, 5 up, etc. and I'm envious. How can I improve mine?
    Thanks in advance.

    There's nothing that can be done on the iPhone to affect the speeds via Wi-Fi, the iPhone simply is not the issue.
    What speed is the Internet service provided by your ISP?
    Is the wireless router you are connected to an 802.11b? g? or n? router?
    Both of these factors dramatically affect performance.
    Go to any Wi-Fi hotspot, you'll see a difference in speed.

  • HT1145 how can I increase the speed of wifi reception?

    I was told by the cable TV & Internet tech that I will need to have a WIFI "N" modem to get the most out of the 50 mbps broadband speed coming into the apartment.

    I still think you need N wireless to saturate a 50Mbps internet link..
    But to the OP test it..
    If you download a file via wireless from the Internet and 50Mbps on G wireless you are my hero forever..
    If you download a file via ethernet on an old Linksys eg WRT54G it will not do any better than G wireless.. they are simply not up to the WAN to LAN throughput.
    So test carefully.. a 50Mbps link should deliver 50Mbps under ideal conditions. usually an FTP source provided by the ISP. If you get poorer speed than that.. replace it with N wireless router.. with WAN to LAN throughput that is at least 300Mbps.

  • How can I increase the speed in which Finder refreshes network shares on AD network shares

    We have 20 Mac's running OS X 10.7.4 all fully patched. We are running a RAID Array off of an HP Proliant 370 G6 with 48 GB RAM. This server is also acting as our Domain Controller running Windows Server 2008 R2.
    We disabled the Mulitcast broadcast and changed IPMonitor.bundle  file to timeout after 1 second instead of 5. This allowed users to mount their network folders in 3-7 seconds. Used to take upwards of 2 minutes. We also added our domain to the search domain field in the advanced network
    Now the problem is that when the designers go to  one of the network shares that our preflight software (running on a different server) deposits the files to it can take between instant refresh and 30 minutes. Some clients will update faster than others. No consistency to issue.
    We installed the finder refresher app but this did not work either.
    I know their are mixed feelings on Mac's bound to AD networks. I have scoured the forum and other sites. Please advise as to any other modifications to either the server or the client machines that will help.
    Bandwidth is not an issue. Gigabit to a Netgear switch and a fiber line from the switch to our main switch. At peak use server bandwidth may hit 30-40 percent of capacity.

    Apple menu > System Preferences > Network > Advanced > Wi-Fi > Drag networks into the order you prefer.

  • I recently downloaded and installed OS X Mavericks. The font size on the display is smaller. How can I increase the font size. Also everything seems to be running a tad slower. Will this speed up?

    How can I increase the font size in all my displays after it shrank after installing OS X Mavericks?
    How can I increase the speed after installing OS X Mavericks? It is slower now.

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    See http://kb.mozillazine.org/Zoom_text_of_web_pages
    Your plugins list shows outdated plugin(s) with known security and stability risks.
    * Shockwave Flash 10.0 r45
    * Next Generation Java Plug-in 1.6.0_17 for Mozilla browsers
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    Update the [[Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • My performance is very slow when I run graphs. How do I increase the speed at which I can do other things while the data is being updated and displayed on the graphs?

    I am doing an an aquisition and displaying the data on graphs. When I run the program it is slow. I think because I have the number of scans to read associated with my scan rate. It takes the number of seconds I want to display on the chart times the scan rate and feeds that into the number of samples to read at a time from the AI read. The problem is that it stalls until the data points are aquired and displayed so I cannot click or change values on the front panel until the updates occur on the graph. What can I do to be able to help this?

    On Fri, 15 Aug 2003 11:55:03 -0500 (CDT), HAL wrote:
    >My performance is very slow when I run graphs. How do I increase the
    >speed at which I can do other things while the data is being updated
    >and displayed on the graphs?
    >
    >I am doing an an aquisition and displaying the data on graphs. When I
    >run the program it is slow. I think because I have the number of
    >scans to read associated with my scan rate. It takes the number of
    >seconds I want to display on the chart times the scan rate and feeds
    >that into the number of samples to read at a time from the AI read.
    >The problem is that it stalls until the data points are aquired and
    >displayed so I cannot click or change values on the front panel until
    >the updates occur on the graph. What can I do to be a
    ble to help
    >this?
    It may also be your graphics card. LabVIEW can max the CPU and you
    screen may not be refreshing very fast.
    --Ray
    "There are very few problems that cannot be solved by
    orders ending with 'or die.' " -Alistair J.R Young

  • How can Airport increase wifi speed when I am lucky to get 5mbps out of my modem now

    How can Airport increase wifi speed when I am lucky to get 5mbps out of my modem now.
    Is the Airport a modem in its own right?

    The Internet connection speed that you obtain on your network will be limited by the plan that you have with your Internet Service Provider (ISP).
    No device on your network will be able to make that connection go any faster.
    If you need a faster Internet connection speed, you will need to speak to your ISP about a faster plan....at a higher price of course.
    The AirPort is capable of providing far higher speeds than your ISP can ever hope to provide.  Kind of like having a car that can go 400 miles an hour, but the speed limit is 40.

  • How can I increase the character limit of my text messages for Droid Maxx 4.4?

    How can I increase the character limit of my text messages for Droid Maxx 4.4?

    Send as a MMS.

  • How can I increase the font size of my email when I print it out, it is printing tiny

    How can I increase the font size when I print out emails, it is printing tiny size?

    In the Print dialog window, click the small reveal-button to the right of the printer's name -
    The window will expand to show additional settings (similar to 'old' Page Setup) -
    Be sure "Scale:" is set to 100% and the 'Keep apparent font size' item is checked.

  • How can I increase the members in the chat groups?

    The number of members in the cha groups is limited (3000)
    How can I increase the members in the chat groups?

    Elaborate.

  • How can i increase download speed on my MacBook Pro?

    How can I increase download speed on my macBook Pro?

    Common strategies:
    * Use ethernet instead of wireless.
    * Get a better/upgraded ISP.
    * Get a better/upgraded router.
    * Get a newer mac.

  • How can I increase the size of the bootcamp partition without having to delete or re-install windows? using a macbook pro (15-inch) 10.9.4.

    I'm using a macbook pro (late 2013 with mavericks-10.9.4 ). I installed windows using bootcamp but didn't estimate the storage I required correctly. So now I don't have enough storage in the bootcamp hard drive.
    How can I increase the Partition size between windows and mac without having to delete or re-install windows?
    Thanks,
    Advek

    Check out this explanation.

Maybe you are looking for