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 Perform a Self-Test of My NI-DAQmx Device Programatically in LabVIEW?

Primary Software: Driver Software>>NI-DAQmx
Primary Software Version: 7.0
Primary Software Fixed Version: N/A
Secondary Software: LabVIEW Development Systems>>Base Package
Hardware: Multifunction DAQ (MIO)

Problem:
I want to programatically perform an NI-DAQmx Self-Test in LabVIEW, similar to that available in Measurement and Automation Explorer, but I can't find the corresponding VI. Where can I find this VI or how should I implement a self-test in my program?

Solution:
While there is no DAQmx Self-Test VI in LabVIEW, we recommend using the DAQmx Reset Device VI. It provides for roughly the same, and slightly more extensive, functionality as the Self Test in MAX. This VI is located in the Measurement I/0»NI-DAQmx»Dev Config palette on the Block Diagram.

Note: The Reset Device VI immediately aborts all active tasks associated with a device, disconnects any routes, and returns the device to an initialized state. Aborting a task immediately terminates the currently active operation, such as a read or a write. Aborting a task puts the task into an unstable but recoverable state. To recover the task, use DAQmx Start to restart the task or use DAQmx Stop to reset the task without starting it.

Related Links:
KnowledgeBase 35TGB1VM: NI-DAQmx Internal Channels for Self-Diagnostics and Self-Calibration

Attachments:





Report Date: 04/02/2008
Last Updated: 04/03/2008
Document ID: 4K1EOBXK

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