09-03-2012 08:34 AM - edited 09-03-2012 08:35 AM
Hello,
I have some standard binary file format (.sie) that has been written in origin IDE. The sie type extension file format is a public format, but not defined by Origin. In origin IDE, i can be able to import these files and also be able to export it to excel as csv type. Now, i want to do the same thing in lab windows cvi. i need to import .sie type file and be able to read and export it to excel in lab windows cvi. Is this possible? Please help me to work on this project. Thanks in advance.
Regards,
Jayakumar.V
09-03-2012 11:23 AM
Reading and writing binary file is indeed possible in CVI, the problem normally lien in the definition of the file format you want to access.
I never found .SIE extension during my activity; a fast search on google returned this page with a link to the document explaining one file structure: it's a format dedicated to accounting so it's possibly not your case, but could they be your files?
Before finding the complete description of the file format you cannot think of any operation on the file itself, unless it is so self evident that you need little effort to access file content (this normally happens only on text files).
09-04-2012 09:00 AM
With Origin, another direction you could go would be to use ActiveX to control the Origin software through CVI using Origin's COM interface. In theory you should be able to call up Origin and read/write to the .sie files through their application though I haven't done this with their software so I don't know how feasible this is.
http://www.originlab.com/index.aspx?go=Products/Origin/Programming/AutomationServer
09-04-2012 09:36 AM
Hi Roberto,
you can get .SIE extension file information from below the link.
http://wiki.originlab.com/~originla/wiki2/index.php?title=X-Function:Impsie
http://wiki.originlab.com/~originla/wiki2/index.php?title=X-Function:ExpASC
Regards,
Jayakumar.V
09-04-2012 10:48 AM
I see no file structure informations in the liks you provided. What I am intending is a detailed explanation of file content byte by byte. As an example, here you can find the structure of bitmap files: as you can see the information provided is very detailed and throughly described. With this type of information you are able to read/write .BMP files (here you can find an example I wrote which demonstrates how to perform operations on these files: you can take it as a reference for this kind of operation, once you have find the file structure description).