Sign in to follow this  
sagha

Multiple serial ports open

Recommended Posts

In my project, I'd like to read the serial streams of more than one serial COM port at a time. I tried to make two separate serial objects in the device configuration, but I cannot open more than one at time. Is it possible to open two COM ports in DAQFactory in one project simultaneously?

Share this post


Link to post
Share on other sites

Yes you can definitely do this.  What problem are you seeing when you try this? 

 

Note that if you want to create two devices that use the same serial port you should only create one port and assign it to both devices.

Share this post


Link to post
Share on other sites

Hi. The problem I'm seeing is this:

I have two devices plugged into USB ports of my computer that are acting as serial ports, device A and device B. Device A connects as COM2 (for example) and device B connects as COM3. In my DAQFactory project, I make one device called mydeviceA and assign it to COM2. I make a second device, mydeviceB and assign it to COM3. When I go back to the menu settings for mydeviceA (to look at the raw serial stream, for example), I see that it has also been assigned to COM3. What I would like is for mydeviceA to read/write the stream from COM2 and mydeviceB to read/write the stream from COM3 all from the same project.

 

Thanks.

Share this post


Link to post
Share on other sites

Something is off then.  My guess is the assignments aren't correct.  Why don't you post or email us your .ctl doc so I can check.  Many customers run multiple com ports so the program is certainly capable of it.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this