National Instruments Welding System 321645c-01 Manual De Usuario
Chapter 2
Function Reference — GPCTR_Config_Buffer
NI-DAQ FRM for PC Compatibles
2-210
©
National Instruments Corporation
Using This Function
You need to use this function to use a general-purpose counter for buffered operation. You
should call this function after calling the
should call this function after calling the
GPCTR_Set_Application
function.
NI-DAQ transfers counted values into the buffer assigned by this function when you are
performing a buffered counter operation.
performing a buffered counter operation.
If you are using the general-purpose counter for
ND_BUFFERED_PERIOD_MSR
,
ND_BUFFERED_SEMI_PERIOD_MSR
, or
ND_BUFFERED_PULSE_WIDTH_MSR
, or
ND_BUFFERED_TWO_SIGNAL_EDGE_SEPARATION_MSR
, you should wait for the operation
to be completed before accessing the buffer.
For the 6602 and 455X devices, you can use
GPCTR_Change_Parameter
with
paramID =
ND_BUFFER_MODE
to select continuous buffered operations (
ND_DOUBLE
) or
single-buffered operations (
ND_SINGLE
). In continuous buffered operation mode you can
use
GPCTR_Read_Buffer
to access parts of the buffer while the operation is in progress.