• 제목/요약/키워드: C programming language

검색결과 326건 처리시간 0.023초

LabVIEW를 이용한 CAN 통신 구현 (Implementation of CAN Communication using LabVIEW)

  • 김주은;최남섭;한병문;이준영
    • 전력전자학회:학술대회논문집
    • /
    • 전력전자학회 2012년도 전력전자학술대회 논문집
    • /
    • pp.441-442
    • /
    • 2012
  • LabVIEW is faster than text language based program regarding development time and can monitor the output of data fast without the separate compiling work as the graphic-based graphical programming language. And, its coding is fast because it is designed by connecting the function with the wire and its has the merit of relatively intuitive UI. In this paper, data transmission and receiving between the program that is implemented in C language as CAN communication method that is strong against noise and used in power electronics application field variously and LabVIEW based program are explained. And, the design of LabVIEW based CAN communication program, data analysis and GUI screen composition that is convenient for monitoring are shown.

  • PDF

VLSI의 논리설계 자동화를 위한 SDL 하드웨어 컴파일러 (A SDL Hardware Compiler for VLSI Logic Design Automation)

  • 조중휘;정정화
    • 대한전자공학회논문지
    • /
    • 제23권3호
    • /
    • pp.327-339
    • /
    • 1986
  • In this paper, a hardware compiler for symbolic description language(SDL) is proposed for logic design automation. Lexical analysis is performed for SDL which describes the behavioral characteristics of a digital system at the register transfer level by the proposed algorithm I. The algorithm I is proposed to get the expressions for the control unit and for the data transfer unit. In order to obtain the network description language(NDL) expressions equivalent to gate-level logic circuits, another algorithm, the the algorithm II, is proposed. Syntax analysis for the data formed by the algorithm I is also Performed using circuit elements such as D Flip-Flop, 2-input AND, OR, and NOT gates. This SDL hardware compiler is implemented in the programming language C(VAX-11/750(UNIX)), and its efficiency is shown by experiments with logic design examples.

  • PDF

객체 지향 시스템에서의 클래스 결합도 척도 (Coupling Measures for Classes in Object-Oriented System)

  • 이종석;천은홍
    • 한국산업정보학회논문지
    • /
    • 제6권4호
    • /
    • pp.22-29
    • /
    • 2001
  • 소프트웨어의 품질 측정의 중요성이 커짐에 따라 새로운 소프트웨어 척도를 개발하기 위한 수많은 노력이 나타났다. 객체 지향 개발 방법론의 중요성에서 볼 때 이러한 경향이 나타나는 특별한 분야는 객체 지향 시스템의 결합도 측정이다. 본 논문에서는 객체 지향 시스템의 결합도를 측정하기 위해 메소드에 의한 응집도 COM과, 클래스에 의한 결합 COC를 제안하였다. 그리고 이를 Briand가 제안한 결합도 성질을 이용하여 평가하고, C++ 언어로 작성된 시스템에 적용하여 다른 결합도 척도와 비교하였다.

  • PDF

교육용 한글 파스칼 설계 및 구현 (Design and Implementation of Educational Hangul Pascal)

  • 김용성;홍성수;심재홍
    • 한국통신학회논문지
    • /
    • 제16권10호
    • /
    • pp.1009-1018
    • /
    • 1991
  • 본 논문은 터보 파스칼 언어에 대응하는 한글 파스칼 언어를 설계하고 구현한 것이다. 한글 파스칼 명령어는 초·중·고 학생들이 쉽게 이해할 수 있는 용어로 선정하였으며, 도스(DOS)명령과 오류 메시지도 한글화 하였으며, 한글 파스칼은 IBM PC XT/AT, MS DOS 상태에서 C 언어로 구현하였다.

  • PDF

임베디드 교육용 라우터 실습장비의 구현 (Implementation of Embedded Educational Router System)

  • 박균득;정중수;정광욱
    • 한국컴퓨터정보학회논문지
    • /
    • 제18권5호
    • /
    • pp.9-17
    • /
    • 2013
  • 본 논문에서는 교육용 임베디드 라우터 실습장비 설계를 제시하였다. 교육용 임베디드 라우터 실습장비는 사용자가 인터넷 환경에서네트워크 구성과 임베디드 라우터 프로그래밍 실습 교육을 할 수 있도록 설계 및 구현되었다. 정적 및 동적 라우팅 프로토콜과 방화벽을 지원하는 라우터 기술 교육용 시스템 설계를 임베디드 환경에서 이더넷 인터페이스를 바탕으로 제시하였다. 개발 환경으로는 CPU는 PXA255, 디버깅 환경은 ADS 1.2, RTOS는 uC/OS-ii, 개발 언어는 C 언어를 사용하였다. 교육 과정으로는 제공된 정적 및 동적 라우팅 프로토콜과 방화벽 프로그램을 컴파일 및 로딩이후 데모 동작의 ping 처리과정으로 이들 기능의 점검 후 ping 패킷 처리의 성능도 살펴보았다. 이후 데모 기능과 유사하게 동작하는 프로그래밍을 하도록 기술 교육을 단계별로 진행시키도록 하였다. 즉, 정적 및 동적 라우팅 프로토콜과 패킷 필터링에 따른 프로그래밍의 완성 및 이의 검증을 수행하도록 하였다.

