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 for Programming
 LabTalk Forum
 converting binary data
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

asp001

Russia
9 Posts

Posted - 12/01/2001 :  11:07:57 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I have tried to import binary data (signed word integer) using Import as LabTech (Origin 6.1) but it does not work properly for Motorola byte order. Is it possible to convert imported data into the Intel byte order using labtalk?
Regards,
SVB

Mike Buess

USA
3037 Posts

Posted - 12/01/2001 :  5:43:15 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
file.ByteOrder=0 //low byte first (default)
file.ByteOrder=2 //high byte first

Mike Buess
Origin WebRing Member
Go to Top of Page

asp001

Russia
9 Posts

Posted - 12/01/2001 :  11:21:02 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks a lot. It works perfect!!!
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