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);
Summary of Contents for PCI-8174
Page 4: ......
Page 13: ...Introduction 3 Figure 1 2 Flow chart for building an application ...
Page 94: ...84 Operation Theory ...
Page 102: ...92 MotionCreatorPro In this menu users can configure LTC SD PCS and Select_Input ...
Page 166: ...156 Function Library ...
Page 168: ...158 Connection Example ...