Author Topic: com_port_terminal_vb !Help!!  (Read 18713 times)

typhoonwes

  • Member
  • ***
  • Posts: 1
com_port_terminal_vb !Help!!
« on: April 19, 2011, 10:22:20 am »
This is a great Vb program.

I am not a Programmer, and I really don't understand any of this.


Here is what I need.

Once the Termial window is running for "Com1".
I need it to loop every 4 sec...


User Input key 3
3 to 4 sec later User Input key 0
then wait 4 sec and start over again....

i would like this to loop forever... or have a stop button..


Can I add code to "com_port_terminal_vb"??? where to insert it.


Thanks

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: com_port_terminal_vb !Help!!
« Reply #1 on: April 19, 2011, 10:03:57 pm »
The application sends user typed data no matter when it's entered. If you want to send data without user intervention, call WriteToComPort with the data you want to send. For timing, see the .NET documentation on System.Timers.Timer.

For general questions about visual basic programming, the Visual Basic forums are a good resource. Here is one link:

http://social.msdn.microsoft.com/Forums/en-US/category/visualbasic

If you're not a programmer now, you will be when you get your project idea working!

Jan