Low update rate with ftdi

Hi, recently my company changed I/O communication of a custom ADC board from RS232 to usb using FTDI245R chip. Using ftd2xx.dll I obtain lower update rate of the measurements ~60-100ms instead of 20ms (rs232). Anyone noticed something like this, how did you fix it? I just used the drivers provided by FTDI: open device (once), reset device (once), flush TX, write bytes, queu status, read bytes.
Thank you

U r right.IT is really frustrating.I found out the hard way.Finally when i used BCP for serial communication the updation was much faster and i was able to curtail the data loss.Using the d2xx function.Initialize purge and do everything once and i mean it only once.Put the read buffer in a while loop and dont give the number of bytes to read from the output of transmitt buffer as suggested.Instead define your own number of nits to read.obviuosly the buffer status will be checked once and then the while loop will start executing and ur updation will be fast.I am doing the samething.

Similar Messages

  • NVidia GT 120 and intermittent low frame-rate with Expose, Dashboard...

    I have an iMac early 2009 with a NVIDIA GeForce GT 120 (256 Mo) graphic card.
    I have intermittent low frame-rate problems with Expose, Dasboard and several other large animations...
    For example, when I trigger Expose or Dashboard, the animation may sometimes be choppy (with few intermediate images) to very choppy (practically no intermediate images)...
    The second after, the same animation may feature a very high frame-rate...
    Neither Apple diagnostic tool nor TechTool Deluxe finds any hardware problem.

    I have the same iMac, and also have this same problem.
    When I first activate Dashboard, the animation is choppy. If I activate it several times in a row very quickly, the animation smooths out noticeably. It's as though the video card is asleep, or cycled down, and then wakes up and springs into action.
    This is testable. If I run the command line utility OpenCL Bench immediately following a restart, my iMac's GT 120 gives a time of 14 seconds. If I open iTunes, turn on the visualizer, and then run OpenCL Bench again, the GT 120 gives a time of 1.7 seconds! If I turn off the visualizer, wait a few seconds, and re-run OpenCL Bench, the GT 120's time increases to 5.6 seconds.
    The same performance increase/decrease shows up with Dashboard. If I open Dashboard with the iTunes Visualizer running, right off the bat, Dashboard's animation is very smooth. If I turn off the visualizer and wait about 30 seconds, Dashboard's animation is back to choppy.
    This is not dependent on the iTunes Visualizer. I can have the "OpenCL Procedural Grass and Terrain Example" running, for example, and get the same results from OpenCL Bench and Dashboard.

  • Low Frame rate with new Apple TV.

    Hi,
    I just watched a purchased TV show (Top Gear) on my new Apple TV, connected to a 42" flatscreen, and I am not impressed at all with the quality. Apart from the resolution, which we all now, the image is jittery, and the frame rate is so low that when somebody moves his arm you can wee it jump from one frame to another.
    Looked at settings on my TV (Sony Bravia) to see if there is something there, but I don't see any setting that might affect this.
    Anyone else has this experience?
    Kind Regards,
    Erwin

    Same issue with a British movie I just tried to stream and I didn't think this would help, but it worked like a charm! Definitely the cinemotion. I didn't even know I had that setting. It's way to the left under picture in my Bravia onscreen menu. Just make sure that you turn it off for the correct input. Im more used to using the motion enhancer toggle under options, but that wasn't it.

  • Datagram test shows low success rate with Exalogic configuration (IB)

    The success rate from our Coherence datagram test is kind of low with Exalogic configuration
    ## with IB interface ##
    throughput: 1014 MB/sec
    16236 packets/sec
    received: 300000 of 779167
    missing: 479167
    success rate: 0.38502657
    ## with 1G ethernet ##
    ethernet throughput: 97 MB/sec
    69141 packets/sec
    received: 1600000 of 1885461
    missing: 285461
    success rate: 0.84859884
    The listener Coherence node has
    bond0 Link encap:InfiniBand HWaddr 80:00:00:4A:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
    inet addr:192.168.34.91 Bcast:192.168.39.255 Mask:255.255.248.0
    inet6 addr: fe80::221:2800:1a0:ebf9/64 Scope:Link
    UP BROADCAST RUNNING MASTER MULTICAST MTU:65520 Metric:1
    RX packets:23621494301 errors:0 dropped:0 overruns:0 frame:0
    TX packets:23218231154 errors:0 dropped:1779 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:41399991507456 (37.6 TiB) TX bytes:36726866951912 (33.4 TiB)
    The Coherence publisher node has
    bond0 Link encap:InfiniBand HWaddr 80:00:00:4A:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
    inet addr:192.168.34.90 Bcast:192.168.39.255 Mask:255.255.248.0
    inet6 addr: fe80::221:2800:1a0:fb55/64 Scope:Link
    UP BROADCAST RUNNING MASTER MULTICAST MTU:65520 Metric:1
    RX packets:23781098798 errors:0 dropped:0 overruns:0 frame:0
    TX packets:24186487356 errors:0 dropped:2229 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:39474424472056 (35.9 TiB) TX bytes:44425819197666 (40.4 TiB)
    Is there anything needs to be tuned/configured to use InfiniBand? Or any suggestions to resolve the issue?
    Thanks in advance.

    Hi,
    Is important that the IB NIC have it's MTU set to the maximum allowed value of just under 64KB to get the best performance.
    Try throttling the test to just under the data rate the test achieved by adding -txRate to the test parameters. You can continue to lower the throttle until packet loss is less then 1%. Coherence will do the same thing automatically to avoid the packet loss. Also you should plan on running a number of nodes on each blade to help spread the network load over more CPUs.
    For further information about the -txRate option, please take a look at http://docs.oracle.com/cd/E18686_01/coh.37/e18679/tune_datagramtest.htm
    Also, as can be seen at http://docs.oracle.com/cd/E18476_01/doc.220/e18480/solaris.htm note that Coherence on Oracle Exalogic dynamically adjusts buffering to the MTU of the interface. To use dynamic buffering, you must run the following parameters:
    ndd -set /dev/ip ip_reass_queue_bytes 16777216
    ndd -set /dev/tcp tcp_max_buf 8388608
    ndd -set /dev/udp udp_max_buf 8388608
    This applied for Linux Exalogic too.
    Hope this helps.
    Thanks,
    Cris

  • Low sample rate with NI USB-6008

    Hello,
    We are working on a project collecting data from a hybrid rocket motor for
    University research. We are using a NI USB-6008, which has a sample rate of
    10kHz. We are using 3 channels and getting a sample rate of ~60 samples per
    second. I have attached the VI. Is this slowed by software, or physical
    computer computation speed? This sample rate needs to be much higher. Any help
    is greatly appreciated.
    - Theo
    Attachments:
    Hybrid DAQ_10.vi ‏73 KB

    Hi Rocket 154,
    You’ve already had some
    great responses, but I just wanted to add a little bit. A great starting point
    to writing good code would be the Getting Started with NI-DAQmx: Main Page,
    as well as the shipping examples (In LabVIEW, Help » Find Examples) already
    mentioned.
    If you navigate a bit
    through the links (Basic Programming with NI-DAQmx » Getting Started with NI-DAQmx
    Programming in LabVIEW) you’ll end up with some great resources. I recommend Learn
    10 Functions in NI-DAQmx and Handle 80% of your Data Acquisition Applications.
    It will detail many of the functions you can use and give you a feel for proper
    code style in LabVIEW.
    I hope that helps.
    Mark E.
    Precision DC Product Support Engineer
    National Instruments
    Digital Multimeters (DMMs) and LCR Meters
    Programmable Power Supplies and Source Measure Units

  • Low frame rate with mask

    I added a mask to a mpeg1 .mov file to remove the letterboxing, and now it plays at like 6-7 fps. I had no trouble with the original file, and my computer should obviously have no problems keeping up (the file is only 320x176). Any ideas on what the problem is or if this is common?

    That is not an inherent problem with masking mpeg1 files. I just did it in QT 6 to a similar sized 29.97 FPS mpeg and it didn't slow down the FPS playing rate. Perhaps you should try it with a different mpeg and see if the problem is unique to that first one. If it is a general problem with mpeg then try it with a .mov file. If the slow down remains when masking then it probaably should be reported to the QT team at the feedback page:
    http://www.apple.com/quicktime/products/contactqt.html

  • Low frame rate with a wired hotel connection

    My wife is staying in a hotel and we were trying a video chat. When we're disconnected she gets 15 fps video preview. When we're connected, she gets 15 fps for about 2 seconds and then it drops to 1 fps and it looks choppy on her end and my end. My signal is 15 fps and plays back smooth on her end and my end. She has an iBook g4 1.2 and an external iSight.
    So I 'm trying to figure out whether it's her machine that can't handle the video when we're chatting since only my video is 15 fps or if the hotel is limiting bandwidth. If they were limiting bandwidth wouldn't my video appear choppy as well? Unless they have REALLY low upload limits and moderate download limits?
    I don't know enough about how hotels deal with this sort of thing, but I suspect bandwidth limiting since her fps drops rapidly after we've connected - as if her usage is being detected and then cut off.

    wickerbone,
    iChat does monitor what it detects as the apparent bandwidths available to it, and dynamically adjusts input/output. And, hotel networks are just plain junk.
    I really couldn't say with much authority whether her iBook might handle video chatting well or not. I do know that a 1.42 iBook has no trouble with it, and I'm pretty sure that Apple built defined limits into what architectures/speeds would be supported by iChat (in other words, iChat would let you know if it would be problematic on her machine). The only way to know without doubt would be to try a "Bonjour" chat across your own private network.
    I do know first-hand that it is difficult, at the very least, to get iChat working across hotel wireless access. Ethernet tends to be a bit more solid, when available, but their access is usually poor. Typically, the hotel is employing a single DSL or cable modem connection, and using a standard, off-the-shelf router (wireless or otherwise). The network, itself, tends to get rather clogged up, and you have a situation where many users are attempting to connect through the one bottleneck. Let's not forget that this is a network that was put in place something like 5 years ago, with 802.11a (ssslllooowww) technology. And with perhaps 30 people connected to the network, what are the chances that at least one of them is running P2P software on their POS PC? Humph.
    More times than not, I had better results in iChat when I went outside the hotel and connected using a Verizon connection card, instead of the hotel's (supposedly) broadband service.
    Scott

  • Low frame rate with mac to pc video chat

    I have a mac with isight using Ichat and 10.4.3. My brother has XP with AIM 5.9 with the latest and greatest Logitech USB 2.0 webcam.
    We are able to connect and start a video chat. We see each other. The frame rates from the isight are great on both ends. However, the frame rates from the logitech are about 1 fps on both his computer and mine. We have tried adjusting settings and installing the AIM patch that was referred to in one of the articles.
    what to try next.
    thanks in advance

    No Problem.
    New Discussions ReponsesThe new system for discussions asks that after you mark your question as Solved. You should take the time to mark any posts that have aided you with the tag and the post that provided your answer with the tag. This not only gives points to the posters, but points anyone searching for answers to similar problems to the proper posts.
    Alternatively, you can change the status to Answered.
    If we use the forums properly they will work well...
    Ralph

  • Low transfer rate with NAT/Duplex/Speed settings

    Hi all, I'm having this problem and I cannot find any bug or TAC case in the collection. I'm using PAT between two ethernet interfaces on a c3745 or c3845(I tried both in a lab).
    If I keep the duplex and speed negociation to auto, everything works fine and it autonegotiates to full/100, but as soon as I force the duplex to full and speed to 100, the transfer rate of my FTP drops considerably. When I change the speed back to auto everything goes back to normal. I've tried the latest IOS but the problem persist.
    Anyone experienced the same problem? Any ideas?
    Thanks in advance,
    Mariano

    Fixing speed and duplex must be done on both sides. If one end remains in auto-mode the connection will default to half duplex.
    This will result in a duplex mismatch between the devices.
    http://www.cisco.com/univercd/cc/td/doc/cisintwk/itg_v1/tr1904.htm
    regards,
    Leo

  • How to generate a waveform (with changeable update rate and sample) with USB 6008

    Apologize about my awful English.
    In Tradition DAQ I can set different update rate with "AO Start" vi.
    Transform into USB-6008 device things turn into quite different.
    I don't know which vi I can setup update rate.
    Is there any example for this.
    THX a lot!

    Hello D.
    To use the USB-6008, you need to download DAQmx Base driver from the web at http://digital.ni.com/softlib.nsf/websearch/CE3686A8D5B0CEDC86256FFD007C9C4A?opendocument&node=132070_US .
    The driver will install with example programs that you can access by going to Start->Pograms->National Instruments->DAQmxBase->Examples. You new to have LabVIEW 7.x to use this driver.
    SergesL

  • How do you fix error message "data rate for this file is too high for DVD.  You must replace this file with one of a lower data rate".

    When trying to burn a DVD it will go through the encoding step and at 98% we see the message 'data rate for this file is too high for DVD.  You must replace this file with one of a lower data rate".  We need help to correct this so we can complete burning to DVD. 

    What did you export from Premiere?
    Did you use the MPEG2-DVD preset... and did you make any changes to the preset?
    CS5-thru-CC PPro/Encore tutorial list http://forums.adobe.com/thread/1448923 may help

  • Transfer rate with USB 5102 is very slow (8 updates/sec). Any possible way to increase it??

    Taking 100 microsec data from 32 sensors we want to monitor results in real time. Because of slow data transfer protocol (niScope_InitiateAcquisition - niScope_FetchBinary8 loop) for USB NI5102 (~125ms) we can update only every 4 sec. Any way to speed it up? Is PCMCIA 5102 will do it faster (we don't have PCI)??

    To verify, you wish to take data for 100 microseconds on each of 32 sensors and display the data in "real time." The problem is the overhead of the initiate/acquire, not the actual acquisition time or theoretical data transfer time. Have you considered taking all your data in a single acquisition? I assume you are already multiplexing the signal to the 5102. This will require a bit of work in setting up the advance trigger for the multiplexer and the reference trigger for the 5102, but this is far cheaper than buying another acquisition board. Your data acquisition sequence would then be:
    Set 5102 for 64000 points, 20MHz, 0% trigger reference position (add more points if needed for settling time)
    Set multiplexer to first channel
    Iniate acquisition on the USB-5102 (you may want to use the hardware start trigger for repeatability)
    Trigger 5102 to start acquisition
    Cycle multiplexer through the 32 sensors with 100 microsecond dwell time per sensor (add extra dwell time for settling time as needed)
    Read data from 5102
    Parse the data by splitting the array using your known timing
    With this method, you only take the overhead hit once per scan instead of 32 times. You should be able to get single-digit Hz update rates. You can speed up the data acquisition by using both channels of the 5102 (unless you are already doing this for some sort of data reduction). If you are doing this in LabVIEW, pass your data into a queue in your acquistion loop and pull it out of the queue in a separate loop to process and display. This allows you to time multiplex the acquisition and display.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Is it possible to detect low frequency signals with a high sampling rate?

    Hello everyone,
    I'm having an issue detecting low frequency signals with a high sampling rate.  Shouldn't I be able to detect the frequencies as long as the sampling rate is at least 2 times the highest frequency I will measure?  The frequency range I am measuring is 5-25 Hz, and I use Extract Single Tone.vi to measure the frequency.  The sampling setting I am using is 2 samples at 10 kHz.  Is there a method I can use to make this work?
    Attached is the vi.
    Attachments:
    frequencytest.vi ‏21 KB

    You are sampling at 10Ks/S, but only taking two samples. What do you expect to see? If your signals are binary (On or Off) you would only see either an on or an off, or if the rise/fall time was fast and you were Extremely lucky, one of each. If you want to see a waveform you have to sample for at least the period of a waveform. So you should take samples for at least 0.2 seconds to capture an entire waveform at 5Hz, ideally longer.   Think of looking at a tide change at a dock. If you want to see the entire tide change you will probably have to measure repeatedly over 24 hours, not just run out on the dock, measure the height twice and leave. That wouldn't tell you anything other than at that precise moment the tide height was X, but not that it was at high tide, low tide, in between, etc.
    I type too slowly, I see that a more technical answer has been given, so mine will be the philosophical one!
    Putnam
    Certified LabVIEW Developer
    Senior Test Engineer
    Currently using LV 6.1-LabVIEW 2012, RT8.5
    LabVIEW Champion

  • Very Low Bit Rate!!!

    Ok, iTunes is not the best program of the computer planet music, far away…
    All music sites offering the possibility to choice the format and downloading with a quality what we wants, no iTunes Store, WHY? I have professional equipment and disgust me to listen my music in 256kb very (LOW BIT RATE).
    I spend the max in the MacBook Air (the best configuration), the must of sound card etc. for what??? It’s time to change and make a true revolution on iTunes and iTunes Store. For ex: when we listening one song on iTunes, the folder don’t come to the principal window if you are in artist’s mode! We need to search in the library to find the folder and get information or modify something! 

    Is the file stored in iTunes as a music file?
    If so then the one way of getting it on your phone would be to convert it to a podcast or audiobook, which I believe will work.
    It isn't a full conversion as such, all you do is change a tag in "get info".
    Another way would be to choose "create AAC version" which should make it eligible.
    I understand why you don't want to do this sort of messing around, but nfortunately at this stage in the release there are still lots of these sort of issues, most of which will likely be resolved in the next few updates.
    If you don't want to do those steps then another option would be to turn match off until these issues get fixed. Obviously, we have no idea of timescales (or if that particular issue will ever get addressed). There are enough people being affected by it that I'd be surprised if it isn't a reasonably high priority though.

  • Very low 3DMarks03 benchmark with MSI Ti4200TD 4x GPU

    Very low 3DMarks03 benchmark with MSI Ti4200TD 4x GPU
    I have download the lastest demo version of 3DMarks03 from futuremark.com and have downloaded the latest DirectX 9.0 from Microsoft.
    After downloading both applications, I have update my DirectX 9.0 first before installin 3DMarks03 in my com.
    After all installation is done, I have test the Benchmark for my AGP card which is MSI's Ti-4200TD 4x 128MB and the results was worse than expectations.
    The first test was ok and I managed to hit rather high points of nearly 200fps for it, but the problems starts at the second test onwards... I managed to only hit at the highest point of 15fps only!!! Therefore at the end of the Test I only managed to score 1018points... ;(   and my screen starts to flicker on occasions... but I have switched to 75Hz for my refresh rate... :O
    And the very funny thing is that I have no problems driving games like Unreal Tournament 2003...  ?(
    My first query here is whether there's anything to do with DirectX 9.0(I have de-activate and re-activate directdraw after each restart) or is it because that I did not reinstall the Card driver as in Settings> Advanced Options> DirectX version still shows DirectX 8.1 or better... By the way, the driver was the latest version which I've download from MSI website and I have switch of SBA already...
    My next query is whether because 3DMarks03 or DirectX 9.0 is not yet digitally signed as DxDiag has prompt me to get my drivers signed or DirectX 9.0 and 3Dmarks03 are not updated yet to run on nVidia based cards as I know that all Radeon 9500Pro/9700 series comes with direct 9.0 drivers and not for nVidia cards?
    Hope someone could assist me... Thanks!!!
    Intel Pentium 4 2.4B Ghz with SSE2 533FSB
    Abit SA7 SIS 654D 533FSB
    512MB DDR333 Kingston Ram
    5 Fans cooler system
    400watts PSU
    Maxtor 80GB Fluid Bearing with 2MB Buffer 7200RPM HDD
    Seagate 10.2GB 5400RPM HDD
    SAMSUNG CDRW ROM
    MSI DVD ROM
    PCI 56kbps Modem
    SAMSUNG SyncMaster 753DF 75Hz refresh
    nVidia driver version: 6.13.10.4107
    VGA BIOS version: 4.25.00.29.00
    MSI Ti-4200DT 128MB 4x AGP
    SBA: disabled
    Anti-Aliasing: 2x
    Anisotropic - Filitering Off
    Performance: Balanced

    I've load and install all my motherboard drivers, SIS AGP driver ver 1.4 since my last format and before the installation of DirectX 9.0 and 3DMarks03...
    Do I have to reinstall everything again? ?(

Maybe you are looking for

  • Photoshop CS4 is unbelievably slow. Downgrade me please.

    I'm running Photoshop CS4 on a 2.6 MacBook Pro with 4 Gig of RAM. Everything on this machine runs beautifully, and I rarely, if ever, experience enough lag in any app to become frustrated. Photoshop CS4 is the only exception. Extremely frustrating pr

  • HT201401 iPhone Lock/Sleep button was all of a sudden hard to push, never dropped and in great condition

    I woke up one morning and my new iphone's lock/sleep button was really hard to push. It didnt click it only felt like it was stuck, except I could turn it on and off using pressure. Just wondering if theres any way my warranty would cover this or any

  • License position for ADDM, ASH and AWR

    What's the license position for ADDM, ASH & AWR ? I see these are freely available via OEM DB Control on my database instance. However I think I remember seeing ( though I can't find it now ) something that said they are chargeable ( under the Oracle

  • Changed po details

    Hi All, if the po changed, then the details will display in smartform. like qty, delivery date, etc.... example prg.. (SE 38) *& Report ZSA124 * REPORT ZSA124 LINE-SIZE 132 NO STANDARD PAGE HEADING LINE-COUNT 065(001) MESSAGE-ID VR. TABLES: DD04T, CD

  • Dataguard Doubt

    hi all first this is not an problem i am reporting, rather an doubt i have as i am experimenting dataguard in oracle 10g. I have setup and primary and standby database and configured dataguard, switchover and failovers are working fine. if my primary