04-06-2012 08:33 AM
Hello,
I'm looking for a libray to read and write STDF file under Windows.
I have tried open-source libraries like libstdf but without success.
Do you know a library which can be easily used under Labwindiows/CVI (like Dll) and works fine ?
Thanks.
Solved! Go to Solution.
04-11-2012 06:40 AM
04-11-2012 08:11 AM
Hello,
In CVI and LabVIEW you are able to read from and write to Binary and Text files. The STDF file is simply a binary file with a set format which you will have to understand and then use with the CVI binary file functions.
http://digital.ni.com/public.nsf/allkb/BDEEB8C8EBA6D89D862572E400438F74?OpenDocument
http://digital.ni.com/public.nsf/allkb/A45A757C14D3421986256BEA006C547A?OpenDocument
Otherwise, you could use the libstdf.
Regards
Samuel G. | GEMESIS
Certified LabVIEW Architect
Certified TestStand Developer
04-12-2012 04:08 AM
I tried to compile the libstdf under CVI but there are many build errors.
The libray is not really C compliant: unknown keywords(inline, ...), variable declaration in the middle of function, ...
Some include files for windows are missing. I got it from the doxygen help on the website!
etc...
I tried to compile under visual studio, it doesn't work (a visual studio project exists in the 0.3 version of libstdf but not in the 0.4 version)
...
04-12-2012 04:49 AM
I have started to write my own stdf parser. In fact the stdf specification is not so hard to implement...