LED Test Sequence
- Aktualisiert2025-04-25
- 3 Minute(n) Lesezeit
The LED Test sequence demonstrates measuring differential voltage across the anode and the cathode of the LED. The sequence also demonstrates the validation of a PWM signal with an analog buffer. The sequence simulates analog input and analog output channels or modules.
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\LED Tests
Required Driver Application Software
This sequence requires a supported version of NI-DAQmx.Highlighted Features
- DAQ_Signal Voltage Generation
- DAQ_Time Domain Measurement
Hardware Configuration

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 to skip the step.
- Configure the remaining sequences. Open each sequence and examine the Note to run with Hardware entry.
- Configure the Validate DC Level Sequence sequence.
- Open NI-MAX and update the physical channel linked to the global virtual channels used in the DC-RMS Voltage Measurement initialize steps: TP_LED0. 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 Send and Validate PWM(Analog Buffer) sequence.
- Open NI-MAX and update the physical channel linked to the global virtual channels used in the Signal Voltage Generation and Time Domain Measurement initialize steps: TS_PWM_LED0 and TP_PWM_LED0. Refer to Creating and Modifying Global Virtual Channels for more information.
- Open the Time Domain Measurement - Configure capture settings for LED Measure step and update the Digital Trigger Source.
- Set Periodic waveform to True to perform time domain analysis in the measured data in the Time Domain Measurement - Fetch capture settings for LED Measure step.
- Review the power and analog input pin configurations for your use case.
- Save the sequence.
- Configure the Turn Off all AO Channels
sequence.
- Open the DC Voltage Generation - Initialize AO Channels step and update the Physical Channels input to use your analog output channel.
- Review the analog output pin configurations for your use case.
- Save the sequence.
Verwandte Inhalte
- Creating and Modifying Global Virtual Channels
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.