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
 Coordinate Transformation
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

tomst

Germany
4 Posts

Posted - 08/30/2022 :  10:36:26 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver.2022b and Service Release 9.9.5.167
Operating System: Windows 10 64 bit

Hello!

I hope you can help me with a problem I encountered.
My data are forces and moments from a sensor in all three dimensions (Fx, Fy, Fz, Mx, My, Mz), measured within the coordinate system of the sensor.

Now I want to transform these values into a different coordinate system.
The transformational equations are availible.
Unfortunately I have to transform the data into 18 different locations.

I tried to calculate the transformed values by means of "calculate column values". But I don't know how to implement the transformational variables (translation in x,y,z and rotation around x,y,z) effectively.

Would it perhaps be easier to perform such calculations using labtalk or python?

Thank you in advance!

Thomas

YimingChen

1653 Posts

Posted - 08/30/2022 :  10:58:45 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Please find the attached workbook template. It uses Python code in Set Column Value dialog to set values to multiple columns. See if it helps in your case.

https://my.originlab.com/ftp/forum_and_kbase/Images/PythonTemplate.ogwu

James
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