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
 Wrong values after file import
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

patrick031284

Germany
Posts

Posted - 09/21/2007 :  03:34:54 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): OriginPro 7.5 Server
Operating System: Windows XP

Hello,

i want to import .txt-Files into my Origin. This txt-Files includes hexadecimal values in 10000 rows. But values like "0E1", "0E2", and so on were shown as "0" in the cells. I don't know what i have to change in my import assistant so that i get the correct values.

Thanks for your help!!

Kind regards
Patrick

Deanna

China
Posts

Posted - 09/23/2007 :  10:55:34 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello Patrick,

I am sorry that Origin cannot import hexadecimal data directly. You will have to convert the data to binary or decimal and then import it into Origin.

Very sorry for the inconvenience.

Deanna
OriginLab Technical Services
Go to Top of Page

greg

USA
1378 Posts

Posted - 09/25/2007 :  10:42:28 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Try using the Import Wizard.
When you get to the Data Columns page, right click on the column header of each column that has HEX data and choose Set Format : Text.
That should prevent Origin from attempting any numeric conversion of your data.

You can convert a column from HEX to DECIMAL with a script like this:
get col(A) -e end;
loop(ii,1,end) {
%B=col(A)[ii]$;
val=hex(%B);
col(A)[ii]=val;
}
which would convert values in column 'A' from hex to decimal.

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