이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
디지털 입력 및 출력
데이터 수집 하드웨어를 사용한 디지털 데이터 수집 및 생성
디지털 서브시스템은 디지털 회선을 통해 비트 단위의 디지털 또는 논리 값을 전송하고 수신하기 위해 읽기 및 쓰기 작업을 수행합니다. Data Acquisition Toolbox™는 클록 방식 및 비클록 방식 시스템에서 이러한 작업을 수행하기 위한 DataAcquisition
인터페이스를 제공합니다.
addinput
, addoutput
또는 addbidirectional
함수를 사용하여 디지털 회선이라고 하는 디지털 서브시스템 채널을 DataAcquisition
인터페이스 객체에 추가합니다.
입력 전용 채널 - 읽기 작업을 사용하여 디지털 데이터를 수집합니다.
출력 전용 채널 - 쓰기 작업을 사용하여 디지털 데이터를 생성합니다.
양방향 채널 - 채널 방향을 수정하여 디지털 데이터를 수집하거나 생성합니다. 방향을
Input
또는Output
로 설정할 수 있지만, 동시에 두 방향을 설정할 수는 없습니다. 기본적으로 방향은Input
입니다.
디지털 채널을 사용하기 전에 하드웨어 검색 및 설정 항목을 참조하십시오.
함수
도움말 항목
디지털 서브시스템
- Digital Clocked Operations
Acquire or generate clocked signals at a specified scan rate. - Access Digital Subsystem Information
Find line and port information of a digital subsystem.
디지털 데이터 수집
- Acquire Non-Clocked Digital Data
Acquire a single scan of digital data from two channels of an NI device. - Acquire Digital Data Using a Shared Clock
Share the clock of the analog subsystem on your device for the digital acquisition. - Acquire Digital Data Using an External Clock
Acquire digital data in the foreground using an external scan clock. - Acquire Digital Data Using a Counter Output Channel as External Clock
Acquire digital data using a counter output channel to generate clock pulses. - Acquire Digital Data in Hexadecimal Values
Acquire digital data using four channels on an NI 6255.
디지털 데이터 생성
- 비클럭 디지털 데이터 생성
NI 6255의 두 줄에 데이터를 씁니다. - Generate Digital Data Using a Shared Clock
Share the clock of the analog subsystem and write data to a digital output channel on an NI USB-6351. - Generate Digital Output Using Decimal Data Across Multiple Lines
Convert decimal data and output to two lines on an NI 6255. - Generate Signals on Both Analog and Digital Channels
Generate signals when the DataAcquisition object contains both analog and digital channels.
양방향 시스템
- Generate and Acquire Data on Bidirectional Channels
Use a bidirectional channel and read and write data using the same two lines on an NI 6255.