Setting and Reading the Power-Up States of Digital Output Lines

Updated Nov 11, 2026

Environment

Hardware

  • PXI Digital I/O Module
  • Multifunction I/O Device

The following devices support programmable power up states:

  • 6509
  • 651x (6512, 6513, 6514, 6515)
  • 652x (6525, 6527, 6528),
  • All M Series boards (62xx)
  • All X Series boards (63xx)

You can set power-up states in NI Measurement & Automation Explorer (NI MAX) or with the DAQmx Set Power Up States  (Digital) function/VI. Using NI MAX is the recommended method. The programmable states are :

  • Logic low (0 V-0.8 V)
  • Logic high (2 V-5 V)
  • Tri-state (floating)

Note: You can only specify a programmable power-up state of tri-state on devices with a configurable direction.

Note: I/O direction on static DIO devices is port-configurable only. Therefore, you can set the power-up state to tri-state only on a port-by-port basis. You can, however, set individual digital output lines in a port to logic low or logic high.

Updating these sets the states to which to set physical channels on a device when the DAQ device powers up or when you reset the device. A device stores power up states in non-volatile memory that you can write to only a limited number of times. The write only occurs if a setting you request is different from the one currently stored. This article details the steps to alter these states in NI MAX and LabVIEW as well as how to read the states from the EEPROM in LabVIEW.

 

Setting power-up states in NI MAX (recommended method):

    1. Open NI MAX.
    2. Expand Devices and Interfaces » NI-DAQmx Devices.
    3. Right-click on your device and select Configure.
    4. Select the Power-up States tab.
    5. Select the port under the Port Name drop-down menu and the appropriate state for each line of the port.
    6. Click OK to write the settings to the device.
    7. Right-click on your device again and select Reset for the settings to take effect.

     

    Setting power-up states in LabVIEW:

    1. Open LabVIEW.
    2. Under Measurement IO » NI DAQmx » Advanced » System Setup, place the DAQmx Set Power Up States VI on the block diagram.
    3. Right-click and create » control for both the device in and pull up pull down levels terminals.
    4. Under Measurement IO » NI DAQmx » Dev Config, place the Reset Device VI.
    5. Switch to the front panel and select the appropriate settings for device in and pull up pull down levels.
    6. Run the program to write the settings to the device.

     

    Reading power-up states in NI MAX with NI IO Trace:

    1. Open NI I/O Trace and click Start Capture (or press F8).
    2. Open NI MAX.
    3. Expand Devices and Interfaces » NI-DAQmx Devices.
    4. Right-click on your device and select Configure.
    5. Select the Power-up States tab.
    6. Select the port under the Port Name drop-down menu and the appropriate state for each line of the port.
    7. Observe the checkboxes under each line (e.g., lines 0–7):
      Checked: Represents Logic High (1). For relay devices like the PXI-652x, this corresponds to an Open Relay state.
      Unchecked: Represents Logic Low (0). For relay devices like the PXI-652x, this corresponds to a Closed Relay state.
    8. If modifying the states, click OK to write the changes to the device. NI I/O Trace will log the underlying DAQmx API calls and communication status.
    9. If only reading, click Cancel to close the window without writing

     

    Reading power-up states from EEPROM in LabVIEW:

    1. Open LabVIEW and create a new VI.
    2. Under Measurement IO » DAQmx » DAQmx Advanced » System Setup, place the NI-DAQmx Get Power-Up States VI on the block diagram. Configure it for Digital » State.
    3. Right-click and create » control for the device in. Pass the DAQmx device handle to control.
    4. Right-click and create » indicator for power up states terminal.
    5. Run the program to read the settings from the device.

     

     

    Important Notes When Checking Power-Up States:

    • Please avoid using the NI MAX Test Panel to verify saved power-up states. Opening the Test Panel will initializes an active DAQmx software driver task that overrides the EEPROM power-up states with its own active software defaults.
    • To view the actual power-up state stored in the hardware:
      • In NI MAX: Look at the checkboxes in the Power-Up States window.
      • In LabVIEW: Run the DAQmx Get Power-Up States VI (described in the Reading Power-Up States from EEPROM in LabVIEW section). (Both methods read directly from the hardware's EEPROM without starting an active task).
    • To verify communication between the software and the hardware: Run NI I/O Trace while saving settings in NI MAX or running the LabVIEW VI to confirm that DAQmx read/write commands are successfully reaching the device.

    Updates the states to which to set physical channels on a device when the device powers up or when you reset the device. To determine the response time of the power-up states, please consult the specifications of each individual card.