Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7710859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:13:43+00:00 2026-06-01T01:13:43+00:00

I am working on a project with serial port. I want to Write command

  • 0

I am working on a project with serial port.

I want to Write command to serial port after every 1, 2 or x minute.

serialport1.write("AT");

I have a Timer and I am show Date and Time in my form with that timer . If there is any way to send above command with that timer or by using datetime.

I read lot of posts but didn’t understand, as I am starter in C# language.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:13:45+00:00Added an answer on June 1, 2026 at 1:13 am

    You Can use Timer and Set Interval for Timer in Property window…!

    You can Execute Command on the Timer Tick Event and update Date Time use Two Timer Control one for executing command with one or two minute and other timer use execute every second for Datetime updation…!

    Timer Tick Event Execute Every time Based on timer Interval…!

    U can Start and Stop Timer Easy Way like Timername.Start(); and Timername.Stop();

    like Below :

    Timer1_Tick()
    {
       serialport1.write("AT");
    }
    
      Timer2_Tick()
       {
         //Datetimeupdation code
       }
    

    Note: Timer Tick Event Execute you must start the Timer by using Timername.Start();

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Iam currently working on a project where i have to read serial port continuously.
I have a problem connecting to any serial port (want to exchange with an
I'm working on a project in Java, which is communicating with two serial port
I working on project and have problem with threading and update of UI. I
I'm currently working on project with Haskell, and have found myself some trouble. I'm
I am working a project that does not have a trunk / branches /
I am working on project -online file management where we have to tore file
I`m working in a serial terminal project developed in VB.NET. I need to display
I am currently working on a project. In this project I have set of
I'm working on an i/o project where I have a microcontroller that communicates with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.