06-05-2023 04:51 PM
Hello,
I am trying to solve this multiplication. but it gives me an error.
How could I fix this?
Thanks
06-05-2023 05:40 PM
This looks more like a Python problem, not a LabVIEW problem. Does your code work in Python? You didn't attach code so we can't debug anything.
numpy.array([a scalar]) returns a zero-dimensional array, so iterating over len(time_array) doesn't make sense.
06-06-2023 08:14 AM
The problem is probably in the global time_diff_array. Put it inside the function.
06-06-2023 09:25 AM
Thank you!