11-13-2020 11:01 AM
Hi,
I need help trying to increase the time data is collected. It currently only collects data for 1200 milliseconds, but want to be able to collect data for 5000 milliseconds.
Thanks,
Abby.
11-13-2020 11:16 AM
Much of the code is in subVI's that you didn't include and we don't have.
One problem I do see is that you are opening and closing the resource on every iteration of the while loop.
Typically you should open/initialize before the loop, do the repetitive work inside the loop, close the resource after the loop.