Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Restaurar Task

Solved!
Go to solution

Buenos días, recientemente actualice a la versión NI-DAQmx 8.9 y el problema es que no conserva la calibración y los parametros que en un primer momento se hicieron, antes de hacer dicha actualización hice una copia del contenido del disco duro, mi pregunta es la siguiente. ¿Puedo recuperar los archivos de configuración de NI-DAQmx Tasks?

 

Muchas gracias por vuestra atención.

 

Saludos,

0 Kudos
Message 1 of 4
(7,976 Views)
Solution
Accepted by topic author vcoll

Hola vcoll,

 

la mejor forma de evitar esto en futuras ocasiones es salvar un archivo de configuración del MAX en File >> Export. Puedes salvar escalas, tareas, canales globales... Esta información la recoge el siguiente documento:

 

http://digital.ni.com/public.nsf/websearch/0E0D3D7C4AA8903886256B29000C9D5A?OpenDocument

 

También puedes importar en LabVIEW programáticamente este fichero de configuración:

 

http://digital.ni.com/public.nsf/allkb/BBB5B94C038267DF8625723E00030559?OpenDocument

 

En tu caso concreto, si las tareas han desaparecido del MAX la mejor opción sería cargar este fichero de configuración, pero como no lo tienes, se puede probar una última cosa:

 

The best way to export virtual channel/task information is to use the Export Wizard (in MAX, File»Export). Otherwise, the information is contained in config3.mxs.  The following steps show how to copy this file to another computer. 

  1. For Windows XP or 2000 navigate to C:\Documents and Settings\All Users\Application Data\National Instruments\MAX\Data\ (For Windows Vista the path to use is C:\ProgramData\National Instruments\MAX\Data)
  2. The file of interest is config3.mxs. This file contains the configuration information for DAQmx devices and their Data Neighborhood information. Create a copy of this file. 
  3. Stop MAX services on the computer you wish to transfer the file to. This is done by closing MAX and then launching the command window (Start»Run»Type: "cmd") and entering the command "net stop mxssvr". 
  4. In the MAX data folder (same path as above) delete the files config3.mxs, config3.mxc, config3.mxd, config3.mx5, and storage.mxc
  5. Place the copy of config3.mxs in the newly cleared data folder. 
  6. Restart the computer
  7. Start MAX; the virtual channels should be copied to the Data Neighborhood. 

Although you may be able to copy this file from one computer to another to transfer the channel/task info, using the Export Wizard is a more reliable method (especially for DAQmx tasks/channels) since some information may be contained in niconfig.daq. Just copying config3.mxs will not guarantee that the correct information will be copied or work correctly on the target computer. This should only be used as a last resort. For example, MAX will not start and you hadn't previously exported channel information.

Note: In older versions of MAX, config3.mxs is called config.mxs.

 

Si esto no funciona, me temo que tendrás que rehacer todas la tareas, no te queda más remedio. Puedes marcar este post como solución para beneficio de los demás usuarios del foro y agradecerles su ayuda a través de kudos.

 

Suerte con ello!

 

Jesus

Message 2 of 4
(7,955 Views)

Hola Jesus!!, muchisimas gracias por la ayuda, a funcionado perfectamente!!!! Soy nuevo en el mundo de LabView y la verdad que gracias a este foro estoy aprendiendo mucho (y enganchandome cada vez más). Ahora mismo termino de hacer copias de seguridad de la calibración, las cuales tendre bien guardadas.

 

De nuevo Jesus, ¡¡¡¡¡GRACIAS!!!!!

0 Kudos
Message 3 of 4
(7,919 Views)

De nada, Vcoll. Me alegra que mi información te haya sido de ayuda 😄

 

0 Kudos
Message 4 of 4
(7,913 Views)