01-19-2006 12:24 PM
01-19-2006 12:44 PM - edited 01-19-2006 12:44 PM
Works fine for me. I don't get the extra zero when reading the file.

Message Edited by altenbach on 01-19-2006 10:44 AM
01-19-2006 12:52 PM - edited 01-19-2006 12:52 PM

Message Edited by altenbach on 01-19-2006 10:55 AM
01-19-2006 02:45 PM
01-19-2006 03:03 PM
Of course data types for write and read should match. The function as in altenbachs picture will write doubles to the file. Just put a "To Single Precision" conversion node right after the log function and everything should be fine.
@npai wrote:Hi,I tried that way, writing it the way u said, but when I am reading it, it gave me some unexpected results. I want the data in SGL format and as the write binary file.vi uses 8 byte little indian format, when reading it thru the Read SGL data vi I am not able to read it properly.
01-19-2006 03:21 PM
Hi Rolf,
I tried that and still it is not working. I am attaching the two wave form graphs which I am getting. The first one is the one which I am reading which is one point off and the second is the one which it is supposed to write. There is a just one point difference in the two graphs.
01-19-2006 03:21 PM
Hi Rolf,
I tried that and still it is not working. I am attaching the two wave form graphs which I am getting. The first one is the one which I am reading which is one point off and the second is the one which it is supposed to write. There is a just one point difference in the two graphs.
Thanks
Nitin
01-19-2006 03:49 PM - edited 01-19-2006 03:49 PM
Message Edited by altenbach on 01-19-2006 01:55 PM
01-19-2006 04:05 PM
Thank you very much for that information.
I was trying everything for that, and that was just a small problem and I wouldn't be able to figure that out. Thank you very much
Nitin