KR19990074769A - Serial Communication Device and Method of PC - Google Patents

Serial Communication Device and Method of PC Download PDF

Info

Publication number
KR19990074769A
KR19990074769A KR1019980008574A KR19980008574A KR19990074769A KR 19990074769 A KR19990074769 A KR 19990074769A KR 1019980008574 A KR1019980008574 A KR 1019980008574A KR 19980008574 A KR19980008574 A KR 19980008574A KR 19990074769 A KR19990074769 A KR 19990074769A
Authority
KR
South Korea
Prior art keywords
vcr
communication
port
serial communication
vcrs
Prior art date
Application number
KR1019980008574A
Other languages
Korean (ko)
Inventor
조혜진
Original Assignee
윤종용
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 윤종용, 삼성전자 주식회사 filed Critical 윤종용
Priority to KR1019980008574A priority Critical patent/KR19990074769A/en
Publication of KR19990074769A publication Critical patent/KR19990074769A/en

Links

Abstract

본 발명에 따른 PC와 VCR의 직렬 통신 장치 및 방법은 다중 입/출력 보드를 통해 PC의 직렬 통신 포트와 다수개의 VCR을 연결하여 PC와 다수대의 VCR간의 제어 명령어의 전송을 가능하도록하여 각 VCR의 통신 상태 및 동작 상태를 테스트할 수 있다.The serial communication apparatus and method of a PC and a VCR according to the present invention connect a serial communication port of a PC and a plurality of VCRs through a multi-input / output board to enable transmission of control commands between the PC and the plurality of VCRs. You can test the communication status and operation status.

따라서, 본 발명에 따른 PC와 VCR의 직렬 통신 장치 및 방법에 의하여 PC의 직렬 통신 포트를 통해 RS-232C방식의 직렬 통신 방식을 지원하는 VCR과 같은 기기를 동시에 여러 대를 테스트할 수 있어 VCR의 통신 상태 및 동작 상태 여부에 대한 판단을 용이하게 수행할 수 있다.Therefore, by using the serial communication device and method of the PC and the VCR according to the present invention, it is possible to simultaneously test several devices such as a VCR supporting the RS-232C serial communication method through the serial communication port of the PC. It is possible to easily determine whether the communication state and the operation state.

Description

피씨와 브이씨알의 직렬 통신 장치 및 방법Serial Communication Device and Method of PC

본 발명은 PC와 VCR의 직렬 통신 장치 및 방법에 관한 것으로서, 더욱 상세하게는 PC의 직렬 통신 포트를 통해 복수개의 VCR에 대한 직렬 통신 수행 여부 및 동작 상태를 테스트할 수 있도록 된 PC와 VCR의 직렬 통신 장치 및 방법에 관한 것이다.The present invention relates to a serial communication device and a method of a PC and a VCR, and more particularly, to a serial communication of a PC and a VCR, which is capable of testing whether or not to perform serial communication for a plurality of VCRs through a serial communication port of a PC. A communication device and method are disclosed.

일반적으로 데이터 단말들간에 데이터 신호를 통신하기 위해서는 먼저 물리적으로 선로가 연결되어 있어야 한다. 그러나, 통신이 필요한 컴퓨터나 여러 데이터 장비들은 다양한 종류가 있어 이들을 연결하는 방법이 다를 수 있다. 이러한 문제를 해결하기 위해서는 장치간의 인터페이스 규격에 대한 표준화가 필요한 데, 이러한 인터페이스 규격에는 연결 커넥터 핀의 수와 크기 같은 물리적 연결 방법에 대한 규정, 접속 회로의 인피던스나 신호 레벨등과 같은 전기적 규격, 각 접속 회로의 기능과 동작 조건 및 절차에 대한 규정이 필요하다.In general, in order to communicate data signals between data terminals, lines must be physically connected. However, there are many different types of computers or data devices that require communication, so the way they connect can be different. In order to solve this problem, standardization of interface specifications between devices is required. These interface specifications include physical connection methods such as the number and size of connecting connector pins, electrical specifications such as impedance and signal level of connection circuits, and the like. Regulations on the function and operating conditions and procedures of the connection circuits are required.

