Function Library
143
6.13 General-Purpose DIO
@ Name
_8174_set_gpio_output
– Set digital output
_8174_get_gpio_output
– Get digital output
_8174_get_gpio_input
– Get digital input
_8174_set_gpio_input_function
– Set the signal types for
any digital inputs
@ Description
_8174_set_gpio_output
:
The PCI-8174 has 4 digital output channels. By this function,
user could control the digital outputs.
_8174_get_gpio_output
:
This function is used to get the digital output status.
_8174_get_gpio_input
:
PCI-8174 has 4 digital input channels. By this function, user
can get the digital input status.
_8174_set_gpio_input_function
:
PCI-8174 has 4 digital input channels. By this function, user
can set one of several input signals to any specific DI channels.
Those signals include LTCn, SDn, PCSn, CLRn, EMG. (The
index word n mean axis index)
@ Syntax
C/C++ (Windows 2000/XP)
I16 _8174_set_gpio_output(I16 card_id, I16
DoValue);
I16 _8174_get_gpio_output(I16 card_id, I16 *
DoValue);
I16 _8174_get_gpio_input(I16 card_id, I16 *
DiValue);
I16 _8174_set_gpio_input_function(I16 card_id,
I16 Channel, I16Select, I16 Logic);
Содержание PCI-8174
Страница 4: ......
Страница 13: ...Introduction 3 Figure 1 2 Flow chart for building an application ...
Страница 94: ...84 Operation Theory ...
Страница 98: ...88 MotionCreatorPro 5 3 2 Select Menu The select menu appears after running MotionCreatorPro It is used to ...
Страница 99: ...MotionCreatorPro 89 5 3 3 Card Information Menu In this menu it shows some Information about this card ...
Страница 100: ...90 MotionCreatorPro 5 3 4 Configuration Menu In this menu users can configure ALM INP ERC EL ORG and EZ ...
Страница 102: ...92 MotionCreatorPro In this menu users can configure LTC SD PCS and Select_Input ...
Страница 104: ...94 MotionCreatorPro In this menu users can configure pulse input output and move ratio and INT factor ...
Страница 166: ...156 Function Library ...
Страница 168: ...158 Connection Example ...