How Can I Perform a Self-Test of My NI-DAQmx Device Programatically in LabVIEW? Primary Software: Driver Software>>NI-DAQmxPrimary 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 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
