Author Topic: Is it possible to choose more than 1 port com ?  (Read 735 times)

egavoille

  • Newbie
  • *
  • Posts: 2
    • View Profile
Is it possible to choose more than 1 port com ?
« on: November 22, 2013, 08:03:53 pm »
Hello,

I would like to open 5 ports, and send the same data simultaneously.

Thank you

hid1

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Re: Is it possible to choose more than 1 port com ?
« Reply #1 on: November 23, 2013, 07:25:59 am »
Use 5 nrcomm object with seperate thread. 
Start thread. ..
comm port settings etc done.

but threads  now suspended.

Then,

thread1. resume;
thread2. resume;
thread3. resume;
thread4. resume;
thread5. resume;


Roman Novgorodov

  • Engineer
  • Administrator
  • Hero Member
  • *****
  • Posts: 994
  • we will win
    • View Profile
    • Forums.nrCommLib.Com
Re: Is it possible to choose more than 1 port com ?
« Reply #2 on: November 24, 2013, 03:40:03 pm »
Hello

You can create 5 instances of TnrComm class for necessary ports in single thread or drop 5 components in design time on Form.

Roman Novgorodov
DeepSoftware llc
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.