Table Of Contents

IviDCPwr Query Output State (G Dataflow)

Last Modified: October 23, 2017

Returns whether the power supply is in a particular output state. When either an over-voltage condition or an over-current condition occurs, the power supply's output protection disables the output. If the power supply is in an over-voltage or over-current state, it does not produce power until the output protection is reset. The IviDCPwr Reset Output Protection Node resets the output protection. Once the output protection is reset, the power supply resumes generating a power signal.

connector_pane_image
datatype_icon

instrument handle

The instrument handle that you obtain from the IviDCPwr Initialize or IviDCPwr Initialize With Options node. The handle identifies a particular instrument session. Default Value: 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

channel name ("CHANNEL1")

Specifies the virtual channel name that you assign to the instrument in the Configuration Utility. Users who want to achieve interchangeability should use a virtual channel name. The virtual channel name should be sufficiently specific to the test system such that it is unlikely to conflict with a physical channel name. Virtual channel names are aliases for instrument-specific channel strings. The instrument-specific channel strings can differ from one instrument to another. Virtual channel names allow you to use and swap instruments without having to change the channel names in your source code. You assign a virtual channel name to an instrument-specific channel through the Configuration Utility. This control accepts virtual channel names you have assigned to the specific instrument you are using. It also accepts the instrument-specific channel names.

Default: "CHANNEL1"

datatype_icon

output state (Constant Voltage)

Pass the output state for which you want to query. Defined Values: IVIDCPWR_VAL_OUTPUT_CONSTANT_VOLTAGE - Constant Voltage State IVIDCPWR_VAL_OUTPUT_CONSTANT_CURRENT - Constant Current State IVIDCPWR_VAL_OUTPUT_UNREGULATED - Unregulated State IVIDCPWR_VAL_OUTPUT_OVER_VOLTAGE - Over-voltage State IVIDCPWR_VAL_OUTPUT_OVER_CURRENT - Over-current State Default Value: IVIDCPWR_VAL_OUTPUT_CONSTANT_VOLTAGE

datatype_icon

instrument handle out

The instrument handle that you obtain from the IviDCPwr Initialize or IviDCPwr Initialize With Options node. The handle identifies a particular instrument session. Default Value: 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.
datatype_icon

in state

This parameter returns TRUE if the power supply is currently in the state you specify with the OutputState parameter, and FALSE if it is not.

Output Conditions

  1. A constant voltage condition occurs when the output voltage is equal to the value of the IviDCPwr>>Basic Operation>>Voltage Level property and the current is less than or equal to the value of the IviDCPwr>>Basic Operation>>Current Limit property.
  2. A constant current condition occurs when the output current is equal to the value of the IviDCPwr>>Basic Operation>>Current Limit property and the IviDCPwr>>Basic Operation>>Current Limit Behavior property is set to IVIDCPWR_VAL_CURRENT_REGULATE.
  3. An unregulated condition occurs when the output voltage is less than the value of the IviDCPwr>>Basic Operation>>Voltage Level property and the current is less than the value of the IviDCPwr>>Basic Operation>>Current Limit property.
  4. An over-voltage condition occurs when the output voltage is equal to or greater than the value of the IviDCPwr>>Basic Operation>>OVP Limit property and the IviDCPwr>>Basic Operation>>OVP Enabled property is set to TRUE.
  5. An over-current condition occurs when the output current is equal to or greater than the value of the IviDCPwr>>Basic Operation>>Current Limit property and the IviDCPwr>>Basic Operation>>Current Limit Behavior property is set to IVIDCPWR_VAL_CURRENT_TRIP.

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