DTL_READ

The DTL_READ functions allow the client application to read data from processor data tables. This function has three forms: DTL_READ is the asynchronous version; DTL_READ_W is the synchronous version; and. DTL_READ_CB is the callback version.
DTL_RETVAL DTL_READ(
name_id
,
variable
,
io_stat
,
wait_id
,
timeout
)
UNSIGNED LONG
name_id
;
/* data item handle
UNSIGNED CHAR *
variable
;
/* pointer to data buffer
UNSIGNED LONG *
io_stat
;
/* pointer to I/O status buffer
UNSIGNED LONG
wait_id
;
/* wait identifier
UNSIGNED LONG
timeout
;
/* I/O timeout value
DTL_RETVAL DTL_READ_W(
name_id, variable, io_stat, timeout
)
UNSIGNED LONG
name_id
;
/* data item handle
UNSIGNED CHAR *
variable
;
/* pointer to data buffer
UNSIGNED LONG *
io_stat
;
/* pointer to I/O status buffer
UNSIGNED LONG
timeout
;
/* I/O timeout value
DTL_RETVAL DTL_READ_CB(
name_id, variable, timeout, callback_proc, callback_param
)
UNSIGNED LONG
name_id
;
/* data item handle
UNSIGNED CHAR *
variable
;
/* pointer to data buffer
UNSIGNED LONG
timeout
;
/* I/O timeout value
DTL_IO_CALLBACK_PROC
callback_proc
;
/* callback procedure number
UNSIGNED LONG
callback_param
;
/* callback parameter value
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal