11-27-2009 03:41 PM
That link is to a web site that is not in English - I can't read any of it.
You can upload abf files and other information to this forum. Click the "Add Attachments" link that appears below the "Post" and "Cancel" buttons. This will display a standard web file upload control. If the forum software complains because of the file extension, then simply place the files into a zip archive.
_Pavel_ wrote:
Dear smercurio_fc, if you can help me solve this problem or you have some idea about solve it - write. Please not write some about me and my experience with LabView.
You misunderstood my comment. I was not belittling you or making fun of you. I was pointing out that if the files you uploaded were an indication of your level of experience with LabVIEW, then trying to write a binary file read/write program from scratch using a format that's not really well known could be difficult, and it may be easier to simply try to not reinvent the wheel by trying to use a library that (apparently) already does what you're trying to do. I still don't understand what the problem was with trying to use the DLL.
11-28-2009 03:16 AM
Thanks!
I should convert the data in half precision and form cluster options in case of work with dll. If I work with bytes it is enough to write some parameters in know byte and write the data in half accuracy.
11-28-2009 03:33 AM
11-28-2009 09:20 AM
11-28-2009 02:08 PM
Yes, it's correct. As write srikrishnaNF before, we can download here http://zone.ni.com/devzone/cda/epd/p/id/5979 program which reading abf-files.
I'm interesting write abf-files, but MatLab can't solve this problem. And this problem can be solve with dll-library, or recognize how data write in abf-files on 2-byte float and write new data on this rule and change a little parameters in header abf-file.
11-30-2009 03:52 AM
Hi _pavel_,
Actually if you go through abfhelp.chm,the header details of all it are mentioned.Say for example if you want to read IFILESignature(File ID and Size Information) of that abf file,as mentioned in fileoffset,set the file pointer and read the data(type may be short ,long)using read from binary file function.I could read the header of that abf file.
Thanks and regards,
srikrishnaNF
11-30-2009 08:47 AM
_Pavel_ wrote:Yes, it's correct. As write srikrishnaNF before, we can download here http://zone.ni.com/devzone/cda/epd/p/id/5979 program which reading abf-files.
I'm interesting write abf-files, but MatLab can't solve this problem. And this problem can be solve with dll-library, or recognize how data write in abf-files on 2-byte float and write new data on this rule and change a little parameters in header abf-file.
Sorry, forgot that you're trying to write ABF files. I didn't look at the spec in detail, but it clearly indicates that it does not use 2-byte floats. The "
nDataFormat" element of the header indicates that 0 = 2-byte integer, and 1 = IEEE 4-byte float. Your file has "nDataFormat" = 0, so you should be reading/writing 2-byte integers. My guess is that they are scaled values.
11-30-2009 12:55 PM
Hello!
I'm solve this problem!
Later I will publicate LabView code.
Big thanks!
11-30-2009 09:02 PM
04-17-2010 07:56 AM