
Like (0)
Hello,
My term variable is an array that contains only 0 while yet I say:
My intention is to set the pulse durations in a table.
Where is my mistake?
thank you
This does not change the table 'duree' is always 0 on all lines while I wait in this table the pulse duration;
Thank you but this doesn't change the table
rfd in you sheet is either 0 or 3.142, so the program modification that Vladimir gave works correctly, it's your choice of boolean test values that is the problem?
You say my choice of boolean ?! A boolean that is true or false
I would just do this:
When rfs 3142 is in line 16 then I put the value of TPAS = 1603 in a table.
When rfs 3142 is in line 31 then I put the value of TPAS = 3106 in a table.
when Rfs is 3142 then the line 79 so I put the value of TPAS = 7916 in a table.
when Rfs is 3142 then the line 94 so I put the value of TPAS = 9419 in a table.
So with my Duree2, I have the duration of the pulses.
Can you to help me, please, it's almost the end
Sorry, what I ment is that you were testing for valuse between 0.1 and 2.0, but rfd is not within this range, so all results are correctly set to 0.
I don't know what you are doing, not my area. But I don't see how the program gives you a pulse duration.
Do you want to increase the value of tpas by one everytime the absolute value of the corresponding value of rfd is nonzero?
I
Excuse me,
I want to do :
When rfd 3142 is in line 16 then I put the value of TPAS = 1603 in a table.
When rfd 3142 is in line 31 then I put the value of TPAS = 3106 in a table.
when rfd is 3142 is in the line 79 then I put the value of TPAS = 7916 in a table.
when rfd is 3142 is in the line 94 then I put the value of TPAS = 9419 in a table.
ETC...
So with my Duree2, I have the duration of the pulses. exemple : one row : 3106  1603 = 1503
Do you have understand ?
Thank you very much
you must to take the file : 16.xmcd
Just in case this helps, I added programs to produce the following, I know its not in the terms you want, but you can modify easily enough.
thank you very much but i have to find the answers.
See in file attached.
Thank you again.