Jump to content

Recommended Posts

I have a friend who was going to use a pre-made system to pull data from an NVH tester... he wants to know how many and what types of file can LabVIEW read?? He wants to do an analysis and present the data in labview but the data will already be built into some type of file... if we can specify, which is the best to work with? If this software has its own type of data/file... is there a way to use labview to extract it anyway?

I am new to LabVIEW so I'm not too sure.

Link to comment

Try to get the specification of the file, look for words like 'float', 'unsigned', 'struct'.

Try to match a LabVIEW cluster, then use 'read from file' and the cluster as described. You might need to tweak the endianess of the read function.

If this fails (and it might) it's worthy to build a parser, but without a description and a demo file it's quite hard for us to help you.

Ton

Link to comment

I think the answer you are looking for is CSV or the like. Reading a tab delimited or comma delimited file is a native feature and can be done very quickly. There are some xml parsers that have been written, TDMS of course, and I think think that the file format for .DOC and .XLS are now documented, so theoretically a parser could be written (or may already exist in a DLL) for that. Pretty much the answer is any file type can be read in LabVIEW if you know how to parse it, and what structure it is in.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.