Table Of Contents

IviPwrMeter Configure Measurement (G Dataflow)

Version:
Last Modified: October 24, 2017

Configures the instrument to take single or dual channel measurements.

For single channel measurements, this node enables the channel specified by Operand1 and disables all other channels. The result returned by the Fetch or Read nodes is the measurement taken at the channel specified by Operand1. Although, the driver measures the power in Watts, the result is converted to the same unit as the value of the IviPwrMeter>>Basic Operation>>Units property.

For dual channel measurements, this node enables the channels specified by Operand1 and Operand2 and disables all other channels. The result returned by the Fetch or Read nodes is the result of the specified math operation applied to the measurements on the channels specified by Operand1 and Operand2.

Although, the math operation is performed on the measured values in Watts,the result is converted to the appropriate units depending on the value of the Units property and the value of the Operator.

For Difference and Sum operations, the resulting units is the same as the Units property.

For Quotient operations, the resulting units are in dB, except when Units are set to Watts. When set to Watts, the resulting measurement is without units.

connector_pane_image
datatype_icon

instrument handle

Instrument handle that you obtain from IviPwrMeter Initialize or IviPwrMeter Initialize With Options. The handle identifies a particular instrument session.

Default: None

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error

datatype_icon

operator (No Operator)

The math VI applied to the operands. Valid Values: IVIPWRMETER_VAL_NONE (No Operator) - Return the measured value for Operand1. IVIPWRMETER_VAL_DIFFERENCE (Difference) - Subtract the power measured on Operand2 from the power measured on Operand1. IVIPWRMETER_VAL_SUM (Sum) - Add the power measured on Operand2 to the power measured on Operand1. IVIPWRMETER_VAL_QUOTIENT (Quotient) - Divide the power measured on Operand1 by the power measured on Operand2. Default Value: IVIPWRMETER_VAL_NONE (No Operator)

datatype_icon

operand 1 ("")

The name of the channel from which the value for the first operand of the math VI is measured. Default Value: ""

datatype_icon

operand 2 ("")

The name of the channel from which the value for the second operand of the math VI is measured. Default Value: ""

datatype_icon

instrument handle out

Instrument handle that you obtain from IviPwrMeter Initialize or IviPwrMeter Initialize With Options. The handle identifies a particular instrument session.

Default: None

datatype_icon

error out

Error information.

The node produces this output according to standard error behavior.

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application


Recently Viewed Topics