Age1439_meas_status_get – Agilent Technologies VXI E1439 User Manual
Page 166

156
Agilent E1439 Programmer's Reference
Functions listed alphabetically
age1439_meas_status_get
Returns the current measurement status.
VXIplug&play Syntax
#include "age1439".h
ViStatus age1439_meas_status_get(ViSession id, ViPInt16 readValid, ViPInt16 blockReady,
ViPInt16 overload);
Description
This function is useful in determining the measurement status of a module when using the fiber
interface. The advantage of using this function over
, is that this function
decodes the measurement-related status register bits. This function returns the current
measurement status, which is represented by one of the four following values that are encoded in
the bottom two bits of the status register:
Parameters
id
is the VXI instrument session pointer returned by the age1439_init function.
readValid
returns the state of the
status register bit.
blockReady
returns the state of the
status register bit.
overload
returns the state of the
status register bit.
Return Value
The return value of this function is the current measurement status, as represented by one of four
numeric values that are encoded in the bottom two bits of the status register shown in the table
above.
See Also
“age1439_meas_control” on page 151
“age1439_meas_init” on page 154
,
,
,
“The measurement loop” in chapter 3
Status Bit
Definition
Values
0-1
AGE1439_NO_DATA_WAITING_FOR_ARM
AGE1439_NO_DATA_MEASUREMENT_PAUSED
AGE1439_NO_DATA_MEASUREMENT_IN_PROGRESS
AGE1439_NO_DATA_WAITING_FOR_TRIGGER