If you are trying to monitor multiple ports at the same time, then you will most likely need to run a separate script (each watching a certain port) in separate Procomm windows.
If you want to do this sequentially, then you could have a procedure that your main script calls which does the work that is common to all connections. You would then use the set modem connection command in your main procedure to change the connection to a different port before calling the procedure to send the information. If you want to do this all at the same time, you would need multiple windows of Procomm open, each window talking to a different connection.
how would i go about doing it all at once. If i try to execute other files it waits for the first to return before it moves tot eh second, is there any way around this?
If you want to connect to all ports at once, you'll first want to have the proper number of Procomm windows open and set to the right connection. You could run the same script at the same time in all windows, as long as the information sent to each connection will be the same. In other words, the script should not be setting the connection, you should do that manually before running the script.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.