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

My Program Freezes Frequently when Using the NI-VXI Driver for Linux

Primary Software: Driver Software>>NI-VXI/VISA
Primary Software Version: 2.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I have a dual processor/SMP system running Red Hat Enterprise Linux 3 (RHEL3) SMP but my kernel freezes during most NI-VXI or VISA calls to VXI devices. I have noticed this behavior with the following calls: VXImove and waitForSignal.

Solution:
This problem can actually occur on either a single-processor or a dual-processor system. The reason for the crash is that some calls were omitted on the driver which caused the APIC functionality to work sometimes. If it is not configured properly you will experience a hang. We have created a patch for the NI-VXI driver for Linux that will fix the behavior. Follow the instructions below to implement the fix:
  1. Replace the file called vxi.c located under /usr/local/nivxi/src/ with the vxi.c attached below
  2. Run configure && make in /usr/local/nivxi/src
The fix should be implemented after you restart your computer or after you reload the driver.

Related Links:

Attachments:


vxi.c


Report Date: 09/20/2006
Last Updated: 09/22/2006
Document ID: 3QJGIA00

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