Post Reply 
24-MAR-2021 Simple Units
03-24-2021, 05:39 PM
Post: #6
RE: 23-MAR-2021 Simple Units
I still can't get this to work with torque units (Force x Length)...

It works fine to "manually" create units in the Units48 app that I originally posted about, and the syntax it shows there would be:

10_(N*m)
1_(in*lbf) (this can be reversed too and entered as lbf-in, but this is not typical for US units)

Using the CONV softkey in Units48 then outputs:
88.507..._(in*lbf)

I initially tried setting up the list with a new "Torque" entry, and the line for the contents of that list was:
{"N*m","in*lbf","ft*lbf"},

With this method, following your instructions would create the following syntax when using the Sto> button:
10_(N)*m>1_(in)*lbf
and then pressing Enter yields a popup message stating:
Error: Syntax Error

So after seeing how the Units48 program formatted the (N*m) in parenthesis, I edited the line in the code to:
{"(N*m)","(in*lbf)","(ft*lbf)"},

I then ended up with the following syntax on the entry line:
10_(N*m)>1_(in*lbf)
and then pressing enter yields an error message (not a popup this time) stating:
Error: Bad Argument Type

So I am not sure what to do in this case.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
24-MAR-2021 Simple Units - Han - 03-24-2021, 02:17 AM
RE: 23-MAR-2021 Simple Units - spiff72 - 03-24-2021, 02:58 AM
RE: 23-MAR-2021 Simple Units - spiff72 - 03-24-2021, 03:48 AM
RE: 23-MAR-2021 Simple Units - Han - 03-24-2021, 04:04 AM
RE: 23-MAR-2021 Simple Units - spiff72 - 03-24-2021, 04:02 PM
RE: 23-MAR-2021 Simple Units - spiff72 - 03-24-2021 05:39 PM
RE: 23-MAR-2021 Simple Units - spiff72 - 03-24-2021, 05:50 PM
RE: 23-MAR-2021 Simple Units - Han - 03-24-2021, 06:30 PM
RE: 24-MAR-2021 Simple Units - spiff72 - 03-25-2021, 02:33 AM
RE: 24-MAR-2021 Simple Units - spiff72 - 03-25-2021, 02:42 AM
RE: 24-MAR-2021 Simple Units - Han - 03-25-2021, 03:44 AM
RE: 24-MAR-2021 Simple Units - spiff72 - 03-25-2021, 01:40 PM



User(s) browsing this thread: 1 Guest(s)