The Power Supply Test sequences sources voltage from a power module and measures
all test points on the PCB simultaneously with an analog input module.
This TestStand sequence uses the LabVIEW measurement libraries. By default, the test
sequence is installed to the following location: C:\Users\Public\Documents\National Instruments\PCB Assembly Test
Toolkit for LabVIEW\TestStand\Automation\Power Supply
Tests
Required Driver Application Software
This
sequence requires a supported version of NI-DAQmx.
Highlighted Features
Power Supply Test (with Trigger)—Sources the supply voltage using a power module and simultaneously measures
the test points with an analog input module. Hardware triggers reduce the
delay between source and measurement. This example uses the following
libraries:
DAQ_Power Supply Source and Measure
DAQ_Time Domain Measurement
Power Supply Test (without Trigger)—Sources the supply voltage using a power module and simultaneously measures
the test points with an analog input module, without using triggers. This
example uses the following libraries:
DAQ_Power Supply Source and Measure
DAQ_DC-RMS Voltage Measurement
Power down all Power Supplies—Powers down all power supplies by disabling the output. This example uses
the DAQ_DC Voltage Generation library.
Hardware Configuration
The following figure illustrates the hardware connections for this example sequence.
Refer to the documentation for your specific device for pinouts and other
information necessary to adapt this example sequence to your application.
Using the Sequence with
Physical Hardware
Run the sequence once in simulation mode. Running the sequence
in simulation mode creates the required global virtual channels in NI MAX that
you must modify.
Note In this
example, physical and global virtual channels are used to configure the
terminal or pin to perform the instrument actions. Global virtual channels
are software entities that encapsulate the physical channel along with other
channel specific information such as range, terminal configuration, and
custom scaling. You can create global channels in NI MAX and call them from
measurement libraries.
Right click the Import Hardware Config step and select Run Mode » Skip to skip the step.
Configure the remaining sequences. Open each sequence and
examine the Note to run with Hardware entry.
Configure the Power Supply and Measure (with Trigger)
Sequence sequence.
Update the Physical Channels input to use your
power module channel in the Power Supply Source and Measure initialize
step.
Open NI-MAX and update the physical channel linked to the global virtual
channels used in the Time Domain Measurement initialize steps:
TP_Power0, TP_Power1
and TP_Power2. Refer to Creating and
Modifying Global Virtual Channels for more information.
Open the Time Domain Measurement – Configure TP
step and update the Digital Trigger Source.
Update the Timing Engine to use your trigger line
in the Power Supply Configure and Measure step.
Set the Periodic waveform input to
True to perform time domain analysis in the
measured data in the Time Domain Measurement - Fetch
TP step.
Review the power and analog input pin configurations for your use
case.
Save the sequence.
Configure the Power Supply and Measure (without Trigger)
sequence.
Update the Physical Channels input to use your
power module channel in the Power Supply Source and Measure initialize
step.
Open NI-MAX and update the physical channel linked to the global virtual
channels used in the Time Domain Measurement initialize steps:
TP_Power0, TP_Power1
and TP_Power2. Refer to Creating and
Modifying Global Virtual Channels for more information.
Review the power and analog input pin configurations for your use
case.
Save the sequence.
Configure the Power down all Power Supplies
sequence.
Open the Power Supply Source and Measure -
Initialize step and update the Physical
Channels input to use your power module channel.
Review the power configurations for your use case.
A virtual channel is a collection of settings such as a name, a physical channel, input terminal connections, the type of measurement or generation, and scaling information. A virtual channel that is created outside a task is a global virtual channel.