이러한 물리적 인터페이스는 DTE와 DCE 혹은 DTE와 DTE를 연결하기 위한 물리적, 전기적 규격에 대한 정의를 말한다. 대부분의 PC에 있는 직렬 포트(COM포트)나 호스트 컴퓨터의 터미널 포트는 RS-232C규격을 만족하고 있어 RS-232C 인터페이스라고 한다.These physical interfaces are the definitions of physical and electrical specifications for connecting DTEs and DCEs or DTEs and DTEs. The serial port (COM port) in most PCs or the terminal port of the host computer meets the RS-232C specification and is called an RS-232C interface.

한편, 이러한 RS-232C 인터페이스를 사용하는 종래 PC를 이용하여 VCR과 직렬 통신에 의한 VCR의 동작 상태를 테스트하는 방법에서는 PC와 VCR간의 1:1 통신만이 가능하였다. 즉, 종래 PC에서 사용할 수 있는 직렬 통신 포트는 COM1-COM4까지 4개 포트가 있으나 각각의 포트들은 PC에서 항상 사용되고 있으며 따라서, PC의 직렬 통신 포트에 직접 연결하여 사용할 수 있는 VCR의 수는 제한이 있었다. 따라서, VCR과 같이 RS-232C통신 방식을 지원하는 기기를 PC를 통해 동시에 여러대의 동작상태를 체크하는 것은 불가능하였다.On the other hand, in the method of testing the operation state of the VCR by serial communication with the VCR using the conventional PC using the RS-232C interface, only 1: 1 communication between the PC and the VCR was possible. That is, the serial communication port that can be used in the conventional PC has 4 ports from COM1 to COM4, but each port is always used in the PC. Therefore, the number of VCRs that can be directly connected to the serial communication port of the PC is limited. there was. Therefore, it was not possible to check the operation status of several devices at the same time through a PC that supports the RS-232C communication method such as a VCR.

따라서, 본 발명은 전술한 문제점을 해결하기 위하여 안출된 것으로서, 그 목적은 PC의 직렬 통신 포트를 통해 다수대의 VCR과 RS-232C 통신 가능 여부를 체크하고, 직렬 통신을 수행하기 위한 제어 신호를 송수신할 수 있는 PC와 VCR의 직렬 통신 장치 및 방법을 제공하고자 하는 것이다.Accordingly, the present invention has been made to solve the above-mentioned problems, the object of the present invention is to check whether RS-232C communication with a plurality of VCR via the serial communication port of the PC, and transmit and receive a control signal for performing serial communication It is an object of the present invention to provide a serial communication device and a method of a PC and a VCR.

전술한 목적을 달성하기 위한 본 발명에 따른 PC와 VCR의 직렬 통신 장치는 RS-232C 인터페이스를 지원하는 다수대의 VCR과, 상기 다수대의 VCR과 직렬 데이터 통신을 수행하여 상기 VCR과의 통신 상태 및 각 VCR의 동작 상태를 테스트하는 PC와, 상기 PC와 VCR간에 일대일 데이터 통신이 가능하도록 PC와 다수대의 VCR간을 접속시키고 접속된 통신라인을 선택적으로 절환시키는 다중 입/출력보드를 구비하여 이루어진다.In order to achieve the above object, a serial communication apparatus of a PC and a VCR according to the present invention performs serial data communication with a plurality of VCRs supporting an RS-232C interface, and the plurality of VCRs, and communicates with the VCR. And a multi-input / output board for connecting the PC and the plurality of VCRs and selectively switching the connected communication lines to enable one-to-one data communication between the PC and the VCR.

또한, 본 발명에 따른 PC와 VCR의 직렬 통신 방법은 PC와 직렬 통신 포트를 통해 접속된 VCR의 동작 상태 및 통신 가능 여부를 테스트하는 방법에 있어서, 상기 PC로부터 VCR로 전송되는 명령어를 종류별로 구분하여 설정한 명령어 그룹을 선택하고, 상기 선택된 명령어 그룹에 속한 명령어 중에서 전송하고자 하는 제어 명령어를 선택한 후 다수대의 VCR중에서 테스트하고자 하는 특정 VCR과 접속된 직렬 통신 포트를 선택하여 VCR의 통신 상태 및 동작 상태를 체크하도록 된 것을 특징으로 한다.In addition, the serial communication method of the PC and the VCR according to the present invention is a method for testing the operation status and communication availability of the VCR connected through the PC and the serial communication port, the classification of commands transmitted from the PC to the VCR by type Select the command group set up, select the control command to be transmitted among the commands belonging to the selected command group, and select the serial communication port connected to the specific VCR to be tested among the plurality of VCRs to communicate and operate the VCR. Characterized in that it is to check.

