Discusiones sobre Productos NI

cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

problema con vi server

necesito correr una aplicacion en la que hago uso de vi server, cuando la corro en labview no tengo ningun problema, el problema resulta cuando creo un ejecutable y lo quiero correr desde el ejecutable pero no lo hace estamos trabajando en labview 8.0 alguien me prodria ayudar.
 
Gracias
0 kudos
Mensaje 1 de 2
3.252 Vistas

Que tal:

El problema seguramente está en las rutas que utilizas. Al crear un ejecutable las rutas de los archivos se ven alteradas. El siguiente extracto de la ayuda de LabVIEW explica lo que pasa:

  • If the VI loads other VIs dynamically using the VI Server or Call By Reference Nodes, make sure the application or shared library creates the paths for the VIs correctly. When you include the dynamically loaded VIs in the application or shared library, the paths to the VIs change. For example, if you build foo.vi into an application, its path is C:\..\Application.exe\foo.vi, where C:\..\Application.exe represents the path to the application and its filename.
  • If the VI uses the Current VI's Path function, make sure the function works as expected in the application or shared library. In an application or shared library, the Current VI's Path function returns the path to the VI in the application file, and treats the application file as a VI library. For example, if you build foo.vi into an application, the function returns a path of C:\..\Application.exe\foo.vi, where C:\..\Application.exe represents the path to the application and its filename.

Espero esto sea de utilidad. Si necesitas mas ayuda, no dudes en volver a publicar un mensaje en este hilo.

Saludos.




Robst - CLD

Using LabVIEW since version 7.0


0 kudos
Mensaje 2 de 2
3.233 Vistas