This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Continuously Output Voltage on a Programmable Power Supply in LabVIEW

Updated May 4, 2023

Reported In

Hardware

  • PXI Programmable Power Supply

Driver

  • NI-DCPower

Issue Details

  • I have an NI programmable power supply and on the NI-DCPower Soft Front Panel I can select Output Enabled to continuously output a voltage. 
  • I want to be able to continuously output a voltage in LabVIEW until I press stop but none of the NI-DCPower LabVIEW examples show how to do that. 

Solution

  • You can configure your programmable power supply to Constant Voltage Mode
  • After the niDCPower Initiate VI, If you want to be able to control when to stop outputting with a button, you can use the niDCPower Query Output State VI in a while loop with a Stop Button wired to the conditional terminal of the while loop.

Additional Information

In LabVIEW, calling the niDCPower Initiate VI moves the device to the Running State where the device begins output signal generation based on device configuration.