Click here to Skip to main content
15,789,952 members
Home / Discussions / C#
   

C#

 
GeneralRe: Implementing a moving average Pin
Ralf Meier17-Feb-18 1:14
professionalRalf Meier17-Feb-18 1:14 
GeneralRe: Implementing a moving average Pin
auting8217-Feb-18 1:36
auting8217-Feb-18 1:36 
AnswerRe: Implementing a moving average Pin
Ralf Meier17-Feb-18 1:53
professionalRalf Meier17-Feb-18 1:53 
GeneralRe: Implementing a moving average Pin
auting8217-Feb-18 2:13
auting8217-Feb-18 2:13 
GeneralRe: Implementing a moving average Pin
Ralf Meier17-Feb-18 4:30
professionalRalf Meier17-Feb-18 4:30 
AnswerRe: Implementing a moving average Pin
Ralf Meier17-Feb-18 4:50
professionalRalf Meier17-Feb-18 4:50 
GeneralRe: Implementing a moving average Pin
auting8217-Feb-18 8:40
auting8217-Feb-18 8:40 
GeneralRe: Implementing a moving average Pin
Ralf Meier17-Feb-18 11:11
professionalRalf Meier17-Feb-18 11:11 
Yes ... I'm talking about that assignment
Analogsensorvalues=sObj[id].GetDigitalValue();

This couldn't be tested by me. But you have to realize that in my "method" the variable 'id' isn't used. I guess you you replace it by my loop-variable 'sensor'.
Inside the loop which you refer you assign 'sensor.toString' to the Textbox. That isn't correct - here you have to assign 'AnalogSensorValues.toString' as you have done before.

If you make all changes to my code-snippet as necessary the code should work as you want ...
If not please provide your actual code - apologize that my code-suggestion wasn't better ... but because C# isn't my 1st choice for coding I had to test my code before providing - so some of your assignments couldn't be made by me because I didn't have your complete project ...

Waiting for your Feedback ...
GeneralRe: Implementing a moving average Pin
auting8218-Feb-18 9:40
auting8218-Feb-18 9:40 
GeneralRe: Implementing a moving average Pin
Ralf Meier18-Feb-18 10:32
professionalRalf Meier18-Feb-18 10:32 
GeneralRe: Implementing a moving average Pin
auting8227-Feb-18 22:33
auting8227-Feb-18 22:33 
AnswerRe: Implementing a moving average Pin
Gerry Schmitz15-Feb-18 9:16
mveGerry Schmitz15-Feb-18 9:16 
Question.NET - choose correct service for conversion Pin
Bulgarin14-Feb-18 5:54
Bulgarin14-Feb-18 5:54 
AnswerRe: .NET - choose correct service for conversion Pin
Gerry Schmitz14-Feb-18 7:40
mveGerry Schmitz14-Feb-18 7:40 
Questioncreating trial version and expiry date issue Pin
Mou_kol14-Feb-18 1:30
Mou_kol14-Feb-18 1:30 
AnswerRe: creating trial version and expiry date issue Pin
Pete O'Hanlon14-Feb-18 1:38
subeditorPete O'Hanlon14-Feb-18 1:38 
GeneralRe: creating trial version and expiry date issue Pin
Mou_kol15-Feb-18 22:16
Mou_kol15-Feb-18 22:16 
AnswerRe: creating trial version and expiry date issue Pin
Eddy Vluggen14-Feb-18 4:22
professionalEddy Vluggen14-Feb-18 4:22 
AnswerRe: creating trial version and expiry date issue Pin
OriginalGriff14-Feb-18 5:30
mvaOriginalGriff14-Feb-18 5:30 
AnswerRe: creating trial version and expiry date issue Pin
Gerry Schmitz14-Feb-18 7:32
mveGerry Schmitz14-Feb-18 7:32 
QuestionHow dotnet application run Pin
Mou_kol13-Feb-18 23:12
Mou_kol13-Feb-18 23:12 
AnswerRe: How dotnet application run Pin
phil.o14-Feb-18 0:00
professionalphil.o14-Feb-18 0:00 
GeneralRe: How dotnet application run Pin
Mou_kol14-Feb-18 1:09
Mou_kol14-Feb-18 1:09 
GeneralRe: How dotnet application run Pin
phil.o14-Feb-18 1:59
professionalphil.o14-Feb-18 1:59 
GeneralRe: How dotnet application run Pin
Mou_kol14-Feb-18 2:10
Mou_kol14-Feb-18 2:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.