Path: news.mathworks.com!newsfeed-00.mathworks.com!newscon02.news.prodigy.net!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 12 Jan 2008 09:45:17 -0600
Date: Sat, 12 Jan 2008 08:47:00 -0700
From: Jesse Lai <someone@somewhere.com>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
Newsgroups: comp.soft-sys.matlab
Subject: Automatically scan for instruments on bus (GPIB or TCPIP)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <q5ednZ0PfaoQfRXanZ2dnUVZ_gednZ2d@comcast.com>
Lines: 15
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.35.90.18
X-Trace: sv3-jUnKBRMi2pLu3f9i/BY6KWxKJWytBlKTSUrrckVKuw4j7DT/xqEp9MfMBqCROuwPiKQ52thsCzLgdIv!onaV0UJ4NnE9PDyYTnTkfaFhXhXtPkRZdYvGjQerz90v9UUkHJkkp/CX9m/1Bo2J7v9Zf+X4NxW1!gkkXE+2SlaeHEs06bmcVKHU/0as=
X-Complaints-To: abuse@comcast.net
X-DMCA-Complaints-To: dmca@comcast.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.37
Bytes: 1791
Xref: news.mathworks.com comp.soft-sys.matlab:445468


I'd like to be able to programatically scan either a GPIB or TCPIP bus 
to find connected instruments similar to how the TMTOOL or other similar 
applications do (NI MAX, Agilent IO Libraries, etc).

I do not even know where to begin this process though as the instrument 
control toolbox by itself only allows connections to known instruments. 
   Has someone out there done this before that could provide some 
insight  into the best way to accomplish what I want to do?

I'd like to be able to find the attached instruments on the bus, run the 
  *IDN? query to find the identifier and then report the results.

Thanks,

Jesse Lai