LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV 5.1 , Datasocket , Web pages , How to hang up the phone line/modem ?

Using data socket to download data from a web page. Using AutoDial setup to
make the modem dial into a local ISP. But how to hang up the modem/phone
when I am finished? I have used Outport to toggle the rts/cts but this
leaves the modem in a funny state (not to mention the windows resource that
thinks it's got control of the modem). What is the correct way to hang up
the modem/phone and leave everything in a state that datasocket can dial in
and do it all over again at some other time ? Don't know enough about how
windows works with modems .

regards

Leo
0 Kudos
Message 1 of 2
(2,669 Views)
I assume that you are using RAS. Check the documentation there's a call to disconnect a current connection. I last worked with this stuff a year or so ago and so don't remember the exact details, but it was very easy to do and was in the Windows documentation on RAS.

I do remember that it was all done through the command line because I had to come up with a way to trap the RAS responses and return them to LV.

I know this isn't a complete answer, but I hope it points you in the right direction.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 2
(2,669 Views)