Returns the measured value of either the voltage or current on the specified channel.

Each call to this VI blocks other VI calls until the hardware returns the measurement. To measure multiple channels, use the niDCPower Measure Multiple VI.


icon

Inputs/Outputs

  • civrn.png instrument handle

    instrument handle identifies a particular instrument session.

  • cstr.png channel name

    channel name specifies the channel to measure. Only one measurement at a time may be made with the niDCPower Measure VI. Use the niDCPower Measure Multiple VI to measure multiple channels or measurement types.

    Specify the channel using the form PXI1Slot3/0, where PXI1Slot3 is the instrument resource name and 0 is the channel.

  • ci32.png measurement type

    measurement type specifies whether a voltage or current value is measured.

    The default value is Voltage (1).

    Voltage (1)

    The device measures voltage.

    Current (0)

    The device measures current.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • iivrn.png instrument handle out

    instrument handle out passes the handle used to identify the session in all subsequent NI-DCPower VI calls.

  • idbl.png measurement

    measurement returns the value of the measurement, either in volts for voltage or amps for current.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.