Modem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kees Bakelaar

    #1

    Modem



    Hi all,


    This is not really a VB question, however, i am stuck a modem problem

    The modem is connected to a cristie teleport with a speed of 9600 bps.

    How can i set the modems DTE speed at fixed to 9600 bps ?

    sometimes, the modem has a different DTE speed, i have to disconnect the
    modem and connect it to a PC so it "learns" the 9600 bps speed.

    I have try'd s23, s37, etc.


    Hopefully somebodey has an answer.


    Best Regards, Kees


  • Raoul Watson

    #2
    Re: Modem


    "Kees Bakelaar" <kbakelaar@nima va.nl> wrote in message
    news:4119fcc6@i naja.bit.nl...[color=blue]
    >
    >
    > Hi all,
    >
    >
    > This is not really a VB question, however, i am stuck a modem problem
    >
    > The modem is connected to a cristie teleport with a speed of 9600 bps.
    >
    > How can i set the modems DTE speed at fixed to 9600 bps ?
    >
    > sometimes, the modem has a different DTE speed, i have to disconnect the
    > modem and connect it to a PC so it "learns" the 9600 bps speed.
    >
    > I have try'd s23, s37, etc.
    >
    >
    > Hopefully somebodey has an answer.
    >
    >
    > Best Regards, Kees
    >
    >[/color]
    MSComm1.CommPor t = 1 'if COM 1
    ' 9600 baud, no parity, 8 data, and 1 stop bit.
    MSComm1.Setting s = "9600,N,8,1 "
    ' Tell the control to read entire buffer when Input is used.
    MSComm1.InputLe n = 0
    ' Open the port.
    MSComm1.PortOpe n = True
    ' Send the attention command to the modem.
    MSComm1.Output = "ATV1Q0" & Chr$(13)

    I know it wasn't a VB question but I can only provide a VB solution


    Comment

    Working...