LAVA: Data Types - LAVA

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Data Types What type of inputs does LV take? Rate Topic: -----

#1 User is offline   itsallaboutthecode 

  • One hit wonder!
  • Group: Members
  • Posts: 1
  • Joined: 08-August 06

Posted 23 July 2010 - 08:10 PM

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.
0

#2 User is offline   Ton Plomp 

  • How many lines per hour? Zero!
  • View gallery
  • Group: Moderators
  • Posts: 1,540
  • Joined: 13-June 05
  • Location:Netherlands
  • Version:LabVIEW 2009
  • Since:2000

Posted 23 July 2010 - 08:36 PM

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
0

#3 User is offline   hooovahh 

  • Extremely Active
  • Group: V I Engineering, Inc.
  • Posts: 353
  • Joined: 26-October 06
  • Version:LabVIEW 8.6
  • Since:2004

Posted 23 July 2010 - 09:03 PM

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.
"Maybe Hoovah is really Crelf's alter-ego, which he uses to irk people?" - Gary Rubin
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic