Click here to Skip to main content
15,887,477 members
Home / Discussions / C#
   

C#

 
GeneralRe: ISO extracter? Pin
Jacob Dixon7-Jul-09 15:38
Jacob Dixon7-Jul-09 15:38 
GeneralRe: ISO extracter? Pin
harold aptroot7-Jul-09 15:41
harold aptroot7-Jul-09 15:41 
GeneralRe: ISO extracter? Pin
Jacob Dixon7-Jul-09 15:49
Jacob Dixon7-Jul-09 15:49 
GeneralRe: ISO extracter? Pin
harold aptroot7-Jul-09 16:12
harold aptroot7-Jul-09 16:12 
GeneralRe: ISO extracter? Pin
danzar7-Jul-09 16:45
danzar7-Jul-09 16:45 
GeneralRe: ISO extracter? Pin
Jacob Dixon7-Jul-09 17:08
Jacob Dixon7-Jul-09 17:08 
GeneralRe: ISO extracter? Pin
Jacob Dixon7-Jul-09 17:08
Jacob Dixon7-Jul-09 17:08 
QuestionWhat is happening is info from one child form is being received or listen to by the wrong child form. Pin
Lecutus17-Jul-09 9:59
Lecutus17-Jul-09 9:59 
What is happening is info from one child form is being received or listen to by the wrong child form.

The situ is one parent form and any number of child forms. Specifically this is a truck control system, all the the truck/child forms are the same. But the monitoring and controls for each are to be independent of the other's actions. Example one truck could be in neutral with a rpm speed of 800, while another truck is in 3rd gear with rpm of 1000. So the situation has to be contained within the logical confines of the individual childform/truck.

I've tried using access modifiers to there extent. Making things 'private' as much as possible, getting rid of as much 'static' as possible.

What is first sent is the info packet. Defined as: !!!780;125;1400;0;5000&&&
The truck sends back a string of data for processing, and as confirmation of what's wanted by the operator. The string looks like this:
I5000R0780G02O099C060V23.3W2440F099L4S01400P00000X126Y057B27.08H65253E01T01D0000_99!

Within the program I'm using a ID_Parser to strip/read out the identifier at the beginning of the string to make sure it gets sent to the right form. Actually creating a instance of the truck/chilform that the info belongs to. I had to do this because sometimes the sending form would receive info string from another truck. This routine does put the port_in into the proper truck and its accompanying array:
public static string[] Trux_Info = new string[20];

The letters designate different pieces of information 'I ' designates id of the truck in this case truck5000, the 'R' is rpm, 780, followed by gear and so on.

The transmission is by RS-232, on the parent form, constantly open. Each truck sends/ reads through this, and the buffers, in and output, is flushed after each use. I've tried individual comports per childform, but had unaccessible issues.

As I have ran out of ideas and test methods I asking if anyone sees what I'm missing.

Further definitions, test methods, and results are provided as an attachment.

Is there way to attach attachments, I have them already zipped.?

Thanks
AnswerRe: What is happening is info from one child form is being received or listen to by the wrong child form. Pin
Christian Graus7-Jul-09 10:23
protectorChristian Graus7-Jul-09 10:23 
AnswerRe: What is happening is info from one child form is being received or listen to by the wrong child form. Pin
DaveyM697-Jul-09 12:38
professionalDaveyM697-Jul-09 12:38 
GeneralRe: What is happening is info from one child form is being received or listen to by the wrong child form. Pin
Lecutus18-Jul-09 4:17
Lecutus18-Jul-09 4:17 
AnswerRe: What is happening is info from one child form is being received or listen to by the wrong child form. Pin
Alan N7-Jul-09 17:28
Alan N7-Jul-09 17:28 
GeneralRe: What is happening is info from one child form is being received or listen to by the wrong child form. Pin
Lecutus18-Jul-09 4:07
Lecutus18-Jul-09 4:07 
Questionupdating the database with the edited value from the datagridview Pin
praveenkumar_vittaboina7-Jul-09 9:47
praveenkumar_vittaboina7-Jul-09 9:47 
AnswerRe: updating the database with the edited value from the datagridview Pin
Manas Bhardwaj7-Jul-09 10:12
professionalManas Bhardwaj7-Jul-09 10:12 
AnswerRe: updating the database with the edited value from the datagridview Pin
FilipKrnjic7-Jul-09 23:24
FilipKrnjic7-Jul-09 23:24 
QuestionC# accuracy probleb (double) Pin
shai sherman7-Jul-09 7:45
shai sherman7-Jul-09 7:45 
AnswerRe: C# accuracy probleb (double) Pin
Ennis Ray Lynch, Jr.7-Jul-09 8:08
Ennis Ray Lynch, Jr.7-Jul-09 8:08 
AnswerRe: C# accuracy probleb (double) Pin
harold aptroot7-Jul-09 8:23
harold aptroot7-Jul-09 8:23 
AnswerRe: C# accuracy probleb (double) Pin
Luc Pattyn7-Jul-09 8:27
sitebuilderLuc Pattyn7-Jul-09 8:27 
QuestionExcel Parseing Pin
guchu7-Jul-09 7:26
guchu7-Jul-09 7:26 
AnswerRe: Excel Parseing Pin
DarrenShultz7-Jul-09 8:21
DarrenShultz7-Jul-09 8:21 
GeneralRe: Excel Parseing Pin
guchu8-Jul-09 22:17
guchu8-Jul-09 22:17 
GeneralRe: Excel Parseing Pin
DarrenShultz9-Jul-09 5:18
DarrenShultz9-Jul-09 5:18 
QuestionEmail In C# Pin
kibromg7-Jul-09 5:41
kibromg7-Jul-09 5:41 

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.