도 1은 본 발명에 따른 PC와 VCR의 통신 시스템을 보인 시스템 구성도,1 is a system configuration showing a communication system between a PC and a VCR according to the present invention;

도 2는 본 발명을 구현하기 위한 시스템의 메인 화면을 보인 도,2 shows a main screen of a system for implementing the present invention;

도 3은 도 2에 도시된 메인 화면에서 포트 설정 보기 버튼을 선택한 경우에 표시되는 화면을 보인 도,3 is a view showing a screen displayed when the port setting view button is selected in the main screen shown in FIG.

도 4는 도 3에서 수정 버튼을 선택한 경우에 표시되는 포트 설정 화면을 보인 도,4 is a view illustrating a port setting screen displayed when the modify button is selected in FIG.

도 5는 본 발명에 따른 직렬 통신 방법에서의 자동 체크 기능의 수행결과를 보인 도,5 is a view showing a result of performing an automatic check function in a serial communication method according to the present invention;

도 6은 도 1에 도시된 메인 화면에서 타임아웃 설정 버튼을 선택받은 경우에 표시되는 화면을 나타낸 것이다.FIG. 6 illustrates a screen displayed when a timeout setting button is selected on the main screen shown in FIG. 1.

*** 도면의 주요 부분에 대한 부호의 설명 ****** Explanation of symbols for the main parts of the drawing ***

10:PC, 20:다중 입/출력 보드,10: PC, 20: multiple input / output board,

30:VCR, 11:명령어 그룹 선택부,30: VCR, 11: command group selector,

12:세부 명령어 선택부, 13:결과표시창,12: Detailed command selection section, 13: Result display window,

14:포트 선택부, 15:파라미터 입력부,14: port selector, 15: parameter input,

16:송신 버튼, 17:포트 설정 보기 버튼,16: Send button, 17: View port settings button,

18:자동 체크 버튼, 19:타임 아웃 설정 버튼.18: Auto check button, 19: Timeout setting button.

이하에서는 첨부한 도면을 참조하여 본 발명의 양호한 실시예에 따른 PC와 VCR의 직렬 통신 장치 및 방법에 대해서 상세하게 설명한다.Hereinafter, a serial communication apparatus and method for a PC and a VCR according to a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명을 구현하기 위한 PC와 VCR간의 개략적인 통신 시스템을 보인 시스템 구성도이다. 도 1에 도시된 바와 같이, 본 발명을 구현하기 위한 시스템은 RS-232C인터페이스를 지원하는 다수대의 VCR(30)과, 상기 다수대의 VCR(30)과의 직렬 통신을 수행하기 위한 PC(10)와, 상기 PC(10)와 VCR(30)간에 일대일 데이터 통신이 가능하도록 PC와 다수대의 VCR간을 접속시키며, 접속된 통신라인을 선택적으로 절환시키는 다중 입/출력보드(20)를 구비하여 이루어진다.1 is a system configuration diagram showing a schematic communication system between a PC and a VCR for implementing the present invention. As shown in FIG. 1, a system for implementing the present invention includes a plurality of VCRs 30 supporting an RS-232C interface and a PC 10 for performing serial communication with the plurality of VCRs 30. And a multiple input / output board 20 for connecting the PC and the plurality of VCRs to enable one-to-one data communication between the PC 10 and the VCR 30 and for selectively switching the connected communication lines. .

이때, 다중 입/출력 보드(20)는 PC 내부에 장착되어, PC(10)에서 다중 입/출력 보드(20)의 각 포트들을 인식할 수 있도록 구성되며, 일예로 다중 입/출력 보드(20)를 8포트로 설정된 것을 사용하는 경우 PC(10)에서 인식하는 다중 입/출력 보드(20)의 각 포트는 포트 5번부터 포트 12번까지로 설정되게 된다.In this case, the multi-input / output board 20 is mounted inside the PC, and configured to recognize each port of the multi-input / output board 20 in the PC 10, for example, the multi-input / output board 20. In the case of using the 8 port set), each port of the multi-input / output board 20 recognized by the PC 10 is set from port 5 to port 12.

