votes
Serial Port and Threads.....
Hi All, Quick Yes or No question does the Serial Port class generate seperate threads if you are using mulltiple instances of it or does it all exist in the same thread? Glenn
blah blah blah is here! blah blah » Close
Hi All, Quick Yes or No question does the Serial Port class generate seperate threads if you are using mulltiple instances of it or does it all exist in the same thread? Glenn
Hi Guys, This is linked to a post yesterday about getting a form to respond when it doing other things and looses focus. If I create a seperate thread like [code] Thread StopButtonPressed = new Thread(new ThreadStart (btnStop_Click( ...
Hi Guys, I have several things happening on a form, I have now to add a stop button. This button must take precesednce over every thing that is going on and stop the routines that are going on dead. The form is out of focus while these ...
Hi All, I am working on a bit of software I wrote for Serial Comms I now want an option to allow for the input to read straight out like HyperTerminal did i.e. press 'a' an a is sent out of the port. The software I wrote sends out comple ...
and probably dirty method) of doing this in C# is there? Glenn
Hi All, I am in the process of writing a programming and test rig for some boards and have noticed an oddity. Some boards have been presumably damaged and when I try to test them the program hangs. My thought was well it can't open the ...
Hi All Does Application.Exit(); kill of a program cleanly. I ask as this is what I have done up to now and up unitl now it has worked, the program I am currently writing is bigger a slightly more complex (7 serial ports, 2 Dll's etc). W ...
Hi In Vis Studio 2008 C# is there a method of making a button have prioity over the rest there was I remember a method in VB6. What I'm after is a loop (or maybe a timer) running that checks every second or so to see if the button ha ...
Hi All, I have an issue I want to use the serial ports DataRecieved Event to over 6 six serial ports, I in the past only have used it on one. The procedure of defining and attaching them I know what I'm not sure of is [code] publi ...
Hi, The continuing saga of the Auto Test Rig. It appears that the program runs and will occasionally lock up. Bearing in mind the comms routines I am being made to use are designed to be uninteruptable I think some of the back ground task ...
Hi All, I think this is a question I tacked onto a previous one but here goes. I remember in VB6 there was a way to ensure a button was always clickable from the ide, I'm guessing there is a way of doing the same in Visual C# 2008. I t ...
Hi, This is related to a previous post regauding Serial Port issues "Do I need a custom event handler or would a timer do?". It appears that the clunky way of doing serial comms that I am using there will work for a time and th ...
Hi, The below code shows the way I am being told to Serial Comms (I think that polling to see if an event has happened would be better but....). Then problem I have is that the program appears to get stuck at the point [code] while (R ...
Hi, Debugging a program I have come across an oddity I think. When an exception is thrown I have always used the line number it gives back to navigate to it and fix it but this time it appears to be Form1.ActiveForm.Update() that is cas ...
Hi, I have an application running using serial comms & timers etc. I need a stop now button. At the moment I am using a standard button which when clicked gets over taken by other events. Is there a way changing the order which the b ...