NI-HSDIO LabVIEW VIs

Table of Contents

niHSDIO stPMU Measure Voltage VI

  • Updated2023-02-21
  • 4 minute(s) read
Installed With: NI-HSDIO

Measures the voltage on the channels specified in the channel list parameter. You can call this VI at any time, including while in a digital state or a PMU state.

If you have not yet committed your session, calling this VI implicitly commits your session. If you have already committed your session by calling a VI such as the niHSDIO Commit VI, the niHSDIO Initiate VI, the niHSDIO Read Waveform VI, the niHSDIO Write Named Waveform VI, or the other Software-Timed PMU VIs, this VI will not commit your session again.

Note  Only NI 6555/6556 devices support this VI.

Related Topics

niHSDIO stPMU Measure Voltage

civrn.gif

instrument handle identifies your instrument session. instrument handle is obtained from the niHSDIO Init Acquisition Session VI, the niHSDIO Init Generation Session VI, or the niHSDIO Init Ext Cal VI.

cstr.gif

channel list specifies the channels being configured. Specify multiple channels by using a channel list or a channel range. A channel list is a comma (,) separated sequence of channel names (for example, 0,2 specifies channels 0 and 2). A channel range is a lower bound channel followed by a hyphen (-) or colon (:) followed by an upper bound channel (for example, 0-2 specifies channels 0, 1, and 2). Use PFI1 or PFI2 to specify a valid PFI channel. Use DDC_CLKOUT or STROBE to specify a valid clocking terminal. If you configure multiple channels with this parameter, all those channels have the same settings. Selecting no channels for this parameter returns an error.

cdbl.gif

aperture time (4E-6) configures the amount of time, in seconds, to measure each channel. The aperture time determines the number of hardware averages per measurement. The larger the aperture time, the greater the number of hardware averages. The default value for this control is 4E-6 (0.000004) seconds.

cenum.gif

sense (local) selects between local or remote sensing on the specified channel(s).

local (88)

Local sensing of voltages. This value is measured on the DDC connector. This value is the default.

remote (89)

Remote sensing of voltages. This value is measured on the REMOTE SENSE connector.

cerrcodeclst.gif

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

cbool.gif

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.

ci32.gif

code is the error or warning code. The default is 0. If status is TRUE, code is a negative error code. If status is FALSE, code is 0 or a warning code.

cstr.gif

source identifies where an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.

iivrn.gif

instrument handle out passes a reference to your instrument session to the next VI. instrument handle is obtained from the niHSDIO Init Acquisition Session VI or the niHSDIO Init Generation Session VI.

i1ddbl.gif

voltage measurements returns an array of double-precision numbers representing the averaged measured voltages, per channel, in volts (V), over time. The order of the returned voltages directly corresponds with the order in which the channels are configured in the channel list parameter.

ierrcodeclst.gif

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

ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

ii32.gif

code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.

istr.gif

source identifies where and why an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.

Log in to get a better experience