본 발명을 구현하기 위한 PC와 VCR간의 인터페이스 사양은, 통신 라인을 접속시키기 위한 잭(JACK)타입으로는 D-SUB DCE가 사용되고, PC와 VCR간의 통신 형태는 PC와 VCR간에 데이터가 양쪽 방향으로 동시에 전송될 수 있는 쌍방향 통신을 사용한다. 또한, 동기 방식은 시작비트(START BIT)와 정지비트(STOP BIT)를 사용하여 동기를 맞추는 비동기식이 사용되며, 문자 코드로는 아스키(ASCII)코드가 설정된다. 한편, VCR에서 설정되는 RS-232C 직렬 통신 파라미터(parameter)는 다음의 표 1과 같이 설정될 수 있다.As an interface specification between a PC and a VCR for implementing the present invention, a D-SUB DCE is used as a jack type for connecting a communication line, and a communication type between the PC and the VCR is used in both directions between the PC and the VCR. Use two-way communication that can be sent at the same time. In the synchronous method, an asynchronous method of synchronizing using a start bit and a stop bit is used. An ASCII code is set as a character code. Meanwhile, RS-232C serial communication parameters set in the VCR may be set as shown in Table 1 below.

파라미터parameter 설 정Set 초 기 치Initial value BAUD RATEBAUD RATE 1200,2400,4800,96001200,2400,4800,9600 96009600 데이터 길이Data length 8비트, 7비트8-bit, 7-bit 7비트7 bit 패리티(PARITY)PARITY NONE,ODD,EVENNONE, ODD, EVEN ODDODD 정지 비트(STOP BIT)STOP BIT 1비트, 2비트1 bit, 2 bits 1비트1 bit

도 2는 본 발명에 따른 PC와 VCR간의 직렬 통신을 수행하기 위한 프로그램의 메인 화면을 나타낸 것이다. 도 2에 도시된 바와 같이, 본 발명에 따른 PC와 VCR 간의 직렬 통신 방법을 수행하기 위한 메인 화면은 명령어 전송을 위한 명령어 그룹 선택부(11)와, 선택된 명령어 그룹에 속한 명령어 중에서 전송하고자 하는 세부 명령어를 선택 및 표시하는 세부 명령어 선택부(12)와, 선택된 명령어를 특정 VCR로 전송하기 위하여 통신 포트를 선택하는 포트선택부(14)와, 선택된 명령어의 파라미터 필요유무에 따른 파라미터를 입력받는 파라미터 입력부(15)와, 선택된 명령어의 전송여부를 입력받는 송신버튼(16)과, 현재 시스템에 설정된 포트의 설정정보를 확인하기 위한 포트 설정 보기 버튼(17)과, 특정 직렬 통신 포트에 대한 통신 수행 여부를 자동 체크하기 위한 자동체크버튼(18)과, 통신시에 데이터의 쓰기 및 읽기 시간을 설정하기 위한 타임아웃 설정 버튼(19) 및 명령어의 송/수신시의 메시지를 디스플레이하는 결과표시창(13)을 구비하여 이루어진다.2 shows a main screen of a program for performing serial communication between a PC and a VCR according to the present invention. As shown in FIG. 2, a main screen for performing a serial communication method between a PC and a VCR according to the present invention includes a command group selector 11 for command transmission and a detail to be transmitted among commands belonging to the selected command group. A detailed command selector 12 for selecting and displaying a command, a port selector 14 for selecting a communication port for transmitting the selected command to a specific VCR, and a parameter for receiving a parameter according to the parameter requirement of the selected command The input unit 15, the transmission button 16 for receiving the transmission of the selected command, the port setting view button 17 for confirming the setting information of the port currently set in the system, and communication for a specific serial communication port Automatic check button 18 for automatically checking whether or not, a timeout setting button 19 for setting data writing and reading time in communication and command And a result display window 13 for displaying a message at the time of transmission / reception of the instruction word.

