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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/05/05 03:59
Read: times


 
#91011 - Exactly
Responding to: ???'s previous message
Andy Neil said:
It is certainly not unheard-of for software to requires a line termination (eg, CR and/or LF) before processing a "packet," but I don't think that "most" is justified.

Even hypoterminal doesn't require it!


Exactly my point. Any common generic terminal program isn't going to require a CR and/or LF to display serial data--though without an LF you may end up writing on top of the same line over and over unless you have it append LF's.

But it seems to me the only reason you'd have to use a CR/LF to get the data to appear is if you're using some custom program--in which case you should know what you need to do to make data appear.

VB doesn't have a "GetLine" serial function as it were; it has the piece-of-junk MSComm control which can trigger comm events under certain circumstances. In fact, I don't even think that control can be configured to trigger on a specific end-of-line sequence--rather it triggers the event when the specified receive buffer is full. Disclaimer: That may have changed in VB.NET. I don't dare move beyond VB6.

Regards,
Craig Steiner


List of 28 messages in thread
TopicAuthorDate
Comm. Between 8052 & PC            01/01/70 00:00      
   Whats the baud rate? Is it PC compatible            01/01/70 00:00      
      Baud rate error            01/01/70 00:00      
         baud rate tolerances            01/01/70 00:00      
            some thoughts            01/01/70 00:00      
            Baud rate errors            01/01/70 00:00      
               baud rate errors/2            01/01/70 00:00      
                  How about this?            01/01/70 00:00      
                     Serial Timing            01/01/70 00:00      
                        additional error            01/01/70 00:00      
                     plausible            01/01/70 00:00      
                        Oops!            01/01/70 00:00      
   Cable? Speed?            01/01/70 00:00      
      More on cables            01/01/70 00:00      
      Check cable pins            01/01/70 00:00      
   PC Software?            01/01/70 00:00      
      Really?            01/01/70 00:00      
         Line termination: Some - not most            01/01/70 00:00      
            Line termination            01/01/70 00:00      
               GetLine ?!            01/01/70 00:00      
            Exactly            01/01/70 00:00      
               VB6            01/01/70 00:00      
                  Some How!!            01/01/70 00:00      
                     another option            01/01/70 00:00      
            Unspecific English            01/01/70 00:00      
            Platform-Specific Line Termination            01/01/70 00:00      
               Extra Line            01/01/70 00:00      
                  Lines, Platforms, and dead-end threads            01/01/70 00:00      

Back to Subject List