National Instruments Welding System 321645c-01 사용자 설명서

다운로드
페이지 554
Chapter 2
Function Reference — DIG_Out_Line
©
 National Instruments Corporation
2-179
NI-DAQ FRM for PC Compatibles
DIG_Out_Line
Format
status = DIG_Out_Line (deviceNumber, port, line, state)
Purpose
Sets or clears the specified digital output line in the specified digital port.
Parameters
Input 
Parameter Discussion
port is the digital I/O port number. 
Range:
0 or 1 for the AT-AO-6/10, DAQCard-500/700, PC-TIO-10, PC-OPDIO-16, 
516 devices, AO-2DC, Am9513-based MIO devices, and LPM devices.
0 for the E Series devices, except the AT-MIO-16DE-10.
0 through 2 for the DIO-24 and Lab and 1200 Series devices.
0 and 2 through 4 for the AT-MIO-16DE-10.
0 through 3 for the VXI-AO-48XDC.
0 through 4 for the DIO-32F, DIO 6533 (DIO-32HS), and AT-MIO-16D.
0 through 11 for the DIO-96.
8 through 15 for the VXI-DIO-128.
0 for the PCI-4451 and PCI-4452.
0 through 3 for the PCI-4551 and PCI-4552.
line is the digital output line to be written to.
Range:
0 through k-1, where k is the number of digital I/O lines making up the port.
state contains the new digital logic state of the specified line.
0:
The specified digital line is set to digital logic low.
1:
The specified digital line is set to digital logic high.
Name
Type
Description
deviceNumber
i16
assigned by configuration utility
port
i16
digital I/O port number
line
i16
digital output line
state
i16
new digital logic state