C/C++ Is it POSSIBLE to integrate C++ with WITec Project 1.88? call for help~ haha

AI Thread Summary
Integrating C++ with WITec Project 1.88 for data extraction is challenging due to the proprietary format of the data files, specifically the "WIP.file." The main obstacle is understanding the file format, as it is not a standard type like .txt. Users are advised to consult the software documentation for any technical details regarding file formats. If documentation is lacking, the community suggests researching online or seeking professional help, as deciphering binary formats can be complex. An alternative approach is to check if the software allows exporting data into a more accessible format, such as text. If successful, a C++ script could be used to extract relevant information, such as file creation or modification dates, using system calls or simple scripts.
Twukwuw
Messages
52
Reaction score
0
Is it POSSIBLE to integrate C++ with WITec Project 1.88? urgent call for help~ haha

hi everyone,

currently i am doing a project in which i have to extract date MANUALLY from the solfware. It will be VERY tiring because the number of data I have to extract is more than 1000 times! Moreover, I have to do the same thing (data extraction) for many times in future.

I have an idea, which is to ask C++ to do the work for me.

The solfware I use is WITec Project 1.88, which is a dedicated solfware for Raman Spectroscopy.

Would anyone please tell me how to integrate C++ with WITec Project 1.88?
For example, how to let C++ know where it has to "go" to extract date from the solfware?


haha, Thanks so much!
 
Technology news on Phys.org
It sounds like you'd like to write a C++ program to analyze some data from your spectroscope. The answer depends on whether or not you can figure out how the data is stored on your hard disk. In other words, what is the format of the data written out by the WITec Project 1.88 program?

- Warren
 
ya, the problem is that, the data is saved in "WIP.file", which is only for the solfware!

hmm ...

is "WIP.file" built up from usual files like .txt ?
 
I think you'd have to look at the file yourself, or look in the documentation. I can't say how that file is formatted. Figuring out that format is going to be your largest obstacle.

- Warren
 
I agree with Warren with an addition -

It would be odd that the developer of the software doesn't have technical information like file formats unless there is a suite of associated software products (they want you to buy them) to do all of the data analysis.

Go to the website and see what you can find.
 
I doubt you'll find the complete solution here, without leaving a nice bundle of cash on somebody's door step. Most of these binary formats can be quite cryptic to figure out. However, if there is documentation on the file format, there will have been little motivation to make it easy to implement. Your best bet is to try researching it yourself, hope someone else has done this already, or pay someone to figure it out for you.
 
Last edited:
Uhmmm. Seems like this is a student request...

{students union money} = NULL SET.
 
jim mcnamara said:
Uhmmm. Seems like this is a student request...

{students union money} = NULL SET.

Nice one. :cool:

I have nothing against helping students, personally. I would just like to see an effort on everyone's part. Food is only free for the homeless... - and the yungin's. :wink:
 
Last edited:
Can you export the data into a text format? If so, then you can write a C++ script to extract the date from the header of the file, if you are using a *nix machine, and can export the files a quick awk script will do the trick.
 
  • #10
Dr Transport said:
Can you export the data into a text format? If so, then you can write a C++ script to extract the date from the header of the file, if you are using a *nix machine, and can export the files a quick awk script will do the trick.

Oh yes. That never occurred to me. Maybe the date of creation/modification/last access is what he wishes to grab. In which case, all it would require is a call to an os routine. Very simple. I assumed he wanted to parse a data field that was written inside each file.

I think you're right.
 

Similar threads

Back
Top