Hello Marcus,
Thankyou for your advice. I just want to know
data actual of my program like frequency, time and power then
save as file txt so i can read the data anytime. But i have
problem, when i read the raw binary file use those source code
above, its appears float data in one coloumn and i don't know
which one frequency, time, or power because i didn't got
header of the data. I have to convert .dat file into format
that can read anywhere or convert to numerical data in matrix
because the data will process furthermore