Jump to content

Recommended Posts

How would you script a modem check (com3) where if the device has a property equal to 'This device is working properly' it returns 1 if true or 0 it false? Any test that proves that the modem is active and available would be ok including sending the modem a test and reading the response.

Help would be appreciated

Since posting this request for assistance I have got this to work:


IF $VAR <> "" THEN

$VAR1 = "YES"


$VAR1 = "NO"


MsgBox(0,"", $VAR1)

When the modem is plugged in the value returned is the name of the port COM3 which is the value returned by the RegRead. When the modem is not plugged in the data value is null.

Provided that the device name does not change this will give me the result.

Comments would be appreciated.

Cheers ;) Ant

Edited by anixon
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...