From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Programmatically Route PXI Trigger Lines Across a Multi Segment PXI Chassis in LabVIEW

Productos y Entorno

Esta sección refleja los productos y el sistema operativo utilizados para crear el ejemplo.

Para descargar el software de NI, incluyendo los productos que se muestran a continuación, visite ni.com/downloads.

    Hardware

  • Data Acquisition (DAQ)

    Controlador

  • NI DAQmx
  • NI VISA

Código y Documentos

Adjunto

Descargar todos

Overview
This VI demonstrates how to route one or all the PXI Trigger Lines (0..7) simultaneously from the source to destination bus

 
Description
Here is a brief description of the example:

Using the NI VISA driver, it is possible to programmatically route the trigger lines in a multi-segment PXI chassis using LabVIEW, LabWindows CVI, or another ANSI C development environment. The following example demonstrates how to route one or all the PXI Trigger Lines (0..7) simultaneously from the source to destination bus.

 

Requirements

  1. LabVIEW 2012 (or compatible)
  2. NI-VISA
  3. NI-PXI Devices


Steps to Implement or Execute Code

  1. Initialize values.
  2. Update the user interface to reflect the state of the VI.
  3. Respond to user events: Open Session, Route, Route All, Unroute All, Close Session, Stop button presses.
  4. Check for errors or a Stop button press event.
  5. Handle errors.

 

Additional Information or References

VI Snippet

 Route PXI Trigger 2012 NIVerified.png

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

Mikhail
RF Toolkits, Product Support Engineer
National Instruments

El código de ejemplo del Intercambio de Código en la Comunidad de NI está autorizado con la licencia MIT.