From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



¿Por qué Obtengo el Error -200022 o -200587 Utilizando NI-DAQmx



Software Primario:
Versión de Software Primario: 8.3
Versión de Software Primario Corregido: N/A
Software Secundario: N/A

Problema:

Estoy creando una tarea de DAQmx en LabVIEW, o usando un panel de prueba para mi dispositivo en Measurement & Automation Explorer. Cuando intento comenzar la tarea, recibo los siguientes errores:

¿Cuál es la causa de los errores?

Error -200022: Resource requested by this task has already been reserved by a different task

Error -200587: Requested operation could not be performed, because the specified digital lines are either reserved or the device is not present in NI-DAQmx.

It is possible that these lines are reserved by another task, the device is being used through the Traditional NI-DAQ interface, or the device is being reset. You might also get the error if the specified resource is currently in use by LabVIEW network variables bound to the DAQ Channel, or if the DAQ Channel is being used in any OPC Client software.

If you are using these lines with another task, wait for the task to complete. If you are using the device through the Traditional NI-DAQ interface, and you want to use it with NI-DAQmx, reset (initialize) the device using the Traditional NI-DAQ interface. If you are resetting the device, wait for the reset to finish."



Solución:

El error ocurre cuando una tarea ya se encuentra corriendo en el dispositivo requerido ó cuando una linea o canal en particular ya está reservado en el dispositivo.

Por ejemplo, un chasis SCXI reserva algunas de las líneas digitales en los puertos 0 y 2 para la comunicación del dispositivo DAQ controlado. Así que si desea realizar cualquier Entrada/Salida digital en tales líneas, el error aparecerá. El artículo ligado contiene más información para utilizar líneas digitales en un chasis SCXI.

Intentando crear una tarea o canal en el dispositivo cuando la tarea o canal ya ha sido creado y no se ha detenido y limpiado puede también provocar que el error ocurra.

Para resolver el error, necesitará limpiar la tarea o canal para reestablecer el dispositivo si es que esta utilizando NI-DAQ Tradicional y ahora intenta utilizar el dispositivo en NI-DAQmx.



Ligas Relacionadas:

KnowledgeBase 3QNGTJSE: Using the Digital I/O Lines on an E or M Series DAQ Board While Controlling an SCXI Chassis



Archivos Adjuntos:





Día del Reporte: 09/13/2006
Última Actualización: 04/28/2009
Identificación del Documento: 41CIO1TG