Does anyone know how to fool Origin into reading Kmax files without changing the Kmax files into text form first?. I know that I will not be able to import them but all programs should be able to read binary files when you get right down to it. I just don't know just how to do that.
Kmax is a list-mode(multiparameter)data acquisition software that runs on Mac OS, Windows and Linux. It supports single- and dual-parameter data displays, provides a variety of data formatting options and allows the user to configure instrumentation from the host computer. It also allows the import and export of data. It is developed by the Sparrow Corporation. The format that Kmax files are in however does not allow for them to be imported in Origin. I was wondering if there was a way that i can do that without first changing the files to text.
If Kmax files contain 16 bit unsigned integer or 4 byte floating point numbers and have no headers you can import them as LabTech files. (File | Import | LabTech). That's probably the only ready-built method that might help you in Origin 5.0 and above.
In Origin 7.0 you can write your own OriginC function to import your files. The Binary Import project in the Samples\Programming folder will get you started.
In the Professional version of Origin 5.0 or later you can use the File Utilities Module (FUM) to import about anything you want. You'll have to do some scripting there also.
As Craig suggested, you might get some help from the forum if you post a sample.
Craig and Mike i just want to say thank you very much your help was greatly appreciated. Unfortunately i can't post an example, but for now i have passed the problem into knowing hands. Thanx guys.