The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Detect devices connected to a serial port without using *IDN?
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 22
Registered: 4/19/12
Detect devices connected to a serial port without using *IDN?
Posted: Jul 15, 2013 6:49 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


To find the attached devices I cycle through all the available serial ports and send a *IDN? command and look for a response.

Due to the timeout, it takes too long.

Other than changing the timeout duration and sending *IDN? command, is there a way to search for connected devices on the COM ports?

Paraphrasing: All I need to know is whether there are any devices currently connected to my PC via the serial-ports (and if so, return the COM port #s). Is this possible without *IDN?


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.