11-21-2011 05:19 AM
Hi,
I need to compute and display the psd of a .bin file.I found this nice code on the forum but it cannot read a .bin file. What modification do I need to do??
11-21-2011 05:28 AM
The program that you find provides also time domain waveform before PSD calculation. Did you got this as you expected?
Or
Check the datatype option in read binary File VI.
Better to post your data along with VI.
11-21-2011 08:25 AM
@adiremo wrote:
found this nice code on the forum
where?
but it cannot read a .bin file.
That's because it's not reading a ".bin" file. It may be using the Read From Binary File, but it's actually reading a standard tab-delimited text file. I do not know why the author chose to use the Read From Binary File VI. Or why they simply didn't use the Read From Spreadsheet File VI.
What modification do I need to do??
Impossible to say because there is no standard format for a ".bin" file. You must know the format used to store the data and then you can know how to read it.
11-21-2011 10:20 PM
nks for the prompt responses, I could not upload my .bin file coz its too bulky, more than 130 Mb, its in VLC format
11-22-2011 07:48 AM
What is "VLC format". That's not any format I've ever heard of. Have you tried opening the file with a text editor, like Notepad++? Do you see a bunch of non-printable characters, or do you see ASCII text?