01-15-2007 05:15 AM
01-18-2007
12:59 PM
- last edited on
04-27-2025
07:22 PM
by
Content Cleaner
Hello Roy,
It looks like you want to be able to record and save a large amount of data that will later be used for analysis. If you want to use ascii/text file format, you have a cap to how much data you can record effectively. This method is really not suitable for data sets over 5000 points. The files you get are much larger in size and require more time to parse then binary file formatted data.
For large amounts of data I would recommend using binary files and to use the concepts of "disk streaming". I have attached several links to resources that discuss advanced topics in File I/O.
Using Functions for Advanced File I/O Operations
https://www.ni.com/docs/en-US/bundle/labview/page/standard-versus-advanced-tdms-functions.html
Introduction to LabVIEW Data Storage VIs
https://www.ni.com/en/support/documentation/supplemental/06/introduction-to-labview-tdm-streaming-vi...
If you choose to use ascii based file I/O, LabVIEW has several options that you can use. I have included a link to help files on all our various File I/O options. You will find directions to example in this document too.
File I/O VIs and Functions
https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/menus/categories/programming/file-mnu.html
01-18-2007
02:13 PM
- last edited on
04-27-2025
07:22 PM
by
Content Cleaner
Hi Roy,
As an alternative to Excel and other applications, NI offers DIAdem. DIAdem is a post processing and reporting application that was created specifically for the type of task you have described, and it works with up to two billion values per channel in up to 65,535 channels. DIAdem and LabVIEW both support the TDM and TDMS data formats, which are very suitable for your application.
Here are some links that will hopefully help you get some ideas. Feel free to post here if you have any questions about TDM/TDMS or DIAdem. I can give you a quick demo of DIAdem via the Web if you would like to see how quick and easy it is to do automatic filtering and frequency analysis and reporting in DIAdem.
TDM/TDMS:
https://www.ni.com/en/support/documentation/supplemental/06/the-ni-tdms-file-format.html
I hope this helps,
09-23-2008 06:41 AM
Hi,
Does anyone know if is possible communicate in real time between Simulink and Labview?
I'm use a .vi to acquire data from a gpib interface and I should manage in real time this data with a simulink model. I know that exists the Simulation Interface Toolkit but I prefer don't by another add-on! 🙂
thanks in advance,
Domenico
09-23-2008 07:38 AM
ERRATA CORRIGE
Hi,
Does anyone know if is possible communicate in real time between Simulink and Labview?
I'm
using a .vi to acquire data from a gpib interface and I should manage in
real time this data with a simulink model. I know that exists the
Simulation Interface Toolkit but I prefer don't buy another add-on! ![]()
thanks in advance,
Domenico
09-24-2008
09:55 PM
- last edited on
04-27-2025
07:23 PM
by
Content Cleaner
Hi,
The only think that I can say. It is possible to build interfacing from the sctrach. However, I am not sure about how MatLAB works. The following link may be useful for you:
How do I Transfer Data Between The MathWorks, Inc. MATLAB® Development Environment and LabVIEW?
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019LbjSAE&l=en-US
There are some works that have been done:
2. https://forums.ni.com/t5/LabVIEW/Matlab-and-Labview/m-p/5620?requireLogin=False
I trully believe you will shorten your development process by purchasing Simulation Trace Toolkit. So that you can precisely concern on your application.
You can approach our sales representative at your region. I think the price is really reasonable and you may get a discount if you are from academic institution.
Regards
Yasrof
Application Engineer
NI ASEAN