Advertisement

04.16.2008 at 05:14PM PDT, ID: 23329363
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.1

Comm Port output only works on Develpment workstation. Why not on a client workstation running the exe?

Asked by indy500fan in Microsoft Visual C#.Net

Tags:

Friends,

I have created a program that outputs a serial stream over a commport.  I have developed it on my local workstation and it works great there; however, when I run it on another workstation, Most of the output is missing.

For example, I have a heartbeat running, and it's out put should be: $F, 0, "59:59:59", "08:10:31", "", CRLF
but it is only putting out the $ character.  

Any thoughts?  Missing dll, comm port setting?

Attached is my code for generating a heartbeat in the serial stream.

Thanks in advance!

Best Regards,
EricStart Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
private void HeartBeatGenerator()
        {
            TimeSpan tsHours = TimeSpan.FromHours(DateTime.Now.TimeOfDay.Hours);
            TimeSpan tsMinutes = TimeSpan.FromMinutes(DateTime.Now.TimeOfDay.Minutes);
            TimeSpan tsSeconds = TimeSpan.FromSeconds(DateTime.Now.TimeOfDay.Seconds);
            string sTime = ((tsHours + tsMinutes) + tsSeconds).ToString();
            string Flag = (this.clsVariables.CurrentFlagStateProperty).ToString();
            string InsertString = "$F,0,\"59:59:59\",\"" + sTime + "\",\"00:00:00\",\"" + Flag + "\"\r\n";
            this.Squirt(InsertString);
        }
 
 
        private void Squirt(string InsertString)
        {
            SerialPort serialPort = this.serialPort1;
            serialPort.Open();
            serialPort.Write(InsertString);
            serialPort.Close();
 
            if (this.lblActivity.BackColor == Color.Blue)
            {
                this.UpdateScreenLabelBackColor(LabelType.lblActivity, Color.SkyBlue);
            }
            else
            {
                this.UpdateScreenLabelBackColor(LabelType.lblActivity, Color.Blue);
            }
 
         }
 
Loading Advertisement...
 
[+][-]04.16.2008 at 05:44PM PDT, ID: 21373229

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.16.2008 at 05:58PM PDT, ID: 21373287

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.16.2008 at 07:02PM PDT, ID: 21373606

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.16.2008 at 07:31PM PDT, ID: 21373728

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 03:18PM PDT, ID: 21381915

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.17.2008 at 03:30PM PDT, ID: 21381986

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.18.2008 at 01:19AM PDT, ID: 21383997

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.24.2008 at 05:27AM PDT, ID: 21430012

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.30.2008 at 12:45PM PDT, ID: 21473970

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.30.2008 at 10:40PM PDT, ID: 21476693

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 04:57AM PDT, ID: 21477825

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 09:43AM PDT, ID: 21480264

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.01.2008 at 12:52PM PDT, ID: 21482048

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.02.2008 at 02:58AM PDT, ID: 21485518

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Visual C#.Net
Tags: vs 2005 C#
Sign Up Now!
Solution Provided By: ali_fakoor
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.05.2008 at 06:32AM PDT, ID: 21499851

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.06.2008 at 09:40AM PDT, ID: 21508813

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628