The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 importing binary float
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

physik_exakt

Germany
2 Posts

Posted - 07/14/2001 :  11:58:45 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Does anyone know how to import datasets with binary, floting point values into ORIGIN PRO 6.1., or
alternatively, does anyone have a script that would accomplish this?

Thank you very much for your help

Mike Buess

USA
3037 Posts

Posted - 07/15/2001 :  08:26:17 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Chapter 5 of the OriginPro Manual describes the File Utility methods and properties used to import binary (and ASCII) data and provides several example scripts. Unless the format of your data files is complicated you will probably only need to know the number of bytes in each data value (file.nBytes) and use the file.open(), file.close(), file.Aread() and perhaps file.size() methods. Let us know if you need any more help with the scripts.

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 07/15/2001 08:49:16

Edited by - Mike Buess on 07/15/2001 09:04:23

Edited by - Mike Buess on 07/15/2001 09:05:59
Go to Top of Page

physik_exakt

Germany
2 Posts

Posted - 01/09/2002 :  12:40:25 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Our version of ORIGIN Pro6.1 came without documentation (Universit license). Is there a chance to download a .pdf version of chapter 5 of the OriginPro manual?
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 01/10/2002 :  11:59:36 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I haven't seen the documentation on-line, but you can order replacement manuals from OriginLab. I'd make sure that includes the OriginPro manual first.

Mike Buess
Origin WebRing Member
Go to Top of Page

greg

USA
1378 Posts

Posted - 01/10/2002 :  2:08:00 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Since version 5.0, Origin has supported a LabTech import on the File : Import menu. This does binary import of two types:

  • BINARY INTEGER - 16 bit unsigned binary
  • BINARY REAL - 4 byte floating point

The file has to be 'raw' binary - no headers, no footers, no fillers.

Limited, but if the shoe fits ...

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000