01-22-2023 12:37 PM - edited 01-22-2023 12:40 PM
Hello, I am trying to sum the values of the same elements in my table but I have this error.
I don't understand this error, can you help me please?
(Sorry I had forget the image in the first post)
01-22-2023 12:46 PM
Hi Ngouda,
@Ngouda wrote:
Hello, I am trying to sum the values of the same elements in my table but I have this error.
I don't understand this error, can you help me please?
Did you try to check the inputs for ScanFromString using probes?
This way you can easily find the reason for that error…
01-22-2023 02:05 PM
Hi Gerdw,
Yes I tried the probe, I saw that it only takes commas as input and yet I have the values in the table that I use as input, but I still can't figure out why, I've tried many things but I'm still stuck on it.
01-23-2023 01:46 PM
Hi Ngouda,
@Ngouda wrote:
I saw that it only takes commas as input and yet I have the values in the table that I use as input,
I really don't know what you are talking about…
In your VI you initialize the shift register with an array of 10 empty strings.
In the timeout you try to parse that array, but ScanFromString fails because it cannot find the expected data in your array of empty strings!
Did you really use probes (and highlight execution) to find the problem?
01-24-2023 05:32 AM
Hi GrdW,
Yes ScanFromString failed because the array is not filled it is empty.
01-24-2023 06:16 AM
Hi Ngouda,
@Ngouda wrote:
Now how to make ScanFromString act only when the array is filled please?
IF array element is filled
THEN ScanFromString
Or implement some error handling to act appropriately upon that error…