01-21-2010 06:49 AM
Muy buenas!!
estoy utilizando una estructura de eventos pararealizar un programa en Labview. La cuestión es que dentro de un evento tengo unos valores que deseo actualizar muy a menudo. Para ello he puesto que el evento que lo actualice sea "Mouse Move", para cada vez que mueva el ratón se actualicen los valores pero esto no pasa, y tarda demasiado (varios segundos, sobre 10) hasta que se actualiza. ¿Cómo puedo hacer que se actualice más rápidamente?
Muchas gracias,
Un saludo! 🙂
01-21-2010 06:55 AM
Hi!!
I'm using a event structure to make a program. I have got some values I want to actualize very often. The event I get to actualize is "Mouse Move", so any time the mouse is moving, the values will actualize, but it's not happen. And it spend some seconds to actualize ( 10 ó 11) What Could I do to actualizer faster?
Thank You!:)
P.D.Sorry, because of spanish in english forum.
01-21-2010 09:21 AM
01-29-2010 04:09 AM
Hola Joselito,
he hecho una prueba con el evento Mouse Move y se actualiza con mucha velocidad. Te adjunto una captura. El motivo por el que tarde 10 segundos viene de otra parte de código o de la interacción de varias partes. Por ello, revísalo y puedes probar con otro tipo de evento más controlable por el usuario como es el de pulsar una tecla (keystroke). Suerte con ello.
Saludos
Jesus
01-29-2010 09:09 AM
The problem is when I want to change some values. I have got a standard state machine inside of a event. I realised the fault isn't in the event, if not in the standard state machine, because it's a slow. The entry to the function "Wait (ms)" inside of the standard state machine is 5 ms, but I don't know why is so slowly. It only has 10 states and they aren't so heavy...
Any suggestion? It works correctly, just to improve.
Thank you, anyway! 😃
02-01-2010 04:30 AM
I've already found it.
Thanks! 🙂
02-01-2010 07:09 AM
Can you share your solution so that it may help others?
Thanks.
🙂
02-01-2010 11:13 AM