ni.com is currently experiencing unexpected issues.
Some services may be unavailable at this time.
I cannot save the file into the DAT format. I can only save into text, TDMS, and binary format. I don't know how to save the file in the DAT file.
Hello Prabesh,
what is the DAT format. What is its structure and what data should it contain?
.DAT isn't well defined.
But it's a binary file, so any file you use Write binary functions and call .DAT is technically a DAT-file ...
In your case i assume you'll have to adhere to some data format, so do that. 😉
(What's the format definition?)
@Yamaeda wrote:
.DAT isn't well defined.
But it's a binary file, so any file you use Write binary functions and call .DAT is technically a DAT-file ...
In your case i assume you'll have to adhere to some data format, so do that. 😉
(What's the format definition?)
.DAT is not necessarily binary. I've seen lots of .dat files that were just plain text files (tab delimited, space delimited, etc.).
.DAT is definitely not well defined, and prabesh99 needs to give us more specific details about the format that is needed in order to get more specific help.
@johntrich1971 wrote:
.DAT is not necessarily binary. I've seen lots of .dat files that were just plain text files (tab delimited, space delimited, etc.).
.DAT is definitely not well defined, and prabesh99 needs to give us more specific details about the format that is needed in order to get more specific help.
You're right! I've seen that too, come to Think about it! So yeah, whatever the program maker wants to call a data-file often ends up with a .dat extension.
My Point still stands, though. 😄
I am sorry for making confusion. actually I need a file in the DAT extension.
Thank you for your concern.
I am measuring the Power by using the Thorlabs Power meter. Then I make a waveform of Power and Time. Now I need to save these data in the DAT extension.
Thank you
You are going to have to give us more information. As we’ve already told you the .dat extension could be any kind of file. We can’t tell you how to do it if we don’t have the actual da5a format. Is it a plain text file? If so how do you want the data in the file.Is it some proprietary binary format? .dat is just an extension that can mean anything.
Thank you for your reply. Actually, I need a file in the DAT extension. But I don't know how to save in plain text also. Could you please tell me how to save the file in plain text?