Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

How Can I Programmatically Clear PXI Trigger Routes or Reset the Chassis?

Primary Software: Driver Software>>NI-VISA
Primary Software Version: 4.0
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: PXI/CompactPCI>>Chassis

Problem:
I have either routed lines programmatically in LabVIEW or statically in MAX. At this point it is unclear what routes currently exist, so I would like to just reset the chassis and clear all routes. How can I do that?

Solution:
The only way to "reset" a chassis is to restart the computer. The simplest way to undo existing routes is to clear those that were routed.

Note: It is important to know that any routes configured manually, which is done in MAX, cannot be cleared programmatically, which is done in LabVIEW. Likewise, any routes configured programmatically in LabVIEW cannot be cleared by hand in MAX.

Trigger Routes Configured in MAX

  • If the trigger routes were originally configured in MAX, they must be undone in MAX. To undo the routes, set every trigger line back to "Dynamic". This effectively clears any existing routes.

Trigger Routes Configured in LabVIEW

  • If the trigger routes were originally configured in LabVIEW, they must be undone in LabVIEW. To undo the routes, create a subVI that goes through every possible configuration and "Unmaps" each one.  Because of this method, you will attempt to clear routes that don't even exist which will produce an error.  Ignore the error generated and move to the next possible configuration.


Related Links:

Attachments:





Report Date: 04/20/2007
Last Updated: 05/08/2007
Document ID: 48JAEVIH

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit