The Action Button Test sequence generates DC voltages to simulate button actions that demonstrate DC-RMS voltage measurements simultaneously on specific PCB test points.

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\Action Button Tests

Required Driver Application Software

This sequence requires a supported version of NI-DAQmx.

Highlighted Features

  • Action Button Test—Sources DC voltage with an analog output to perform button actions. Measures DC-RMS voltage using analog input on specific test points. This example uses the following libraries:
    • DAQ_DC Voltage Generation
    • DAQ_DC-RMS Voltage Measurement
  • Turn Off all AO Channels—Powers down all analog output channels by configuring an output voltage of 0 V. 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

    1. 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.
    2. Right click the Import Hardware Config step and select Run Mode » Skip to skip the step.
    3. Configure the remaining sequences. Open each sequence and examine the Note to run with Hardware entry.
    4. Step into the Action Button Test sequence.
      1. Select the DC Voltage Generation - Action Button ON State and DC Voltage Generation - Action Button OFF State steps and update the generated static digital states based on Action Button ON and OFF conditions. In the example, the Action Button ON condition is achieved by supplying 3.3 V to TS_BUTTONENABLE0 and the Action Button OFF condition is achieved by supplying 0 V to TS_BUTTONENABLE0. Review and modify the digital states based on your use case.
        Note The maximum current drive per channel is specific to each device. For the PXIe-6363, the maximum current drive per channel is ±5 mA. For the TS-15110 analog output module, the maximum current drive per channel is ±1 mA. If you are using another device, consult the applicable device specifications. Consider the specified limit when configuring button states.
      2. Review analog output and analog input pin configurations for your intended use case.
    5. Configure the Turn Off all AO Channels sequence.
      1. Open the DC Voltage Generation - Initialize AO Channels step and update the Physical Channels input to use your analog output channel.
      2. Review the analog output pin configurations for your use case.
      3. Save the sequence.