전술한 구성에 있어서, 먼저 VCR의 동작 상태를 테스트하기 위하여 해당 VCR에 전송할 명령어를 선택하게 되는 데, 이때 선택되는 명령어는 먼저 명령어 그룹(command group)이 선택되게 되고, 다음에는 명령어 그룹에서 수행하고자 하는 실제 세부 명령어(command)를 선택받게 된다. 이때 VCR(30)로 전송되는 명령어의 형식은 다음과 같다.In the above-described configuration, first, a command to be transmitted to a corresponding VCR is selected to test an operation state of the VCR, in which a command group is selected first, and then a command group is to be performed. The actual detailed command will be selected. At this time, the format of the command transmitted to the VCR 30 is as follows.

STXSTX COMMAND GROUPCOMMAND GROUP COMMANDCOMMAND COMMANDCOMMAND ETXETX

전술한 명령어 형식에서 STX는 텍스트의 시작(Start of TeXt character)을 표시하는 전송 제어 문자로써 문자 코드 02H로 설정되어 데이터의 시작점에 반드시 추가되고, ETX는 텍스트를 종료시키기 위하여 사용되어 텍스트의 끝(End of TeXt character)을 표시하는 전송제어문자로써 문자 코드 03H로 설정되어 데이터의 마지막 부분에 반드시 추가한다.In the above command format, STX is a transmission control character that indicates the start of the text. It is set to the character code 02H and must be added to the beginning of the data, and ETX is used to end the text. End of TeXt character) is a transmission control character. It is set as character code 03H and must be added to the end of data.

또한, 명령어 그룹은 VCR을 제어하기 위한 명령어를 특정 항목별로 구분한 것으로써 이는 다음의 표 2에 도시된 바와 같이 구분되어질 수 있다.In addition, the command group divides commands for controlling the VCR by specific items, which may be divided as shown in Table 2 below.

명령어 그룹Command group 내 용Contents 명령어 그룹Command group 내 용Contents O--O-- 기본동작Basic operation L--L-- 타임랩스 동작Time Lapse Motion P--P-- 파워(power)Power D--D-- DisplayDisplay R--R-- 사용자 설정User settings V--V-- 비디오video T--T-- 타이머timer Q--Q-- 조회Lookup C--C-- 카운터counter R--R-- 통신Communication

다음에는 이러한 구성에 따른 본 발명의 PC와 VCR의 직렬 통신 장치 및 방법을 설명한다. 먼저, 본 발명에 따른 직렬 통신 테스트 프로그램에 의해 특정 VCR의 통신 가능 여부 및 동작 상태등을 테스트하고자 하는 경우 도 3에 도시된 메인 화면에서 해당 VCR에 전송하고자 하는 명령어 그룹을 선택한 후 선택된 명령어 그룹에 속한 세부 명령어를 선택하게 된다. 이때 선택된 명령어가 파라미터의 입력이 필요없는 명령어인 경우에는 포트 선택부(14)를 통해 해당 VCR과 연결이 설정되어 있는 통신 포트를 선택한 뒤 명령어 송신을 위한 송신(send)버튼(16)을 선택하여 명령어를 해당 VCR로 전송하게 된다.Next, a serial communication apparatus and method for a PC and a VCR of the present invention will be described. First, in the case of testing the communication capability and operation state of a specific VCR by the serial communication test program according to the present invention, after selecting a command group to be transmitted to the corresponding VCR in the main screen shown in FIG. Select the detailed command belonging. In this case, if the selected command is a command that does not require parameter input, the communication port in which connection with the corresponding VCR is established through the port selector 14 is selected, and then a send button 16 for command transmission is selected. The command will be sent to the VCR.

한편, 파라미터의 입력이 필요한 명령어인 경우에는 파라미터 입력부(15)에 해당 파라미터를 입력한다. 이때 파라미터와 명령어는 콜론(:)으로 구분하여 나타내고, 필요한 파라미터의 입력이 완료되면 역시 송신 버튼(16)을 선택하여 명령어를 송신한다.On the other hand, in the case of a command that requires input of a parameter, the parameter is input to the parameter input unit 15. At this time, the parameter and the command are separated by a colon (:), and when the input of the required parameter is completed, the send button 16 is also selected to transmit the command.

