rpop91
Member
Hey again everyone,
Having some trouble this morning figuring out some STL. My STL is very weak and I know a lot of you on here are very good with it.
I'm having a hard time figuring out what's going on here and what's being loaded into AR1.
What I'm trying to due is stack torque and angle results. Up until now I only required 3 characters for my angel data. But a new customer is asking to report 4. When I changed some things over, My data isn't stacking properly. If someone could help me understand this STL it would be greatly appreciated. The first bit of code is where I'm really confused.
Thanks!!
Having some trouble this morning figuring out some STL. My STL is very weak and I know a lot of you on here are very good with it.
I'm having a hard time figuring out what's going on here and what's being loaded into AR1.
What I'm trying to due is stack torque and angle results. Up until now I only required 3 characters for my angel data. But a new customer is asking to report 4. When I changed some things over, My data isn't stacking properly. If someone could help me understand this STL it would be greatly appreciated. The first bit of code is where I'm really confused.
Thanks!!
Code:
OPN #iDataDB
L #sTorque_Number_Pointer
L L#8 // Length Of Result Data
*I
L L#110 // Pointer for stacking torque data
+I
L L#8
*I
L #tAddr_Start
+I
LAR1
L #sAngle_LeftOfDec_ASCII[3]
T DBB [AR1,P#0.0]
L #sAngle_LeftOfDec_ASCII[4]
T DBB [AR1,P#1.0]
L #sAngle_LeftOfDec_ASCII[5]
T DBB [AR1,P#2.0]
L #sAngle_LeftOfDec_ASCII[6]
T DBB [AR1,P#3.0]
L #sTorque_LeftOfDec_ASCII[5]
T DBB [AR1,P#4.0]
L #sTorque_LeftOfDec_ASCII[6]
T DBB [AR1,P#5.0]
L '.'
T DBB [AR1,P#6.0]
L #sTorque_RightOfDec_ASCII[1]
T DBB [AR1,P#7.0]
L #sTorque_RightOfDec_ASCII[2]
T DBB [AR1,P#8.0]
L #sTorque_Number_Pointer
L L#8
*I
L #tAddr_Start
+I
LAR1