• 제목/요약/키워드: 프로그래밍 매크로 언어

검색결과 3건 처리시간 0.016초

내장 실시간 프로그래밍을 위한 C 언어의 타임아웃 기능의 확장 (An Extension to Time-out Facility in C Language for Embedded Real-Time Programming)

  • 이신;양승민
    • 한국정보과학회논문지:컴퓨팅의 실제 및 레터
    • /
    • 제8권4호
    • /
    • pp.423-429
    • /
    • 2002
  • 실시간 프로그래밍에 있어 타임아웃 기능은 매우 중요한 기본적인 기능 중 하나이다. 그러나 내장 실시간 시스템에서 가장 많이 사용하는 C 언어에서는 타임아웃 기능을 지원하지 않는다. 그래서 C언어에서 실시간 프로그래밍 환경을 제공하기 위해 언어 자체를 확장하거나 실시간 엔진(또는 커널)을 지원하는 연구들이 있었다. 그러나 이것은 특정 실시간 커널과 컴파일러가 필요하다는 문제점을 갖고 있다. 본 논문에서는 운영체제에 최소한의 의존성을 갖고 라이브러리와 매크로 함수만으로 C 언어에서 타임아웃 기능을 제공한다. 또한 개발자가 편리하게 타임아웃 기능을 사용할 수 있도록 매크로 정의를 통해 구조화된 _within 문장을 제공한다. 이 기능은 리눅스의 단일 쓰레드 환경과 도스 환경뿐만 아니라 다중 쓰레드 환경인 POSIX 쓰레드에서도 구현하였다.

PML 기반 파라메트릭 해양플랜트 전장생산설계 지원 프로그램 개발 및 업무 효율성 연구 (Development and Working Efficiency of Supporting Program for the Parametric Electrical Outfit Production Design of Offshore Plant Based on PML)

  • 김현철;김종명
    • 한국해양공학회지
    • /
    • 제33권3호
    • /
    • pp.205-213
    • /
    • 2019
  • Recently, because of the global recession of the offshore plant industry and low-cost orders, there has been increasing interest in strengthening the competitiveness of domestic companies for the design and production technologies of offshore plants. However, in the offshore plant design field, the Plant Design Management System (PDMS), which is a 3D CAD program for plant layout developed by AVEVA Marine, is already commonly used as offshore plant design software and widely used in large domestic shipyards and cooperative design companies. Under this background, we have been thinking about ways to design better with the existing software. In this study, we developed a parametric design program to maximize the efficiency and reduce the working time for offshore plant electrical outfit production design based on the Programmable Macro Language (PML) of PDMS. We also examined its performance. By applying the developed program to the offshore plant module selected as an application example, it was confirmed that a 50% improvement in the work efficiency of cable tray design could be obtained compared with the existing method, with work efficiency improvements of 80% or more in other field design work.

지하시설물의 3차원 표현을 위한 공간 데이터 변환 시스템의 객체 지향적 설계 및 구현 (The Object-Oriented Design & Implementation of Spatial Data Transformation System for the 3-D Representation of Underground Utilities)

  • 오승;강병익;정정화
    • 한국GIS학회:학술대회논문집
    • /
    • 한국GIS학회 1996년도 춘계학술대회 발표요약문
    • /
    • pp.79-109
    • /
    • 1996
  • 본 연구에서는 상용 CIS 소프트웨어인 ARC/INFO에 구축되어 있는 지하 시설물 데이터를 3차원 공간 객체로 변환하기 위하여 3차원 공간 객체의 형식과 객체 저장 구조를 정의하고, 2차원의 지하 시설물 데이터를 정의된 3차원 공간 객체로 변환하는 공간 데이터 변환 시스템을 객체 지향 개발 기법인 Booch의 방법을 사용하여 개발하였다. 이를 위하여 ARC/INFO의 관계형 데이터 모델과 저장 구조를 분석하고, 지하 시설물의 3차원 시각화를 위한 요구 조건들을 분석하였다. 그리고 ARC/INFO에 저장된 2차원 지하 시설물 데이터는 내부적인 전처리 과정을 통하여 ASCII 파일로 변환 후, 변환 시스템의 입력 자료로 사용하였고, 변환 시스템의 개발을 위한 개발 방법으로 Booch의 방법을 선정하여 시스템의 분석과 설계 과정에 적용하였다. 마지막으로 분석과 설계의 결과를 ARC/INFO의 매크로 언어인 AML과 객체 지향 프로그래밍 언어인 C++를 사용하여 구현하였다. 본 연구의 결과, 지하 공간에 존재하는 2차원 시설물들을 3차원으로 시각화 할 수 있는 3차원 공간 객체를 얻을 수 있었으며, 시스템의 개발 과정에 객체 지향 개발 기법을 적용함으로써 효율적인 개발을 수 행할 수 있었다.

  • PDF