주요 콘텐츠

이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

계측기 드라이버 편집 및 테스트

계측기 드라이버를 생성 및 수정하고 계측기 드라이버 기능을 테스트 및 확인합니다.

일반 드라이버를 사용하면 Instrument Control Toolbox™가 업계 표준의 드라이버나 프로토콜을 사용하지 않는 장치 또는 소프트웨어와 통신할 수 있습니다. Instrument Driver Editor를 사용하여 일반 드라이버를 만듭니다. Instrument Driver Editor 사용에 대한 자세한 내용은 Creating MATLAB Instrument Drivers 항목을 참조하십시오.

드라이버를 만든 후에는 Instrument Driver Testing Tool을 사용하여 테스트할 수 있습니다. 이 도구는 MATLAB® 계측기 드라이버의 기능을 확인하기 위한 테스트를 만드는 데 필요한 그래픽 환경을 제공합니다. 속성 및 함수 동작을 확인하고 다양한 형식으로 테스트 결과를 내보낼 수 있습니다. Instrument Driver Testing Tool Overview 항목을 참조하십시오.

함수

모두 확장

instrhwinfoInformation about available hardware
connectConnect device object to instrument
invoke장치 객체에서 드라이버별 함수 실행
selftestRun instrument self-test
mideditOpen graphical tool for creating and editing MATLAB instrument driver
dispDisplay instrument object summary information
getInstrument object properties
setConfigure or display instrument object properties
inspect속성 인스펙터 열기
methodsClass method names and descriptions
saveMAT 파일에 인스트루먼트 객체 및 변수 저장
propinfoInstrument object property information
disconnectDisconnect device object from instrument
deleteRemove instrument objects from memory
clearMATLAB 작업 공간에서 인스트루먼트 객체 제거

도움말 항목

  • Creating MATLAB Instrument Drivers

    How to create, modify, save, and verify instrument drivers using the MATLAB Instrument Driver Editor.

  • Properties

    Defining instrument functionality as properties of the device object to ease communications with your instrument.

  • Functions

    Defining instrument functionality as functions of the device object to ease communications with your instrument.

  • Groups

    Combining common capabilities of the device object.

  • Using Existing Drivers

    Adapting existing drivers for your instrument.

  • Setting Up Your Test

    Providing global information for your test, including name, description, driver, interface, and preferences.

  • Defining Test Steps

    Creating steps to test setting property values, getting property values, and driver functions.

  • Saving Your Test

    Saving your test for future midtest sessions, or as code, or as a driver function.

  • Testing and Results

    Running a complete or partial test; exporting or saving test results.

  • MATLAB Instrument Driver Editor Overview

    An explanation of MATLAB instrument drivers, their features, capabilities, and usage.

  • Instrument Driver Testing Tool Overview

    An explanation of the MATLAB Instrument Driver Testing Tool, its capabilities, and usage.