LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Library for stdf file

Solved!
Go to solution

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.

 

 

Spoiler
 

 

0 Kudos
Message 1 of 5
(4,396 Views)
I don't know about stdf, but what problem did you have with libstdf ? It
wouldn't compile directly in CVI ? You can certainly compile it in some
Windows compiler as a .lib or .dll and then link it to your CVI app.
--
Guillaume Dargaud
http://www.gdargaud.net/
0 Kudos
Message 2 of 5
(4,381 Views)

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

GEMESIS.EU

0 Kudos
Message 3 of 5
(4,376 Views)

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)

...

 

0 Kudos
Message 4 of 5
(4,367 Views)
Solution
Accepted by topic author jm73

I have started to write my own stdf parser. In fact the stdf specification is not so hard to implement...

0 Kudos
Message 5 of 5
(4,363 Views)