annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Values Radio button

Risolto!
Vai alla soluzione

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)

Scarica tutti
0 Kudos
Messaggio 11 di 16
890Visualizzazioni

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Messaggio 12 di 16
877Visualizzazioni

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.

0 Kudos
Messaggio 13 di 16
859Visualizzazioni

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?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Messaggio 14 di 16
832Visualizzazioni

Hi GrdW,


Yes ScanFromString failed because the array is not filled it is empty.

Yes I did the probe.
Now how to make ScanFromString act only when the array is filled please?
0 Kudos
Messaggio 15 di 16
816Visualizzazioni

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Messaggio 16 di 16
809Visualizzazioni