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

Simulating a VXI/VME SYSFAIL Condition

Primary Software: LabVIEW Development Systems>>Professional Development System
Primary Software Version: 7.1.1
Primary Software Fixed Version: N/A
Secondary Software: Driver Software>>NI-VXI/VISA
Hardware: VXI/VME/MXI>>MXI Interfaces>>VME-MXI-2, VXI/VME/MXI>>MXI Interfaces>>VXI-MXI-2

Problem: I'm developing a test station and want to be simulate a VXI/VME SYSFAIL condition so that I can verify my software handles the event correctly. How can I do this?

Solution: SYSFAIL is a dedicated line on the VXI/VME bus. One way you can assert SYSFAIL high or low and simulate the SYSFAIL condition is by writing to a register on one of your VXI/VME devices that asserts SYSFAIL high or low.

For instance, the VXI-MXI-2 and VME-MXI-2 interfaces have a control register (VMCR, A16 offset x20). Writing a 1 or 0 to bit 9 of this register will drive the SYSFAIL high or low, respectively. By so doing, you can assert or unassert a SYSFAIL in your system via a MXI-2 interface. Attached is an example of how to go about doing so (LabVIEW 7.1.1, NI-VISA 3.3, NI-VXI 3.3.1).

If you are using a controller or instrument other than the VXI-MXI-2 or VME-MXI-2, you will need to consult your provided documentation for the appropriate register to write to.

For more information about Register Level Programming of VXI-MXI-2 or VME-MXI-2 interfaces, see the attached links below.

Related Links: Product Manuals: VXI-MXI-2 User Manual
Product Manuals: VME-MXI-2 User Manual

Attachments:


AssertUnassertSYSFAIL.vi


Report Date: 07/25/2005
Last Updated: 07/27/2005
Document ID: 3NOBM5LZ

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