02-28-2006 05:25 AM
03-01-2006 01:52 PM
Nishant,
I'm confused about what you are trying to accomplish with your VI. It appears that you are simply using it to create a wait or to keep track of elapsed time in your program; is this true? If so, I would recommend simply using the Wait.vi and Elapsed Time.vi that are included in LabVIEW's function palettes. Is there a reason why you are not using them, and if so, explain why you have written your VI the way you have.
03-09-2006 05:48 AM
Hiii, Sulzer
Sorry for the delayed reply, but can you please post the example for that? here i am explaining u wat i am doin and wat i requires....
Actually i am doing a trigger function, in which once the trigger comes i have to write the data into the excel file and after the user specified time, i have to stop the trigger, which automatically stops writing the file,so i want the timer which calculates the time in seconds, specified by user, and i ll code the way, as if trigger comes, i ll use that timer, to stop the trigger, mean after that much time (in seconds, of course) i ll stop the trigger, can you please help me that way? can you post a vi which gives me some idea
, the vi which i ve posted in the last post were doing the same thing but as they are while loop, they are not stopping their execution after once, they are running continuosly, but i dont want that, i want this loop to execute only once at a time.
Thanks,
Nishant
03-10-2006 06:19 PM
Hi Nishant -
What you described doesn't sound anything like the VI posted, but nevertheless, I have attached an example that implements what you described. It is simply a modified version of the example that ships with LabVIEW called "Write to Text File.vi". All I did was add the Elapsed Time.vi to it and connect "Time has Elapsed" output to the stop terminal. All the file writing was already part of the example.