From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-28-2017 01:36 AM - edited 09-28-2017 01:36 AM
Hi, Can you please have a look at my code? I'm getting voltage data for every seconds but I need it for after every 10 minutes and I will record the data.
what I should do??
09-28-2017 03:35 AM
i never use the assistant vis, so im not sure,
but it looks to me that you get 100 samples at a 1 sample per 1/100s, then the loop iteration restarts,
to have this every 10min you would have to put a wait at the end.
make sure the data flow is proper since the "wait (ms)" vi has only a numeric input, you want to have the loop wait as the last action, before next iteration starts
09-28-2017 03:48 AM
Long waits are generally a bad idea. You could instead use the Elapsed Time function set for 10 minutes and put your logging code in a case structure.
09-28-2017 02:57 PM - edited 09-28-2017 02:58 PM
I tried to do this..it didn't work. Can you please help me to do that?
09-28-2017 02:58 PM
I also used elapsed time.Can you please help me to do that?
09-28-2017 03:35 PM - edited 09-28-2017 03:35 PM
Crossrulz's instructions were pretty simple and straight forward. If you didn't get it, attach your VI so we can see where you went wrong.
09-28-2017 03:38 PM - edited 09-28-2017 03:38 PM
Hi..thanks for your reply. attached is my code. I'm stuck at here.
09-28-2017 03:47 PM
That is a completely different VI!
09-28-2017 06:52 PM
Hi Riad, try something like this:
09-28-2017 11:51 PM
Hi....tried it ....couldn't get it,. Can you please do it in my code? Then I can understand better.