08-29-2006 11:42 PM
08-30-2006 01:37 AM
08-30-2006 01:39 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
08-30-2006 02:00 AM
Thank you Daniel for the sample VI. I made some changes to better reflect my case and I attached it in here. Titou, the VI attached in here will operate for a few seconds, then it will stop. The data is displayed in the chart, but I want to be able to switch the mode when after the elapsed time has completed, with the data already acquired. I suspect the application should still run in some kind of loop after acquiring the data.
Regards,
Nick
08-30-2006 02:13 AM
08-30-2006 02:31 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
08-30-2006 07:48 PM
Thank you Daniel and TiTou. The VI that Daniel kindly provided again does what I was asking for. Now I try to do even more changes to it. Once the first data acquisition process has completed, I want to be able to restart it again, from within the application. I tried adding a new event and a button to reset my elapsed time component, but it doesn't work. I will attach in here the project saved as in version 7.1, maybe this time it can be opened. I got some warnings about missing some vi's, so not so sure it can be opened.
FormatTime String.vi
Cannot save VI from VI.LIB to previous version.
subElapsedTime.vi
Cannot save VI from VI.LIB to previous version.
Regards,
Nicolae
08-31-2006 02:27 AM
08-31-2006 07:17 PM
Hi Daniel,
I only start learning Labview a few weeks ago and I enjoy it. But I have some difficulty understanding how to use various structures and how can I do specific things. I appreciate your help. I tried adding another while loop around the lower loop in the application. As expected the inner loop is running now continuously. I am aware I need to set a condition to start/stop the inner loop, but I don't know how to do that. For you it might be very simple, but for me, at this stage it isn't. How can I put a condition to run the inner loop only once and then to wait until I press a button?
Regards,
Nick
09-01-2006 02:01 AM