HP34401A Config Math

Configures a mathematical operation to be performed on each reading or stores data on a series of readings.

Note  To use one of the operations after you have configured it, use the HP34401A Read Meas VI, not the HP34401A App. Example VI. The HP 34401A App. Example VI disables any math operation in effect.

Details

Data Storage stores the data to be sent to either the internal or external buffer. If TRUE (default), the VI stores data in the on mode. If FALSE, the VI does not retain data in the off mode. Use the off mode only with the average min/max operation when you do not need to retrieve data. You cannot configure the meter for external buffering in the off mode.
Operation specifies the math operation. The following table includes valid values and the corresponding mathematical operations.

0None (default)
1Min/Max
2Null
3dB
4dBm
5Limit
VISA session is a unique reference to an instrument I/O session. It identifies which device to communicate with and all configuration information to perform the I/O. A VISA session is a unique logical identifier used by VISA to communicate with a resource. The VISA session is maintained by the VISA resource name control and is not seen by the user.
Upper Limit enables you to perform pass/fail testing to the upper limit you specify. You can set the upper and lower limits to any value between 0 and + or - 120% of the highest range for the present function. Any value outside the range is changed to the upper or lower limit. The Upper Limit must be a higher number than the Lower Limit. Upper Limit applies to all measurement functions except continuity and diode tests.
Lower Limit enables you to perform pass/fail testing to the lower limit you specify. You can set the upper and lower limits to any value between 0 and + or - 120% of the highest range for the present function. Any value outside the range is changed to the upper or lower limit. The Upper Limit must be a higher number than the Lower Limit. Lower Limit applies to all measurement functions except continuity and diode tests.
Null Offset/dB Reference applies when you make null measurements. Each reading is the difference between a stored null value and the input signal. Each reading is also called the relative value. Result = reading - null value.

The null value is adjustable. You can set it to any value between 0 and + or - 120% of the highest range for the present function. Any value outside the range is changed to the upper or lower limit.

Each dB measurement is the difference between the input signal and a stored relative value, with both values converted to dBm. Applies to AC/DC measurements only.

The relative value is adjustable. You can set it to any value between 0 dBm and + or -200. Any value outside the range is changed to the upper or lower limit.

error in describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurs before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.
dBm Reference calculates the power delivered to a resistance referenced to 1 milliwatt. dBm = 10*log (reading*reading/ref. resistance/1 mW). This control applies to AC/DC Voltage measurements only. Valid range:

050
173
293
3110
4124
5125
6135
7150
8250
9300
10500
11600 (default)
12800
13900
141000
151200
168000
dup VISA session is a copy of VISA session. Use dup VISA session programmatically to pass VISA Session to any calling VIs.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a non-zero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning.

HP34401A Config Math Details

There are five mathematical operations available, only one of which can be enabled at a time. The selected operation remains in effect until you change functions, turn off the power, perform a reset, or set the operation to None. There is also an option to enable or disable data storage. At present this option only finds practical use with the average/min/max operation when retrieval of the data is not desired. The mathematical operations use one or more internal registers. You can preset the values in some of the registers, while others hold the results of the mathematical operation.