07-09-2020 06:51 AM
Hello,
currently I'm creating a VI for reading out a multimeter.
In this application I need in parallel a measurement about the last 3s and 30s while tool is continueing and for this I want to use the VI "Mean PtByPt".
Every 25ms I get a new value, so I have a sample length of 120 and 1200.
120 samples are ok, but 1200 seems to stop sporadically and after a few seconds it keeps going on.
Do you have an idea for this issue?
Thanks
Stefan
07-09-2020 06:54 AM - edited 07-09-2020 06:58 AM
@Stefan_shs wrote:
Hello,
currently I'm creating a VI for reading out a multimeter.
In this application I need in parallel a measurement about the last 3s and 30s while tool is continueing and for this I want to use the VI "Mean PtByPt".
Every 25ms I get a new value, so I have a sample length of 120 and 1200.
120 samples are ok, but 1200 seems to stop sporadically and after a few seconds it keeps going on.
Do you have an idea for this issue?
Thanks
Stefan
Sorry my post wasn't helpful.
07-09-2020 07:16 AM - edited 07-09-2020 07:18 AM
Hi Stefan,
the problem with images is: we cannot debug them using LabVIEW.
So I created a simple test VI:
As this one works as expected (i.e. nothing "stops suddenly") I guess the problem is in other stuff of your VI next to the PtByPt-Mean functions.
Recommendation: Debug your VI…
07-09-2020 07:49 AM
Hello Gerd,
thanks for answering so fast.
Now I added the VI 😉 - sorry
I will try your vi-test.
best regards
Stefan
07-09-2020 08:01 AM - edited 07-09-2020 08:03 AM
Hi Stefan,
I simplified your VI to run the test without any file handling:
No need to build up an ever-growing array just to calculate a min/max value.
Are you sure by adding current values you get the "average voltage"???
I also added a wait time to the loop…
Please run such a test to verify your observations!
07-10-2020 02:12 AM
Hi Gerd,
the simply test was successfully without any abnormalities except there seems to be a small difference between LV2013 and LV2018, but that is to neglect, I think.
At the moment I'm working with 2013.
And the theme with the average voltage:
The documentation is not so fine till now. I measure a voltage value from a current transducer, add all values and divide them by the index. And the factor to get the current is 60.
And I will insert a wait time - so I get a defined time for the samples by the mean currents.
Thanks
Best regards
Stefan