PC-Dmis v.3.7mr2 - Windows XP, DEA Mistral
Good morning everybody... Just a quick question. I am trying to create a min/max profile using an array in my program. Here's the problem... When I create the array it only allows me to use 18 of the 49 features that I need to calculate the min/max from. After the 18th feature it starts to freak out as if the line were to long or something. I created 3 different arrays from the "T Value" and then created an array out of all 3 of them. When I ask for the min/max it gives me the same number. Neither of which are the min or the max.
If the line is to long how can I seperate the array so that it starts on another line? Does that make any sense at all? Here's a sample of the code....
Thanks in advance for any replies....
Mike
DIM LOC47= LOCATION OF POINT PNT149 UNITS=MM ,$
GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH
X 36.9765 37.0882 0.0000 0.0000 0.1117 0.1117
Y 13.6300 13.6658 0.0000 0.0000 0.0358 0.0358
Z -3.6500 -3.6500 0.0000 0.0000 0.0000 0.0000
T 0.0000 0.0358 0.0500 0.0500 0.0358 0.0000
END OF DIMENSION LOC47
DIM DIM1_48= LOCATION OF POINT PNT151 UNITS=MM ,$
GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH
X 38.9765 39.0882 0.0000 0.0000 0.1117 0.1117
Y 13.6300 13.6440 0.0000 0.0000 0.0140 0.0140
Z -3.6500 -3.6500 0.0000 0.0000 0.0000 0.0000
T 0.0000 0.0140 0.0500 0.0500 0.0140 0.0000
END OF DIMENSION DIM1_48
DIM DIM1_49= LOCATION OF POINT PNT153 UNITS=MM ,$
GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH
X 40.9764 41.0882 0.0000 0.0000 0.1117 0.1117
Y 13.6300 13.6030 0.0000 0.0000 -0.0270 0.0270
Z -3.6500 -3.6500 0.0000 0.0000 0.0000 0.0000
T 0.0000 -0.0270 0.0500 0.0500 -0.0270 0.0000
END OF DIMENSION DIM1_49
ASSIGN/V1 = ARRAY(DIM1_1.T.MEAS,DIM1_2.T.MEAS,LOC3.T.MEAS,LOC4 .T.MEAS,LOC5.T.MEAS,LOC6.T.MEAS,LOC7.T.MEAS,LOC8.T .MEAS,LOC9.T.MEAS,LOC10.T.MEAS,LOC11.T.MEAS,LOC12. T.MEAS,LOC13.T.MEAS,LOC14.T.MEAS,LOC15.T.MEAS,LOC1 6.T.MEAS,LOC17.T.MEAS,LOC18.T.MEAS)
ASSIGN/V2 = ARRAY(LOC19.T.MEAS,LOC20.T.MEAS,LOC21.T.MEAS,LOC22 .T.MEAS,LOC23.T.MEAS,LOC24.T.MEAS,LOC25.T.MEAS,LOC 26.T.MEAS,LOC27.T.MEAS,LOC28.T.MEAS,LOC29.T.MEAS,L OC30.T.MEAS,LOC31.T.MEAS,LOC32.T.MEAS,LOC33.T.MEAS ,LOC34.T.MEAS,LOC35.T.MEAS)
ASSIGN/V3 = ARRAY(LOC36.T.MEAS,LOC37.T.MEAS,LOC38.T.MEAS,LOC39 .T.MEAS,LOC40.T.MEAS,LOC41.T.MEAS,LOC42.T.MEAS,LOC 43.T.MEAS,LOC44.T.MEAS,LOC45.T.MEAS,LOC46.T.MEAS,L OC47.T.MEAS,DIM1_48.T.MEAS,DIM1_49.T.MEAS)
ASSIGN/V4 = ARRAY(V1,V2,V3)
ASSIGN/V5 = abs(MIN(V4))
ASSIGN/V6 = MAX(V4)
F1 =GENERIC/POINT,DEPENDENT,RECT,$
NOM/XYZ,V5,0,0,$
MEAS/XYZ,V5,-0.0008,0,$
NOM/IJK,0,0,0.9999,$
MEAS/IJK,0,0,0.9999
F2 =GENERIC/POINT,DEPENDENT,RECT,$
NOM/XYZ,V6,0,0,$
MEAS/XYZ,V6,-0.0008,0,$
NOM/IJK,0,0,1,$
MEAS/IJK,0,0,1
DIM LOC1= LOCATION OF POINT F1 UNITS=MM ,$
GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH
X 0.0000 0.0128 0.0000 0.0000 -0.0028 0.0028
END OF DIMENSION LOC1
DIM LOC2= LOCATION OF POINT F2 UNITS=MM ,$
GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH
X 0.0000 0.0128 0.0000 0.0000 -0.0028 0.0028
END OF DIMENSION LOC2
Good morning everybody... Just a quick question. I am trying to create a min/max profile using an array in my program. Here's the problem... When I create the array it only allows me to use 18 of the 49 features that I need to calculate the min/max from. After the 18th feature it starts to freak out as if the line were to long or something. I created 3 different arrays from the "T Value" and then created an array out of all 3 of them. When I ask for the min/max it gives me the same number. Neither of which are the min or the max.
If the line is to long how can I seperate the array so that it starts on another line? Does that make any sense at all? Here's a sample of the code....
Thanks in advance for any replies....
Mike
DIM LOC47= LOCATION OF POINT PNT149 UNITS=MM ,$
GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH
X 36.9765 37.0882 0.0000 0.0000 0.1117 0.1117
Y 13.6300 13.6658 0.0000 0.0000 0.0358 0.0358
Z -3.6500 -3.6500 0.0000 0.0000 0.0000 0.0000
T 0.0000 0.0358 0.0500 0.0500 0.0358 0.0000
END OF DIMENSION LOC47
DIM DIM1_48= LOCATION OF POINT PNT151 UNITS=MM ,$
GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH
X 38.9765 39.0882 0.0000 0.0000 0.1117 0.1117
Y 13.6300 13.6440 0.0000 0.0000 0.0140 0.0140
Z -3.6500 -3.6500 0.0000 0.0000 0.0000 0.0000
T 0.0000 0.0140 0.0500 0.0500 0.0140 0.0000
END OF DIMENSION DIM1_48
DIM DIM1_49= LOCATION OF POINT PNT153 UNITS=MM ,$
GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH
X 40.9764 41.0882 0.0000 0.0000 0.1117 0.1117
Y 13.6300 13.6030 0.0000 0.0000 -0.0270 0.0270
Z -3.6500 -3.6500 0.0000 0.0000 0.0000 0.0000
T 0.0000 -0.0270 0.0500 0.0500 -0.0270 0.0000
END OF DIMENSION DIM1_49
ASSIGN/V1 = ARRAY(DIM1_1.T.MEAS,DIM1_2.T.MEAS,LOC3.T.MEAS,LOC4 .T.MEAS,LOC5.T.MEAS,LOC6.T.MEAS,LOC7.T.MEAS,LOC8.T .MEAS,LOC9.T.MEAS,LOC10.T.MEAS,LOC11.T.MEAS,LOC12. T.MEAS,LOC13.T.MEAS,LOC14.T.MEAS,LOC15.T.MEAS,LOC1 6.T.MEAS,LOC17.T.MEAS,LOC18.T.MEAS)
ASSIGN/V2 = ARRAY(LOC19.T.MEAS,LOC20.T.MEAS,LOC21.T.MEAS,LOC22 .T.MEAS,LOC23.T.MEAS,LOC24.T.MEAS,LOC25.T.MEAS,LOC 26.T.MEAS,LOC27.T.MEAS,LOC28.T.MEAS,LOC29.T.MEAS,L OC30.T.MEAS,LOC31.T.MEAS,LOC32.T.MEAS,LOC33.T.MEAS ,LOC34.T.MEAS,LOC35.T.MEAS)
ASSIGN/V3 = ARRAY(LOC36.T.MEAS,LOC37.T.MEAS,LOC38.T.MEAS,LOC39 .T.MEAS,LOC40.T.MEAS,LOC41.T.MEAS,LOC42.T.MEAS,LOC 43.T.MEAS,LOC44.T.MEAS,LOC45.T.MEAS,LOC46.T.MEAS,L OC47.T.MEAS,DIM1_48.T.MEAS,DIM1_49.T.MEAS)
ASSIGN/V4 = ARRAY(V1,V2,V3)
ASSIGN/V5 = abs(MIN(V4))
ASSIGN/V6 = MAX(V4)
F1 =GENERIC/POINT,DEPENDENT,RECT,$
NOM/XYZ,V5,0,0,$
MEAS/XYZ,V5,-0.0008,0,$
NOM/IJK,0,0,0.9999,$
MEAS/IJK,0,0,0.9999
F2 =GENERIC/POINT,DEPENDENT,RECT,$
NOM/XYZ,V6,0,0,$
MEAS/XYZ,V6,-0.0008,0,$
NOM/IJK,0,0,1,$
MEAS/IJK,0,0,1
DIM LOC1= LOCATION OF POINT F1 UNITS=MM ,$
GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH
X 0.0000 0.0128 0.0000 0.0000 -0.0028 0.0028
END OF DIMENSION LOC1
DIM LOC2= LOCATION OF POINT F2 UNITS=MM ,$
GRAPH=OFF TEXT=OFF MULT=10.00 OUTPUT=BOTH
X 0.0000 0.0128 0.0000 0.0000 -0.0028 0.0028
END OF DIMENSION LOC2
Comment