도 3은 도 2에 도시된 메인 화면에서 포트 설정 보기 버튼(17)을 선택한 경우에 표시되는 화면을 나타낸 것이다. 도 3에 도시된 바와 같이, 사용자가 도 2의 메인 화면에서 포트 설정 보기 버튼(17)을 선택한 경우에는 현재 시스템 상에서 PC와 연결되어 있는 각 통신 포트에 대한 정보가 표시되게 된다. 이때 표시되는 정보로는 각 포트의 보오 레이트(baud rate), 데이터 길이, 패리티 비트, 정지 비트등이 해당되며, 이러한 정보는 프로그램이 시작될 때 기본 설정값으로 초기화되어 설정된다.3 illustrates a screen displayed when the port setting view button 17 is selected on the main screen illustrated in FIG. 2. As shown in FIG. 3, when the user selects the port setting view button 17 on the main screen of FIG. 2, information about each communication port currently connected to the PC on the system is displayed. Information displayed at this time includes baud rate, data length, parity bit, stop bit, etc. of each port, and this information is initialized and set to a default value when the program starts.

이때, 포트 정보 화면에 표시되는 각 포트에 대한 정보를 수정하고자 하는 경우에는 포트 정보 화면에서 설정값의 변경을 원하는 포트를 선택한 후 수정 버튼을 선택하게 된다.At this time, if you want to modify the information for each port displayed on the port information screen, select the port to change the setting value in the port information screen and then select the modify button.

도 4는 도 3에서 수정 버튼을 선택한 경우에 표시되는 포트 설정 화면을 보인 것이다. 도 4에 도시된 바와 같이, 포트 설정을 수정하고자 하는 경우에는 각 항목에 대한 설정을 변경한 후 적용 버튼을 눌러 포트 설정을 수정할 수 있다. 한편, 기본값 버튼을 선택하면 보오 레이트는 9600, 데이터 비트는 7비트, 패리티 비트는 홀수(odd) 패리티로, 정지 비트는 1 비트인 디폴트(default)값으로 설정된다.4 illustrates a port setting screen displayed when the modify button is selected in FIG. 3. As shown in FIG. 4, when the port setting is to be modified, the port setting may be modified by pressing the apply button after changing the setting for each item. On the other hand, when the default button is selected, the baud rate is set to 9600, the data bit is 7 bits, the parity bit is odd parity, and the stop bit is set to a default value of 1 bit.

또한, 사용자가 특정 포트의 통신 가능 여부에 대한 자동 체크를 수행하고자 하는 경우에는 메인 화면의 포트 선택부(14)에서 자동 체크를 원하는 포트를 선택한 후 자동 체크 버튼(18)을 선택하게 된다. 이때 수행되는 자동 체크는 사용자로부터 선택된 포트에 'RCK'명령어를 두 번 송신한 후 수신측으로부터 'RCK'명령어가 수신되면 통신이 성공적으로 수행되는 것으로 판단하여 2초간 연속된 경보음을 출력하고, 통신이 실패한 것으로 판단되면 0.5초 간격으로 2회 경보음을 온/오프시켜 통신 가능 여부를 자동적으로 체크하게 된다. 이러한 자동 체크 결과는 도 5에 도시된 바와 같이, 메인 화면의 결과표시창(13)을 통해 표시되게 된다. 또한, 결과 표시창(13)을 통해 표시되는 내용을 로그(log) 화일로 저장되게 되며, 저장된 로그 파일은 텍스트 파일을 볼 수 있는 기존의 프로그램 예컨데 메모장이나 워드패드등을 통해 저장된 내용을 확인할 수 있으며, 이러한 프로그램을 통해서 명령어의 송수신 결과를 프린터를 통해 프린트할수 있다.In addition, when a user wants to perform an automatic check on whether a specific port can be communicated, the user selects a port to be automatically checked in the port selector 14 of the main screen and then selects an automatic check button 18. In this case, the automatic check is performed by sending the 'RCK' command twice to the port selected by the user, and when the 'RCK' command is received from the receiver, it determines that communication is successfully performed and outputs a continuous alarm sound for 2 seconds. If it is determined that communication has failed, it automatically checks for communication by turning on / off the alarm sound twice at 0.5 second intervals. This automatic check result is displayed through the result display window 13 of the main screen, as shown in FIG. In addition, the contents displayed through the result display window 13 will be stored as a log file, and the stored log file can check the contents stored in an existing program, such as a notepad or word pad, which can view a text file. With these programs, you can print the results of sending and receiving commands through the printer.

