159
Agilent E1439 Programmer's Reference
Functions listed alphabetically
age1439_read
Reads scaled 32-bit floating-point data from the VME backplane register. This description also
includes the following function:
age1439_read64
reads scaled 64-bit floating-point data, implemented specifically for
VEE applications.
VXI
plug&play
Syntax
#include "age1439".h
ViStatus age1439_read(ViSession
id
, ViReal32
data[]
, ViInt32
sampleCount
, ViPInt16
overloadPtr
);
ViStatus age1439_read64(ViSession
id
, ViReal64
data[]
, ViInt32
sampleCount
, ViPInt16
overloadPtr
);
Description
age1439_read
returns a block of floating-point data from the Agilent E1439 that has been scaled
to be in volts. The function waits for a block of data to be ready before attempting to read the
block.
These functions can only read data from the VME backplane register. The data port of the
Agilent E1439 must be set to AGE1439_VME by the
age1439_data_port
function for these
functions to be effective.
Note
When using this function, INSTR_REAL32 should be defined when compiling C/C++ programs.
To do this, in the Microsoft Visual Development environment, go to Project Settings, select the
C/C++ tab, and add INSTR_REAL32 to the preprocessor definitions. In a makefile or on a
command line, supply the option "/D INSTR_REAL32" to cl.exe. See the acvolts.exe example
programs.
This function performs the following sequence:
1. Checks for AGE1439_STATUS_READ_BLOCK and AGE1439_STATUS_
OVERLOAD.
2. If a block of data is NOT ready:
A. The function immediately returns the current measurement state.
3. If a block of data IS ready:
A. Data is read from the module.
B. It is converted to a floating point number and scaled.
C. The function returns any errors that were encountered when reading the data.
D. The value of the overload argument is set to indicate whether any overloads have
occurred since the last successful read.
Содержание E1439
Страница 6: ...6...
Страница 10: ...10 Contents...
Страница 11: ...1 1 Installing the Agilent E1439...
Страница 18: ...8 Installing the Agilent E1439 To transport the module...
Страница 19: ...2 2 Getting Started with the Agilent E1439...
Страница 28: ...18 Getting Started with the Agilent E1439 To use the example programs...
Страница 29: ...3 3 Using the Agilent E1439...
Страница 63: ...4 4 Agilent E1439 Programmer s Reference...
Страница 217: ...5 5 Module Description...
Страница 228: ...218 Module Description Block diagram and description...
Страница 229: ...6 6 Replacing Assemblies...
Страница 234: ...224 Replacing Assemblies Replaceable parts To remove the top cover...
Страница 235: ...225 Replacing Assemblies Replaceable parts To remove the M1 M2 assemblies...
Страница 236: ...226 Replacing Assemblies Replaceable parts...
Страница 238: ...228...
Страница 244: ...Index 234...