1 / 5

Introducción a Comunicación Serial con Visual Basic 6.0

Introducción a Comunicación Serial con Visual Basic 6.0. Arquitectura del Computador II Primera Práctica de Laboratorio. Objetivos. Crear un Formulario Básico Aprender a utilizar el puerto serial a partir del Componente Microsoft Comm Control 6.0

airlia
Download Presentation

Introducción a Comunicación Serial con Visual Basic 6.0

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Introducción a Comunicación Serial con Visual Basic 6.0 Arquitectura del Computador II Primera Práctica de Laboratorio

  2. Objetivos • Crear un Formulario Básico • Aprender a utilizar el puerto serial a partir del Componente Microsoft Comm Control 6.0 • Realizar un Chat para comunicar dos computadoras a través del puerto serial

  3. Propiedades deMicrosoft Comm Control • Inputlen: Determina el número de caracteres o bytes que serán leídos al utilizar el comando de lectura “input”. • RThreshold: Determina cada cuántos caracteres se realizará un evento On_comm • Commport: indica el número del puerto COM a utilizar. • Settings: indica las características de comunicación. Ejemplo: Baud Rate, Paridad, etc.

  4. Propiedades deMicrosoft Comm Control

  5. Evento On_Comm • Es llamado para diferentes tipos de eventos: • Recepción: Si Rthreshold está habilitado o si se recibe un caracter de EOF. En este caso debe leerse a través del método input. • Envío: Si Sthreshold está habilitado. Esta opción es utilizada, por ejemplo, para realizar envío de información superior al tamaño del buffer

More Related