도 6은 도 1에 도시된 메인 화면에서 타임 아웃 설정 버튼을 선택받은 경우에 표시되는 화면을 나타낸 것이다. 도 6에 도시된 바와 같이, 타임 아웃 설정 버튼(19)이 선택된 경우에는 통신시에 데이터의 읽기 및 쓰기의 시간을 설정하기 위하여 읽기 시간 및 쓰기 시간을 입력받은 후 확인 버튼이 선택되면 입력된 시간을 적용하게 된다.FIG. 6 illustrates a screen displayed when a timeout setting button is selected on the main screen shown in FIG. 1. As shown in FIG. 6, when the timeout setting button 19 is selected, the input time when the read button is selected after receiving the read time and the write time to set the time of reading and writing data during communication. Will be applied.

본 발명에 따른 PC와 VCR의 직렬 통신 장치 및 방법은 전술한 실시예에 국한되지 않고 본 발명의 기술 사상이 허용하는 범위 내에서 다양하게 변형하여 실시될 수 있다.The serial communication apparatus and method of a PC and a VCR according to the present invention are not limited to the above-described embodiments, and may be variously modified and implemented within the scope of the technical idea of the present invention.

이상에서 설명한 바와 같이, 본 발명에 따른 PC와 VCR의 직렬 통신 장치 및 방법은 다중 입/출력 보드를 통해 PC의 직렬 통신 포트와 다수개의 VCR을 연결하여 PC와 다수대의 VCR간의 제어 명령어의 전송을 가능하도록하여 각 VCR의 통신 상태 및 동작 상태를 테스트할 수 있다.As described above, the apparatus and method for serial communication between a PC and a VCR according to the present invention connects a serial communication port of a PC with a plurality of VCRs through a multiple input / output board to transmit control commands between the PC and the plurality of VCRs. It is possible to test the communication status and operation status of each VCR.

따라서, 본 발명에 따른 PC와 VCR의 직렬 통신 장치 및 방법에 의하여 PC의 직렬 통신 포트를 통해 RS-232C 방식의 직렬 통신 방식을 지원하는 VCR과 같은 기기를 동시에 여러 대를 테스트할 수 있어 VCR의 통신 상태 및 동작 상태 여부에 대한 판단을 용이하게 수행할 수 있는 효과를 제공하게 된다.Therefore, the serial communication apparatus and method of the PC and the VCR according to the present invention can simultaneously test several devices such as a VCR supporting the RS-232C serial communication method through the serial communication port of the PC. It provides an effect that can easily determine whether the communication state and the operating state.

Claims (3)

