5 analog i/o, Analog i/o – ADLINK HSL-DO32-M-N/HSL-DO32-M-P User Manual

Page 112

Advertising
background image

HSL Function Library

99

5.5 Analog I/O

@ Name

HSL_A_start_read – Start A/D conversion

HSL_A_stop_read – Stop A/D conversion

HSL_A_set_signal_range – Set the signal range of analog

input channels HSL_A_get_signal_range – Get the signal range of
analog input channels

HSL_A_get_input_mode – Get the signal input mode

HSL_A_set_last_channel – Set the last channel of analog

input channels

HSL_A_get_last_channel – Get the last channel of analog

input channels

HSL_A_read_input – Read back the value of analog input chan-

nels

HSL_A_write_output – Send out the analog output

HSL_A_read_output – Read back the analog output data

HSL_A_sync_rw – Read and write the data synchronously

HSL_A_get_version – Get the kernel version of analog I/O

module

@ Description

HSL_A_start_read:
Initializes the reading operation of the analog input channels of all
HSL AI/O modules that are connected to the master card. Before
using HSL_A_read_input(), HSL_A_write_output() and
HSL_A_sync_rw(), the functions must be executed to start the A/D
conversion.

HSL_A_stop_read:
Stops the reading operation of analog input channels of all HSL AI/
O modules that are connected to the master card. Use this func-
tion to stop the A/D conversion.

Advertising