Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

procomm "command mode"

Status
Not open for further replies.

mentalmom

Technical User
Jan 22, 2003
3
US
while working in procomm, i sometimes need to go to another program while still connected to my source. when i return to procomm, it appears i'm still connected, but at the bottom of the window it is blinking enable"modem command mode" in data menu to type modem commands. the only thing i can do is hang up and start over. does anyone know how to stop this from occurring everytime i need to change programs for 2 minutes. it even happens on occasion when i still have procomm up in front of me. if a push the command mode button i get the message. "this modem is no longer accessible to other applications." but then the same end result. hang up and try again. please help.
 
Is the cd light at the bottom of the Procomm window lit or not? If not, then the connection is no longer active and you are receiving the modem command message because there is no active connection when you press a key.

When you say you switch to another program, is it one that also accesses the modem? If you are not using modem command mode and use another program that accesses the modem, then I believe it will take the modem away from Procomm (I have not tested this, but it is how TAPI works).

How do you make your initial connection in Procomm? Is it a Connection Directory entry, a manual connection, or do you enable modem command mode and connect using AT commands? aspect@aspectscripting.com
 
i'm sorry to say i don't know of the cd light you speak of. i will have to pay attention to that tomarrow while working. i use a directory entry for connection and any program i switch to seems to cause this problem. i could go to word. say if i'm copying something from procomm than alt + tab over to word and paste. i might need to do a little editing and then go back to procomm. if i do it fast it's not a problem, but if i take to long, i'm locked up for sure. should i be using command mode before connection?
 
The cd light will be one of four simulated modem lights at the bottom middle of the Procomm window. It should appear by default, but you can change what appears in the user-defined cells of the Quick Select Line, so you may have chosen for different information to appear instead.

If you are making a connection via the Connection Directory, then there should be no need to use command mode. It sounds like the machine you are connecting to may have a very short timeout value and drops the connection if you do not send any text within a specified amount of time. It may be worthwhile to contact the person in charge of the remote machine and see if there is such a timeout value imposed on your connection.
aspect@aspectscripting.com
 
your right, the cd light is going out. i wrote a script for one that keeps it going in a loop and that stopped it from dropping. i'm just going to have to write something for the rest. thanks for your advice.
 
Is there a script to call a number and see if a modem answers, if so - then write the result to a text file.

I have a 4 story building with 100's of analog sets and I am trying to determine if end devices are plugged in, without having to walk every floor and move furniture.
 
You could do this with a script that looked something like this:

proc main
integer iNum

dialnumber DATA iNum
while $DIALING
yield
endwhile
if $CARRIER
;then you have a modem
endif
endproc

You would likely want some logic in the script to change the value of iNum (the phone number you are dialing) so that you can give it an extension to dial and a start and end range of the numbers you are interested in.

However, I think it might be more worthwhile to investigate software that is created with the purpose of war-dialing rather than trying to use Procomm. Procomm will only be able to connect and identify data modems, and that is only if the connection is successful. It will not be able to identify a fax modem (unless you try to send a fax) or a voice modem. aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top