03-07-2006 12:34 PM
03-08-2006 02:50 PM
Hello,
I really don’t know what you mean by modular in this case. Modular typically refers to the concept of breaking down your program into distinct components (http://www.google.com/search?hl=en&q=define%3A+modular+programming&btnG=Google+Search). I notice that your program does lock up on me too, but it seems unrelated. I do think good programming is necessary (in fact, you might want to consider reviewing the LabVIEW Style Guidelines), but in this case, it seems as though your program is stuck in one of your formula nodes with the while loop. I deleted that node altogether and it hasn’t frozen on me since. I would consider taking a look at whether your loop inside your formula node halts.
Hope it helps!
03-08-2006 07:16 PM
Hello Sir
My problem of the VI freezing on me was solved way back by Dennis. He told me that my while loop was stuck in an infinite loop when I said while (1). I removed that and it was working fine then. After that my aim was to get modular probramming done. As you have correctly looked up the definition (pardon me for a poor explanation), I did manage to break my data in 2 parts and store them alternatevely. That is exactly what I am doing with 2 LVM's. If you see my 2nd VI that I uploaded, it perfectly does the job for me. Each memory location holds the data for 10 seconds and then re sets before new data comes in.
03-08-2006 07:17 PM
03-09-2006 04:52 PM