10-17-2018 09:04 AM
Dear all,
i try to programm a bias function for my force/torque sensor, but my bias funktion doen't work in a good way. Is there some how get why?
I try to read in the first data an make offest with them as a array function. Is that wrong ?
Best Melina
10-26-2018 03:28 AM
Hi Melina,
but my bias funktion doen't work in a good way. Is there some how get why?
Because of using too many local variables: use shift registers instead!
Because you are mixing different array sizes: your bias vector contains just one element per channel, but you read more samples per channel - and try to do math with those differently sized arrays…
I try to read in the first data an make offest with them as a array function. Is that wrong ?
That is quite ok.
But you implemented it in a wrong way…
You really should learn about array handling in LabVIEW.
You should learn about polymorphic functions in LabVIEW: you don't need provide a "Gain" as 2D array, when you need just a scalar value!
(Cleaning up the VI might help too…)