National Instruments Welding System 321645c-01 Manual De Usuario

Descargar
Página de 554
Chapter 2
Function Reference — DIG_Out_Line
NI-DAQ FRM for PC Compatibles
2-180
©
 National Instruments Corporation
Using This Function
DIG_Out_Line
 sets the digital line in the specified port to the specified state. The remaining 
digital output lines making up the port are not affected by this call. If the port is configurable 
and you have not configured the port as an output port, NI-DAQ does not perform the 
operation and returns an error. Except for the PC-TIO-10, the DIO 6533 (DIO-32HS), the 
VXI-AO-48XDC, E Series, or DSA device, you must call 
DIG_Prt_Config
 to configure a 
digital I/O port as an output port. On the PC-TIO-10, DIO 6533, VXI-AO-48XDC, E Series, 
or DSA device, you need only configure the specified line for output using 
DIG_Prt_Config
 
or 
DIG_Line_Config
.
Note
Connecting one or more AMUX-64T boards or an SCXI chassis to an MIO or AI 
device causes 
DIG_Out_Line
 to return a badInputValError when called with 
port equal to 0 and line equal to one of the following values:
One AMUX-64T device—line equal to 0 or 1.
Two AMUX-64T devices—line equal to 0, 1, or 2.
Four AMUX-64T devices—line equal to 0, 1, 2, or 3.
An SCXI chassis—line equal to 0, 1, or 2 (and 4 for the E Series devices only)
.