Ferdinando, it’s a while since I did that but I think your sequence should work. I assume you won’t forget to release the semaphore after sequence finished. Cheers, Keith
> From: "stardata.info" <[email protected]> > I need to manage several serial port in several process in 4D V19 on windows > > Someone know ho i can do? > > Is possible this sequence on several process? > > 1 - if semaphore of com1 is unused, open com1 > > 2 - Use com1 > > 3 - Close com1 with command SET CHANNEL(11) > > During this steps if another process want to use COM1 and sempahore is > locked, the process wait > > Thanks > > Ferdinando ********************************************************************** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

