LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need to process a .dat file using LabVIEW

Solved!
Go to solution

Hello,

 

I need to process a dat file using LabVIEW 8.6.1, I have attached the .dat file for your help. This file needs to be read and then display as a graph using LabVIEW.

If you can please help me with the data format as I need to modify the code in order to read this file.

 

thanks.

LabVIEW Intermediate I level!
0 Kudos
Message 1 of 17
(5,869 Views)
it is not letting me upload the .dat files because of the size... too big!
LabVIEW Intermediate I level!
0 Kudos
Message 2 of 17
(5,860 Views)
Your attachment did not work. Please try again.
0 Kudos
Message 3 of 17
(5,859 Views)

I am not able to upload it, it is 20 M!

 

 

LabVIEW Intermediate I level!
0 Kudos
Message 4 of 17
(5,852 Views)

Can you describe the format (binary, two columns with tabs, etc.).

What application generated the file? What the file written using LabVIEW? If so, can you attach the code used to write the file.

0 Kudos
Message 5 of 17
(5,843 Views)

This is what I am trying to do: 

  • I am exporting a .dsd file from DEWEtron to a .dat file in order to read it with the LabVIEW code that I have.
  • The LabVIEW code that I have read .txt and .bin file, therefore I want to modify it to read the .dat file
  • However, I don't have the file format for the .dat file.
  • DEWEtron, told me that NI should give me the file format as it is a format created by them
  •  The original .dsd file contains frequency spectrum vs time, that I need to use to analyze as a wavelet in LabVIEW

Please let me know if this helps
LabVIEW Intermediate I level!
0 Kudos
Message 6 of 17
(5,810 Views)

Either DEWEtron is giving you the runaround, or they didn't understand what you may have been asking them. Since you are exporting the .dat file from DEWEtron, then they must know the file format since their software creates it.

 

You said you alread have LabVIEW code that reads .txt and .bin files. Are these files also exported from the application? What do you think is in the .dat file that wouldn't be in the .bin or .txt file?

0 Kudos
Message 7 of 17
(5,804 Views)

Hello Smercurio_fc

 

That is exactly what I was thinking, well the LabVIEW code that I have right now reads .txt and .bin file since the input that I had before it is the output from another LabVIEW code. In other words, the legacy software in charge of doing the whole thing was LabVIEW, but now one part of it is handled by DEWEtron, therefore I need to modify my LabVIEW code in order to be able to read and process their .dat file.

 

And I am not sure what data would not be in the .bin or .txt file.

 

I have attached the .txt file for a better understanding.

 

Thanks

LabVIEW Intermediate I level!
0 Kudos
Message 8 of 17
(5,799 Views)

Dewetron is a company that provides various software packages. Do you know which one you are using? They apparently support DASYLab and LabVIEW so if they created a program for you with either, that might be why they are saying to check with NI. Do you have the source code?

 

The text file tells nothing.

0 Kudos
Message 9 of 17
(5,780 Views)

Which ones are the files extensions that support LabVIEW, as I am not able to see them. And I cannot post the LabVIEW Code Source, will it be ok with jpeg?

 

I was trying to read from the Standard Data File (.dat)

LabVIEW Intermediate I level!
0 Kudos
Message 10 of 17
(5,762 Views)