70
•
Motion Library
5.5
Digital I/O
@ Name
_8136_D_Output - Digital output for one bit
_8136_D_Input - Digital input for one bit
_8136_D_OutputA - Digital Output for all bits once
_8136_D_InputA - Digital Input for all bits once
@ Description
_8136_D_Output:
There are 7 open collector output channels in PCI-8136. This
function is for controlling these output bits by setting them on or off.
This function can set each channel individually. Please refer to the
pin assignment for bit numbers.
_8136_D_Input
There are 19 open isolated digital inp ut channels in PCI-8136. This
function is for getting these input bits by setting them on or off. This
function can get each channel individually. Please refer to the pin
assignment for bit numbers.
_8136_D_OutputA
There are 7 open collector output channels in PCI-8136. This
function is for controlling these output bits by setting them on or off.
This function can set all output channels on/off by a value once.
Each bit of this value represents the actual output bit. Please refer
to the pin assignment for b it numbers.
_8136_D_InputA
There are 19 open isolated digital input channels in PCI-8136. This
function is for getting these input bits by setting them on or off. This
function can get all input channels' status once. Each bit of this
value represents the actual input channel. Please refer to the pin
assignment for bit numbers.
@ Syntax
C/C++ (DOS, Windows 95/98/NT/2000)
U16 _8136_D_Output( I16 CardNo , I16 Channel , I16 Control );
U16 _8136_D_Input( I16 CardNo , I16 Channel , I16* Control );
U16 _8136_D_OutputA( I16 CardNo , I16 Value );
U16 _8136_D_InputA( I16 CardNo , I32 *Value );