106
•
Function Library
6.18 Digital Input/Output Control
@ Name
_8132_DO – Set output value
_8132_DI – Get input value
@ Description
_8132_DO:
Set a 16-bits value to PCI-8132’s digital output channels. Each bit of
this value represents a high/low value for one channel.
_8132_DI:
Get a 16-bits value from PCI-8132’s digital input channels. Each bit of
this value represents a high/low value for one channel.
@ Syntax
C/C++ (DOS)
U16 _8132_DO(U16 axis, U16 DoData)
U16 _8132_DI(U16 axis, U16 *DiData)
C/C++ (Windows 95/NT)
U16 _8132_DO(U16 axis, U16 DoData)
U16 _8132_DI(U16 axis, U16 *DiData)
Visual Basic (Windows 95/NT)
B_8132_DO(ByVal axis As Integer, ByVal DoData As Long) As Integer
B_8132_DI(ByVal axis As Long, DiData As Long) As Integer
@ Argumen
axis
: axis number 0,1,2,3,4…
DoData
: a 16-bits output value
DiData
: a 16-bits input value
@ Return Code
ERR_NoError
Содержание PCI-8132
Страница 1: ...PCI 8132 2 Axes Servo Stepper Motion Control Card User s Guide ...
Страница 2: ......