Implementation of interactive Stock Trading System Using VoiceXML

  • Shin Jeong-Hoon;Cho Chang-Su;Hong Kwang-Seok
    • 대한전자공학회:학술대회논문집
    • /
    • 대한전자공학회 2004년도 ICEIC The International Conference on Electronics Informations and Communications
    • /
    • pp.387-390
    • /
    • 2004
  • In this paper, we design and implement practical application service using VoiceXML. And we suggest new solutions of problems can be occurred when implementing a new systems using VoiceXML, based on the fact. Up to now, speech related services were developed using API (Application Program Interface) and programming languages, which methods depend on system architectures. It thus appears that reuse of contents and resource was very difficult. To solve these problems, nowadays, companies develop their applications using VoiceXML. Advantages of using VoiceXML when developing services are as follows. First, we can use web developing technologies and technologies for transmitting web contents. And, we can save labors for low level programming like C language or Assembler language. And we can save labors for managing resources, too. As the result of these advantages, we can reduce developing hours of applications services and we can solve problem of compatibility between systems. But, there's poor grip of actual problems can be occurred when implementing their own services using VoiceXML. To overcome these problems, we implemented interactive stock trading system using VoiceXML and concentrated our effort to find out problems when using VoiceXML. And then, we proposed solutions to these problems and analyzed strong points and weak points of suggested system.

  • PDF

병렬유전알고리즘을 응용한 대규모 전력계통의 최적 부하배분 (Optimal Economic Load Dispatch using Parallel Genetic Algorithms in Large Scale Power Systems)

  • 김태균;김규호;유석구
    • 대한전기학회논문지:전력기술부문A
    • /
    • 제48권4호
    • /
    • pp.388-394
    • /
    • 1999
  • This paper is concerned with an application of Parallel Genetic Algorithms(PGA) to optimal econmic load dispatch(ELD) in power systems. The ELD problem is to minimize the total generation fuel cost of power outputs for all generating units while satisfying load balancing constraints. Genetic Algorithms(GA) is a good candidate for effective parallelization because of their inherent principle of evolving in parallel a population of individuals. Each individual of a population evaluates the fitness function without data exchanges between individuals. In application of the parallel processing to GA, it is possible to use Single Instruction stream, Multiple Data stream(SIMD), a kind of parallel system. The architecture of SIMD system need not data communications between processors assigned. The proposed ELD problem with C code is implemented by SIMSCRIPT language for parallel processing which is a powerfrul, free-from and versatile computer simulation programming language. The proposed algorithms has been tested for 38 units system and has been compared with Sequential Quadratic programming(SQP).

  • PDF

정보영재의 정의적 학습양식에 기반한 온라인 프로그래밍 학습 튜터링 전략의 개발 및 적용 (The Development and Application of Tutoring Strategy for On-line Programming Learning Based on Affective Learning Style of the Informatics Gifted)

  • 김지선;김영식
    • 컴퓨터교육학회논문지
    • /
    • 제19권6호
    • /
    • pp.33-44
    • /
    • 2016
  • 본 연구에서는 K대학교 영재교육센터의 사이버 정보영재 과정에 참여한 중등학생들을 대상으로 실시한 온라인 프로그래밍 학습에서 학습자들의 학습선호도, 즉 학습양식을 기반으로 한 튜터링 전략을 개발하고 효과성을 검증하였다. 온라인 프로그래밍 학습이 튜터와의 교류를 통해 학습이 이루어지는 학습 환경임을 고려하여, 정의적 학습양식인 Grasha-Reichmann의 학습양식을 활용하였다. 이러한 학습양식을 기반으로 한 튜터링 전략 요소로 온라인 학습활동과 피드백을 도출하고 이를 기반으로 온라인 학습단계별 튜터링 전략을 개발하였다. 이에 대한 효과성 검증을 위해, 중등학생 173명을 대상으로 12주에 걸쳐 6차시 총 20시간 동안 C언어 프로그래밍 학습을 실시하였다. 효과성 분석 결과, 학습양식을 기반의 튜터링 전략을 적용한 실험집단이 기존의 일반적인 튜터링 전략을 적용한 통제집단보다 성취도와 튜터에 대한 인식에서 유의하게 차이가 발생했음을 확인하였다.

