Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Errror DAQmx Start Task generación de señal digital

Hola, me gustaría que me ayudaran.

 

Estoy simulando el llenado de tanques y al programar señales digitales, al prinmer tanque todo esta bien. Al segundo tanque me sale esta leyenda:

 

Possible reason(s):

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.

Device:  Dev2

Task Name: _unnamedTask<4939F>

 

Estoy utilizando ademas el DAQ assistant, ¿no se si eso afecta?

 

Exporte esa sección del error a un New VI y ya no me sale. Un tanque sin problemas, el siguiente me sale este mensaje, el siguiente bien y asi sucesivamente. 

Ya revisé y todo pare estar bien. Agradecería su ayuda.

 

Saludos.captura.png

 

Todo bien, hasta aqui. La siguiente me marca el error.

 

captura2.png

0 Kudos
Message 1 of 2
(5,193 Views)

Hola Residente2012!

 

El código de error que estas obteniendo es el Error -200587. Como dice la descripción, este error ocurre cuando intentas utilizar líneas reservadas del dispositivo o cuando intentas accesar a esas lineas y una tarea todavía no ha terminado de utilizarlas. Debido a que mencionas que con un tanque si funciona y con el siguiente no, lo más probable es que este ocurriendo por el caso #2. Para ver si en verdad esta ocurriendo eso e identificar cuando y donde esta ocurriendo te recomiendo que ejecutes tu código con la herramienta Highlight Execution habilitada. 

 

Por favor presiona el link para ver más información sobre el error que te aparece.

 

Espero que esta información te sea útil.

 

Saludos!

Andres M.
National Instruments
ELP Support Engineer
www.ni.com/soporte
0 Kudos
Message 2 of 2
(5,164 Views)