12-26-2005 04:46 AM
12-26-2005 05:01 AM
Hi
There is many ways to do that.
You can use Sequence Structure and in the first sequence you can put your initalization. In the second you can put a While Loop with your main program.
You can also use State Machine Structure from template which is included with LabVIEW. One of your state colud be INIT, so then you can run i on start.
As I wrote there is many ways...
Regards
bogdani
12-26-2005 05:05 AM - edited 12-26-2005 05:05 AM
Hi,
If i understood your query right,
This is what you meant: In a continous process(loop) you want a part of code to execute(sending a query) only once (in the very first iteration).
If I have understood your query right, any of these attached VI should do the job
Only on the first iteration(loop zero), the true case will execute and a pop up message will come. ( first loop_1.vi)
For all successive iterations, the code inside the true case will not execute.
It this is not what you are looking for, do post your question in a bit more detail.
Regards
Dev
Message Edited by devchander on 12-26-2005 05:07 AM
12-26-2005 05:30 AM
Hiiii Dev,
Ya, This is what i want, thanks for the solution, sorry i am posting no of questions, but i am still new in Labview and doesnt execute # of projects in the LabVIEW, thats why!!!!!
Thank u,
Rujuta
12-26-2005 05:39 AM
Hi Rujuta,
This forums is intended for aiding Labview learners/Users.
So, feel no hesitance in posting your queries.
Glad to have been of assistance.
All the best for leaning LabVIEW!
Namaste,
Dev
12-27-2005 10:51 PM
Hii, Dev,
Is there any other methos to do this action? coz i think this might create a problem in my vi, in the initialisation, i am taking the data from serial port and in all other iterations, updating this array, but it isn't updating, instead it is holding the data which came in the first(inisialisation) iteration.
Thank you,
Rujuta
12-27-2005 11:02 PM