Click here to Skip to main content
15,890,825 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: finding the best algorithm Pin
YvesDaoust2-Dec-12 21:40
YvesDaoust2-Dec-12 21:40 
QuestionSplitting up multiple readings... Pin
glennPattonWork39-Oct-12 0:50
professionalglennPattonWork39-Oct-12 0:50 
GeneralRe: Splitting up multiple readings... Pin
harold aptroot9-Oct-12 0:57
harold aptroot9-Oct-12 0:57 
GeneralRe: Splitting up multiple readings... Pin
glennPattonWork39-Oct-12 1:27
professionalglennPattonWork39-Oct-12 1:27 
GeneralRe: Splitting up multiple readings... Pin
harold aptroot9-Oct-12 1:35
harold aptroot9-Oct-12 1:35 
GeneralRe: Splitting up multiple readings... Pin
Pete O'Hanlon9-Oct-12 2:05
mvePete O'Hanlon9-Oct-12 2:05 
GeneralRe: Splitting up multiple readings... Pin
glennPattonWork39-Oct-12 2:36
professionalglennPattonWork39-Oct-12 2:36 
GeneralRe: Splitting up multiple readings... Pin
Pete O'Hanlon9-Oct-12 2:45
mvePete O'Hanlon9-Oct-12 2:45 
I see a few issues with this design.

First of all, you are using the RTB as the datasource - you really should use a proper structure for the data - you can add the data from this to your UI if you need, but you should start off with the idea that the data is the important thing (this also simplifies you saving out the data).

Secondly - if you need to display the data, you will find it easier to display it in a ListBox. Adding items into a ListBox takes a lot less time than adding data at the end of a large RTB.

I would be tempted to have a structure that represented a single reading, and then create a Dictionary using the serial number as the key, and a List of these readings as the value. That way, you can iterate over the Dictionary and save out the values to separate files.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: Splitting up multiple readings... Pin
Jochen Arndt9-Oct-12 3:09
professionalJochen Arndt9-Oct-12 3:09 
GeneralRe: Splitting up multiple readings... Pin
glennPattonWork39-Oct-12 4:34
professionalglennPattonWork39-Oct-12 4:34 
GeneralRe: Splitting up multiple readings... Pin
Jochen Arndt9-Oct-12 4:45
professionalJochen Arndt9-Oct-12 4:45 
GeneralRe: Splitting up multiple readings... Pin
glennPattonWork39-Oct-12 5:15
professionalglennPattonWork39-Oct-12 5:15 
GeneralRe: Splitting up multiple readings... Pin
Jochen Arndt9-Oct-12 5:55
professionalJochen Arndt9-Oct-12 5:55 
GeneralRe: Splitting up multiple readings... Pin
glennPattonWork39-Oct-12 4:45
professionalglennPattonWork39-Oct-12 4:45 
GeneralRe: Splitting up multiple readings... Pin
Eddy Vluggen22-Oct-12 6:24
professionalEddy Vluggen22-Oct-12 6:24 
QuestionPuzzle 8 Solving with bfs Pin
mohammadkaab25-Sep-12 22:50
mohammadkaab25-Sep-12 22:50 
AnswerRe: Puzzle 8 Solving with bfs Pin
Alan Balkany26-Sep-12 4:27
Alan Balkany26-Sep-12 4:27 
GeneralRe: Puzzle 8 Solving with bfs Pin
mohammadkaab26-Sep-12 4:38
mohammadkaab26-Sep-12 4:38 
GeneralRe: Puzzle 8 Solving with bfs Pin
Alan Balkany26-Sep-12 4:42
Alan Balkany26-Sep-12 4:42 
GeneralRe: Puzzle 8 Solving with bfs Pin
mohammadkaab26-Sep-12 5:01
mohammadkaab26-Sep-12 5:01 
GeneralRe: Puzzle 8 Solving with bfs Pin
Alan Balkany26-Sep-12 5:09
Alan Balkany26-Sep-12 5:09 
GeneralRe: Puzzle 8 Solving with bfs Pin
mohammadkaab26-Sep-12 21:36
mohammadkaab26-Sep-12 21:36 
QuestionBit Interleaver Pin
Skippums24-Sep-12 16:07
Skippums24-Sep-12 16:07 
QuestionImage processing Pin
fabio_antonio23-Sep-12 8:25
fabio_antonio23-Sep-12 8:25 
AnswerRe: Image processing Pin
Alan Balkany24-Sep-12 4:46
Alan Balkany24-Sep-12 4:46 

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.