12-09-2015 08:52 AM
Hey gerd,
Is that a initialize array after the division?
12-09-2015 08:58 AM - edited 12-09-2015 09:09 AM
Hi Xx,
no, it's a BuildArray. You really should take the free online courses offered by NI on their website!
You will find example VIs in the example finder. And the example finder is located in the help menu of LabVIEW. No need to search example VIs on any website…
12-09-2015 09:04 AM
Hey gerd,
Found it. seems like they have examples for daq assist. which is very helpful. I will try to follow through. I appreciate your patience, its tough learning all the stuff in lab view. Something that will defintely take time and a lot of trial and error.
12-10-2015 09:53 AM
Hey Gerd,
I had some questions concerning your set up. I took some time to understand what you did and how you did it. Looking at the image attached, i had some questions when i ran the program. Default i had the wait timer set at 1000 ms. dt was set to 1 and the loop was at 30. So for 30 seconds there would be 30 recording with a 1 second time distance. This test ran complete with no issues. However, if i wanted to do a 60 second durtation with 10 seconds time distance why do i have to change the wait timer to 10000ms and dt to 10. I also have to change the >= on the compare to 6. this is because it has 6 loops with a 10000ms delay = 60 seconds. The test comes out fine but im not sure if this is correct. So what im really asking is shouldnt i just be changing dt to 10 and the compare loop to 60? Also if i hit the stop button it doesnt stop right away. it waits till the delay timer finishes. So it wont stop the test immediatly until after the current itteration is done.
thanks,
link
12-10-2015 10:49 AM
12-10-2015 12:01 PM - edited 12-10-2015 12:01 PM
Hi Dennis,
Thanks for the details. It clears up some questions i had. Now i know why my program works that way. Since the timer is still running in the while loop, an immediate stop wont work till it finishes that iteration. So, just to clarify, if im taking samples every 5 minutes for 1 hour, should i be using n samples instead of continious, right?
Perhaps i should just use a for loop for my time duration like you said.
Thanks,
link
12-10-2015 12:44 PM