병렬 객체지향 프로그래밍을 위한 시각 환경의 설계 및 구현 (Design and Implementation of Visual Environment for Parallel Object-Oriented Programming)

  • 최숙영
    • 한국정보처리학회논문지
    • /
    • 제6권2호
    • /
    • pp.485-496
    • /
    • 1999
  • 병렬 프로그래밍은 프로세스간의 통신과 동기화 문제, 병렬 시스템의 구성 형태등을 고려해야 하기 때문에 순차 프로그래밍에 ? 많은 노력을 필요로 한다. 효율적인 병렬 프로그램을 작성하기 위해서는 사용자와 컴파일러간의 상호 지원이 이루어져야 한다. 이러한 관점에서 본 연구는 선행 연구로써 병렬 객체지향 표기언어 POOSL을 개발하였다. 그러나, 사용자 입장에서 볼 때 병렬 프로그램을 작성하기 위해 POOSL의 문법 구조를 염두에 두고 텍스트 중심의 프로그램을 작성한다면 여전히 부담스러운 작업이 될 것이다. 사용자에게 보다 편리함을 제공하기 위해서는 텍스트보다는 시각적인 프로그래밍 환경이 더욱 효율적이고 바람직할 것이다. 따라서, 본 논문에서는 POOSL을 기초로 하여 사용자가 좀더 쉽고, 편리하게 병렬 프로그래밍 할 수 있는 시각 환경으로써 VEPO(Visual Environment for Parallel Object-Oriented Programing)를 제안하고 있다. 본 논문의 목적은 사용자가 병렬 프로그램을 작성하는데 있어 문제에 내재된 병렬성을 객체지향 개념에 입각하여 시각적으로 자연스럽게 표현하도록 하고, 병렬 프로그램 개발에 관련된 과정들을 하나의 환경을 통합시킴으로써 편리한 프로그램 환경을 제공하는 것이다. 본 연구에서 제안하고 있는 VEPO는 병렬 프로그램을 개발하는데 필요한 기본적인 단계들로써 프로그램 기술 단계, 실행 단계, 실행 과정의 시각화등을 지원하고 있으며, 시각 프로그래밍의 장점을 충분히 살릴 수 있도록 여러 개념들이 지원되고 있다. 특히, 병렬 프로그램에서 복잡하고 까다로운 통신과 동기화에 관련된 코드 등은 번역 과정에서 여러 개념들이 생성되도록, 함으로써 사용자로 하여금 병렬 프로그램을 작성하는데 따르는 부담감을 줄 일 수 있도록 한다. 본 시스템은 PC를 호스트로 연결한 트랜스퓨터들로 구성된 병렬 컴퓨터 MC-3에서 구현되었다. VEPO 그래픽 사용자 인터페이스는 Visual C++로 구현되었고, VEPO에서 작성된 시각 프로그램은 Inmos C 코드로 번역되어 MC-3에서 수행된다.

  • PDF

C환경에서의 XP적용을 위한 모크객체생성기에 관한 연구 (A Study of Mock Objects Generator for Applying XPwith Special Attention to C)

  • 정영목;박제원;이남용
    • 한국컴퓨터정보학회논문지
    • /
    • 제10권1호
    • /
    • pp.15-26
    • /
    • 2005
  • XP(Extreme Programming)는 경량소프트웨어개발방법론 중의 하나로서 의사소통, 단순함, 피드백, 용기의 네 가지 가치추구를 통해 소프트웨어의 생산성과 품질을 향상시키는 실질적인 소프트웨어개발방법론이다. 그러나 XP의 핵심실천사항 중 하나인 테스트주도개발(Test Driven Development)은 한 가지 문제점을 가지고 있다. 테스트수행시간이 오래 걸리거나 테스트케이스(Test Cases)의 독립성을 확보하지 못할 경우 테스트주도개발이 불가능하다는 문제로서 최근 이를 해결하기 위해 모크객체(Mock Objects)의 중요성이 강조되고 있다. 모크객체는 문제가 되는 실제코드를 흥내내는 객체로서 수동으로 작성할 수있을 만큼 간단함을 원칙으로 하지만, 모크객체를 수동으로 작성하는 것은 실제로는 비효율적인 작업이기때문에 자바에서는 Mockobjects, EasyMock와 같은 모크객체생성기를 사용하고 있다. 그러나 모크객체는 객체지향을 전제로 하고, C언어용 모크객체생성기도 없기 때문에 C언어에서는 모크객체를 적용하기가 곤란하다. 본 논문에서는 객체지향개념이 취약한 C언어에서 모크객체를 손쉽게 생성하기 위한 C언어용모크객체생성기 CMock를 제시하고 이의 효용성을 검증하는 연구를 수행하였다.

  • PDF