julius228 Posted December 4, 2008 Share Posted December 4, 2008 Dear Forum, I am running a DaqFactory application for download data from a remote instrument using GSM modem. This DF application run in a computer (10 minutes, 3 times each day) where several different application access to the modem in different time of the day, in order to download data from different instrument. What I need is let daqFactory use the COM port (shared modem) while it comunicate whit the instrument, and leave the port "free" in the rest of the time. Is it possible? Hope to make clear my self. Regards Link to comment Share on other sites More sharing options...
AzeoTech Posted December 4, 2008 Share Posted December 4, 2008 Yes it is. What you do is set the com port # to 0 and reinit the port. You do this with a few lines of script. Lets say your device is mymodem, and its on com3: // disconnect: device.mymodem.port = 0 device.mymodem.initcomm() // do other stuff // reconnect device.mymodem.port = 3 device.mymodem.initcomm() Link to comment Share on other sites More sharing options...
julius228 Posted December 4, 2008 Author Share Posted December 4, 2008 Thats what I was looking for. Thanks a lot for the clear and fast reply. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.