Path: news.mathworks.com!newsfeed-00.mathworks.com!newscon02.news.prodigy.net!prodigy.net!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 27 Jan 2008 12:45:36 -0600
Date: Sun, 27 Jan 2008 11:47:54 -0700
From: Jesse Lai <"jlai.[DELETETHIS]matlab"@gmail[NOSPAM].moc>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
Newsgroups: comp.soft-sys.matlab
Subject: Re: Automatically scan for instruments on bus (GPIB or TCPIP)
References: <q5ednZ0PfaoQfRXanZ2dnUVZ_gednZ2d@comcast.com> <PqGdnahZyrlBxgbanZ2dnUVZ_jWdnZ2d@comcast.com> <fnfmkn$2n$1@canopus.cc.umanitoba.ca> <ZNSdnaVWR_oq8QbanZ2dnUVZ_uyinZ2d@comcast.com> <13ppe9igr1lnh0e@corp.supernews.com>
In-Reply-To: <13ppe9igr1lnh0e@corp.supernews.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <nLqdnd10QJDNTAHanZ2dnUVZWhednZ2d@comcast.com>
Lines: 24
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.35.90.18
X-Trace: sv3-Oq2E9xKY8oePIpUVvBNdrV3/pXW0MlWveqECX3hKETOgEw1MV7kmwH0af6mfo2iuVrNJFNbZRDJ/+w7!za3E8kgUmRsDcRT6UpMGqvD3m/u03Wn76Kjs+TLqZ4npOZ5EA5WeQ7AeGgZx8oQBTYH/ebWEH8H9!elgwnj77rdJF0t6huBo9U5Bdxrk=
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: 2487
Xref: news.mathworks.com comp.soft-sys.matlab:447802


D. Ismay wrote:
> Jesse Lai wrote on 26-Jan-08 09:26 :
> [...]
>> Commonly on a TCPIP "bus", 
> 
> As Mr. Robinson tried so diligently to explain to you earlier, TCPIP is 
> not a 'bus', it is a communication protocol.  Also, the acronym GPIB 
> means 'general purpose interface bus', so TCPIP is not "...similar in 
> meaning to the GPIB bus".
> 
> It seems unlikely you will be able to solve your problem if you cannot 
> be bothered to understand fundamental terminology.

I have already found a solution to my problem, now I just have to 
compile a DLL for the code.  I'm going to use NI's Measurement and 
Automation Explorer as the repository for connected instruments just 
like LabView does it.

I've found the correct .NET library calls from C# to obtain the list of 
instruments on the various interfaces (GPIB, TCPIP, Serial, etc).  I'll 
compile it into a DLL, then call it from MATLAB.

Perhaps there is a better way to directly call .NET resources from 
MATLAB?  If not, I'll continue down this path.