Click here to Skip to main content
15,883,792 members
Home / Discussions / C#
   

C#

 
GeneralRe: Modifying multiple fields based on a condition Pin
Bice908-Feb-20 4:15
Bice908-Feb-20 4:15 
AnswerRe: Modifying multiple fields based on a condition Pin
phil.o8-Feb-20 3:04
professionalphil.o8-Feb-20 3:04 
GeneralRe: Modifying multiple fields based on a condition Pin
Bice908-Feb-20 4:17
Bice908-Feb-20 4:17 
GeneralRe: Modifying multiple fields based on a condition Pin
phil.o8-Feb-20 4:53
professionalphil.o8-Feb-20 4:53 
AnswerRe: Modifying multiple fields based on a condition Pin
Gerry Schmitz8-Feb-20 3:41
mveGerry Schmitz8-Feb-20 3:41 
GeneralRe: Modifying multiple fields based on a condition Pin
Bice908-Feb-20 4:25
Bice908-Feb-20 4:25 
GeneralRe: Modifying multiple fields based on a condition Pin
Gerry Schmitz8-Feb-20 4:52
mveGerry Schmitz8-Feb-20 4:52 
GeneralRe: Modifying multiple fields based on a condition Pin
Bice908-Feb-20 6:22
Bice908-Feb-20 6:22 
Yes, exactly what I am doing.
C#
private void Myport_DataReceived(object sender, SerialDataReceivedEventArgs e)
{
in_data = serialPort.ReadLine(); //Reading one line from the serial port
this.Invoke(new Action(dataProcessing)); //start processing data
}

split = in_data.Split('\t'); 
//this is in the dataProcessing() method.

The split is an array, where I take the channels as split[0], split[1]...etc. And yes, above ~500 samples/second, the data starts to lag and "pile up". I will do this queuing later, when I really need these high speeds.
QuestionC# Interviews on the horizon Pin
Andrew Torrance7-Feb-20 3:11
Andrew Torrance7-Feb-20 3:11 
AnswerRe: C# Interviews on the horizon Pin
OriginalGriff7-Feb-20 3:52
mveOriginalGriff7-Feb-20 3:52 
GeneralRe: C# Interviews on the horizon Pin
Andrew Torrance7-Feb-20 6:51
Andrew Torrance7-Feb-20 6:51 
GeneralRe: C# Interviews on the horizon Pin
phil.o7-Feb-20 23:05
professionalphil.o7-Feb-20 23:05 
QuestionPerformance penalty of Debug.Assert in .NET Pin
Rob Philpott4-Feb-20 23:44
Rob Philpott4-Feb-20 23:44 
AnswerRe: Performance penalty of Debug.Assert in .NET Pin
OriginalGriff4-Feb-20 23:57
mveOriginalGriff4-Feb-20 23:57 
AnswerRe: Performance penalty of Debug.Assert in .NET Pin
OriginalGriff5-Feb-20 0:17
mveOriginalGriff5-Feb-20 0:17 
GeneralRe: Performance penalty of Debug.Assert in .NET Pin
Rob Philpott5-Feb-20 0:36
Rob Philpott5-Feb-20 0:36 
GeneralRe: Performance penalty of Debug.Assert in .NET Pin
Richard Deeming5-Feb-20 0:44
mveRichard Deeming5-Feb-20 0:44 
GeneralRe: Performance penalty of Debug.Assert in .NET Pin
Rob Philpott5-Feb-20 1:13
Rob Philpott5-Feb-20 1:13 
GeneralRe: Performance penalty of Debug.Assert in .NET Pin
Rob Philpott5-Feb-20 0:40
Rob Philpott5-Feb-20 0:40 
GeneralRe: Performance penalty of Debug.Assert in .NET Pin
OriginalGriff5-Feb-20 1:23
mveOriginalGriff5-Feb-20 1:23 
GeneralRe: Performance penalty of Debug.Assert in .NET Pin
Luc Pattyn5-Feb-20 8:54
sitebuilderLuc Pattyn5-Feb-20 8:54 
GeneralRe: Performance penalty of Debug.Assert in .NET Pin
OriginalGriff5-Feb-20 9:08
mveOriginalGriff5-Feb-20 9:08 
AnswerRe: Performance penalty of Debug.Assert in .NET Pin
jsc4210-Feb-20 4:13
professionaljsc4210-Feb-20 4:13 
QuestionHow do i get value from string Pin
SSI134-Feb-20 19:40
SSI134-Feb-20 19:40 
AnswerRe: How do i get value from string Pin
OriginalGriff4-Feb-20 20:02
mveOriginalGriff4-Feb-20 20:02 

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.