RS-232C 인터페이스를 지원하는 다수대의 VCR과,Multiple VCRs with RS-232C interface, 상기 다수대의 VCR과 직렬 데이터 통신을 수행하여 상기 VCR과의 통신 상태 및 각 VCR의 동작 상태를 테스트하는 PC와,A PC which performs serial data communication with the plurality of VCRs to test a communication state with the VCRs and an operation state of each VCR; 상기 PC와 VCR간에 일대일 데이터 통신이 가능하도록 PC와 다수대의 VCR간을 접속시키고 접속된 통신라인을 선택적으로 절환시키는 다중 입/출력보드를 구비하여 이루어지는 PC와 VCR의 직렬 통신 장치.And a multiple input / output board connecting the PC and the plurality of VCRs and selectively switching the connected communication lines to enable one-to-one data communication between the PC and the VCR. PC와 직렬 통신 포트를 통해 접속된 VCR의 동작 상태 및 통신 가능 여부를 테스트하는 방법에 있어서,In the method of testing the operation status and communication of the VCR connected to the PC through the serial communication port, 상기 PC로부터 VCR로 전송되는 명령어를 종류별로 구분하여 설정한 명령어 그룹을 선택하고, 상기 선택된 명령어 그룹에 속한 명령어 중에서 전송하고자 하는 제어 명령어를 선택한 후 다수대의 VCR중에서 테스트하고자 하는 특정 VCR과 접속된 직렬 통신 포트를 선택하여 VCR의 통신 상태 및 동작 상태를 체크하도록 된 것을 특징으로 하는 PC와 VCR의 직렬 통신 방법.Select a command group that is set by dividing the commands transmitted from the PC to the VCR by type, select a control command to be transmitted among the commands belonging to the selected command group, and then connect the serial connected to a specific VCR to be tested among a plurality of VCRs. A serial communication method between a PC and a VCR, wherein the communication port is selected to check a communication state and an operation state of the VCR. 제 2 항에 있어서, 상기 선택된 명령어의 파라미터 필요유무에 따라 파라미터를 입력받는 파라미터 입력 기능과,The method of claim 2, further comprising: a parameter input function for receiving a parameter according to whether a parameter of the selected command is required; 현재 시스템에 설정된 통신 포트의 설정 정보를 확인하고 수정하는 포트 설정 기능과,Port setting function to check and modify the setting information of the communication port currently set in the system, 특정 직렬 통신 포트에 대한 통신 수행 여부를 자동 체크하기 위한 자동체크버튼과,An automatic check button for automatically checking whether or not communication is performed for a specific serial communication port; 통신시에 데이터의 쓰기 및 읽기 시간을 설정하기 위한 타임아웃 설정 기능을 더 구비하여 이루어지는 것을 특징으로 하는 PC와 VCR의 직렬 통신 방법.And a timeout setting function for setting a time for writing and reading data during communication.
KR1019980008574A 1998-03-13 1998-03-13 Serial Communication Device and Method of PC KR19990074769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019980008574A KR19990074769A (en) 1998-03-13 1998-03-13 Serial Communication Device and Method of PC

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980008574A KR19990074769A (en) 1998-03-13 1998-03-13 Serial Communication Device and Method of PC

Publications (1)

Publication Number Publication Date
KR19990074769A true KR19990074769A (en) 1999-10-05

Family

ID=65909361

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980008574A KR19990074769A (en) 1998-03-13 1998-03-13 Serial Communication Device and Method of PC

Country Status (1)

Country Link
KR (1) KR19990074769A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100651967B1 (en) * 2000-10-11 2006-11-30 엘지전자 주식회사 Apparatus for transmitting/receiving data of home automatic system
CN114039715A (en) * 2021-11-04 2022-02-11 中国人民解放军63660部队 LabVIEW-based multipath signal delay control device and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100651967B1 (en) * 2000-10-11 2006-11-30 엘지전자 주식회사 Apparatus for transmitting/receiving data of home automatic system
CN114039715A (en) * 2021-11-04 2022-02-11 中国人民解放军63660部队 LabVIEW-based multipath signal delay control device and method

Similar Documents

Publication Publication Date Title
US4964124A (en) Computer peripheral tester
US5694618A (en) Apparatus which transmits a check signal to determine whether a printer is capable of bidirectional data transmission and remotely setting the printer operating environment accordingly
JPH0133980B2 (en)
CN1573723B (en) Method and apparatus for communication via serial multi-port
CN100590574C (en) System and method for establishing wireless connection
KR100918013B1 (en) Display device
WO1993006587A1 (en) A method for controlling a display device in a display system, and a display system and a display device
US6243780B1 (en) Interface of a monitor communicating with personal computer
CN109992551B (en) USB C-type interface information reading method and information reading circuit
KR19990074769A (en) Serial Communication Device and Method of PC
US6393020B1 (en) Gated multi-drop communication system
US6052381A (en) Arrangement and method for communication
KR20010008728A (en) A display chracter font tranfering apparatus and method of portable terminal equipment
US20010046281A1 (en) Software controlled switch device
US5172333A (en) Interfacing hand-held remote controllers for computer controlled operation
JP2835034B2 (en) Interface terminal for remote monitoring and control system
JPS6175651A (en) Modulator-demodulator
JP3192184B2 (en) Remote monitoring and control system
KR20010064761A (en) apparatus and method for UART interface
JPS61120566A (en) Graphic information transmitting equipment
JPH05292146A (en) Discrimination method for communication protocol
JPH05244230A (en) Data transmission test equipment
JPS62213348A (en) Electronic device
KR970004259B1 (en) Apparatus of ic interface
KR100619718B1 (en) Mobile terminal and its mode change method

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Withdrawal due to no request for examination