Path: news.mathworks.com!not-for-mail
From: "Gautam Vallabha" <gvallabh@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Read Data by Usb
Date: Fri, 22 Jun 2007 13:27:54 -0400
Organization: The MathWorks, Inc.
Lines: 42
Message-ID: <f5h0qn$5fg$1@fred.mathworks.com>
References: <467bd3b7$0$4792$4fafbaef@reader4.news.tin.it> <f5glp2$r5v$1@fred.mathworks.com>
Reply-To: "Gautam Vallabha" <gvallabh@mathworks.com>
NNTP-Posting-Host: vallabhag.dhcp.mathworks.com
X-Trace: fred.mathworks.com 1182533271 5616 144.212.219.185 (22 Jun 2007 17:27:51 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 22 Jun 2007 17:27:51 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
Xref: news.mathworks.com comp.soft-sys.matlab:415305



The instrument control toolbox 
(http://www.mathworks.com/access/helpdesk/help/toolbox/instrument/index.html) 
may help you in talking to the device over USB (also see 
http://www.mathworks.com/access/helpdesk/help/toolbox/instrument/f22-57896.html)

Gautam

"Isaac Noh" <inoh@mathworks.com> wrote in message 
news:f5glp2$r5v$1@fred.mathworks.com...
> Salvatore,
>
> You may be able to comunicate with the thermometer via the DLL that the 
> vendor's software uses to communicate to the device.  MATLAB has a generic 
> DLL interface that allows DLLs to be loaded into MATLAB.  This then allows 
> MATLAB to call the methods of the DLL.  The function to load the DLL is 
> called, LOADLIBRARY.
>
> If this is not accessible to you, the DAT-file that you can save can be 
> read into MATLAB.  There are examples in the documentation for reading in 
> DAT-files.  Just do a search for DAT.
>
> Isaac Noh
> Application Engineer
> The MathWorks
>
> "Salvatore Esposito" <salvatoreesposito76@alice.it> wrote in message 
> news:467bd3b7$0$4792$4fafbaef@reader4.news.tin.it...
>>I have a CS infrared thermometer with own usb interface and I would like 
>>to read acquired data into Matlab.
>>
>> Can I read data from usb into Matlab? and How Can I do it?
>>
>> If it isn't  possible, SW (User Graphic Interface)  CS infrared 
>> thermometer/usb interface will save acquired data in .dat file format. 
>> Can I read .dat file format into Matlab? ( I have seen load function. Is 
>> it correct function?)
>>
>> Sorry for my English and thanks a lot for your help.
>>
>> Salvatore