LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read labview data file (txt or bin ) in matlab

Dear all,
 
How can I read data collected from NI Multifunction DAQ cards using labview to use it in matlab?
0 Kudos
Message 1 of 2
(3,254 Views)
Hi Usama,

The easiest way would be to write all your data to a txt file, probably using the "Write to Spreadsheet File.vI" on the File I/O tab of LabVIEW, this will convert 1 or 2D Array of SGL precision numeric data to a seperated text file, by default it is tab seaperated, but you can make it comma seperated, depending on what Matlab wants the data as.

As LabVIEW has binary file writes, you could also write a binary file, and if you knew the Matlab .MAT file format structure, you could create .MAT files directly from LabVIEW, but this is an advanced feature and requires intimate knowledge of the .MAT file format, so would not be recommended.

Regards
JamesC
NIUK and Ireland

0 Kudos
Message 2 of 2
(3,243 Views)