Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/14/11 13:11
Read: times


 
#181578 - Huge FIFO in USB-to-serial adapter
Responding to: ???'s previous message
Maarten Brock said:
Ghulam,

Are you using real RS232 or a USB-RS232 converter? If the latter, how are you reading it in LabView? One byte at a time or maybe two, or in large chunks? Every read will take at least 2ms on a USB device limiting your throughput.

Maarten

As long as any handshake signals doesn't block the transfer of serial data, you should be able to read the characters one-by-one without a problem. The microcontroller will still be able to send a large number of characters into the very large FIFO available in USB-to-serial adapters. So a serial read would not result in a USB turn-around event stalling the USB channel and limiting the bandwidth.

USB-to-serial adapters have huge FIFO sizes just because of the high latencies with USB.

But the problem here is that people spends time trying to suggest different solutions, while we haven't even received a good explanaition what the problem is. We do not know if there is a bandwidth problem. Or a sampling rate problem. Or a task-switch problem. Or a problem that a sample gets time-stamped first when picked up from the serial port (after an unknown wait in the FIFO). Or if the OP have other problems.

So in the end, we should stop wasting our time until the OP do give enough information to make it meaningful to restart the thread.


List of 40 messages in thread
TopicAuthorDate
Transmitting a 100 Hz signal through 8051            01/01/70 00:00      
   What is your problem?            01/01/70 00:00      
   RE: "the 8051 has transmission speed upto 19200"            01/01/70 00:00      
      the 8051 has transmission speed upto 19200            01/01/70 00:00      
         Incorrect analysis            01/01/70 00:00      
            Timing            01/01/70 00:00      
               Doesn't help to send at exact time - PC receive will jitter            01/01/70 00:00      
                  Windows For Sure Will...            01/01/70 00:00      
                  A Labview Limitation?            01/01/70 00:00      
         What makes you think that?            01/01/70 00:00      
            What makes you think that?            01/01/70 00:00      
               How fast are you sampling            01/01/70 00:00      
               Insufficient analysis            01/01/70 00:00      
                  20x            01/01/70 00:00      
         you can (I have) easily get 460kb.            01/01/70 00:00      
            No need to look for high baudrates            01/01/70 00:00      
               It doesn't help            01/01/70 00:00      
                  At least ...            01/01/70 00:00      
   Haven't you done this before...?            01/01/70 00:00      
   Here are the results in the form of images            01/01/70 00:00      
      Didn't bother to preview, did you?            01/01/70 00:00      
         How did you concluded?            01/01/70 00:00      
            Duplicate!            01/01/70 00:00      
         How did you concluded?            01/01/70 00:00      
            I think you're wrong            01/01/70 00:00      
            Looks close to 'as expected'            01/01/70 00:00      
               Seems like around 200Hz sample rate            01/01/70 00:00      
                  4 samples/period for the 50Hz signal            01/01/70 00:00      
            Not sure about your concept            01/01/70 00:00      
               Depends            01/01/70 00:00      
               Continuous monitoring?            01/01/70 00:00      
                  Ambiguity            01/01/70 00:00      
   Displaying the Signal at real time            01/01/70 00:00      
      Still not mentioned what the problem is            01/01/70 00:00      
         I do not think they know the problem            01/01/70 00:00      
            A Ring Buffer ...            01/01/70 00:00      
               A double-buffered solution also possible            01/01/70 00:00      
            What is the Problem.            01/01/70 00:00      
         real RS232?            01/01/70 00:00      
            Huge FIFO in USB-to-serial adapter            01/01/70 00:00      

Back to Subject List