Page 1 of 1

Multiple stopwatches with same external control

Unread postPosted: Wed Jul 02, 2014 5:15 pm
by robertcoach
Hi

How to use muliple stopwatches and use the same com port for all stopwatches to start (from the gun) all stopwatches at the same time?

Thanks

Re: Multiple stopwatches with same external control

Unread postPosted: Wed Jul 02, 2014 7:36 pm
by Stopwatch
Sorry, different processes unable to share the same COM port. Another XNote Stopwatch as External time source would help but it is not implemented yet.

Re: Multiple stopwatches with same external control

Unread postPosted: Wed Jul 02, 2014 10:22 pm
by robertcoach
That will be great, the idea is to use the gun to start the race and one stopwach per lanes. Use manual hotkeys to stop the time with a specific hotkeys for each lanes. That way, we can have Excel file with the time for each lanes. That is a lot more accurate than manuel start. Do you have an other way to do that?

Re: Multiple stopwatches with same external control

Unread postPosted: Thu Jul 03, 2014 8:16 am
by Stopwatch
robertcoach wrote:Do you have an other way to do that?

Only with many USB to COM.

Re: Multiple stopwatches with same external control

Unread postPosted: Mon Jul 14, 2014 6:07 pm
by robertcoach
I tried a few software that share serial port and it works. Now I been trying com0com and Hub4com to get a free solution but I can find the setting that work.
Anyone ?
com0com create virtual serial port that xnote can be set on. Hub4com make the link between those virtual ports.

Re: Multiple stopwatches with same external control

Unread postPosted: Mon Jul 14, 2014 7:15 pm
by Stopwatch
Most likely they do not support direct RTS-CTS DTR-DSR manipulations. Even not every USB to COM does.

Re: Multiple stopwatches with same external control

Unread postPosted: Tue Jul 15, 2014 3:31 pm
by robertcoach
I'm still working on it. on the default parameter for all ports is :
baud=19200, data=8, parity=no, stop=1, octs=on, odsr=off, ox=off, ix=off, idsr=off, ito=0

is there one or some parameters that should be different to work?

Re: Multiple stopwatches with same external control

Unread postPosted: Tue Jul 15, 2014 5:36 pm
by Stopwatch
robertcoach wrote:is there one or some parameters that should be different to work?

No. These parameters does not matter at all. Contact developers in regard to whether their software share control lines too.

Re: Multiple stopwatches with same external control

Unread postPosted: Fri Jul 18, 2014 2:19 pm
by robertcoach
Hi goog new I got it working, one port to start many stopwatch. I use com0com and hub4com . With the setup, I add many virtual pairs in com0com. I change the left side for a typical com name and kept the right side like it showup at first. I use hub4com to make the connection com4 is my gun start the command I'm using is:
hub4com --create-filter=pinmap --add-filters=all:pinmap --baud=9600 --octs=off --bi-route=all:all \\.\COM4 \\.\cncb0 \\.\Cncb1 \\.\cncb2 \\.\cncb3

Re: Multiple stopwatches with same external control

Unread postPosted: Tue Aug 05, 2014 6:41 pm
by robertcoach
to make it simple: hub4com --create-filter=pinmap --add-filters=all:pinmap \\.\COM4 \\.\cncb0 \\.\Cncb1 \\.\cncb2 \\.\cncb3 \\.\cncb4 \\.\cncb5 \\.\cncb6 \\.\cncb7

This is for 8 virtual port connected to com4.