Example Code

Testing Relays in a Matrix Switch Module

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Hardware

  • Data Acquisition (DAQ)

    Software

  • LabVIEW

    Driver

  • NI DAQmx

Code and Documents

Attachment

Download All

Overview
Demonstrates how to use a DIO capable DAQmx device to test every relay in a matrix switch module.

 

Description

This example uses a DIO capable DAQmx device, with at least 1 input and 8 outputs, to quickly test every Relay in a Matrix Switch Module.

 

Requirements

Software:

  1. LabVIEW 2012 (or compatible)
  2. NI-DAQmx


Steps to Implement or Execute Code

  1. Configure the DAQmx channels and properties to the appropriate values.
  2. Run the Switch Tester. vi.
  3. Click Stop to stop the VI.

Additional Information or References
VI Snippet

1111.png

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

Aldo H
Ingenieria de Aplicaciones

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.