0

add calculation result to METCAL result file

 I've simple metcal procedure

 

  2.002  IEEE         OUT 2 OHM;ZCOMP WIRE4; OUT_NORMAL; OPER; *OPC?[I] [D3000]
  2.004  8508         2Z             0.012% 0.008U                NO D7    4W
 
result of 8508 statement will be write to result file.
 
How add to result file 8508 stetemnt output which is devided by 2?

4 comments

Date Votes
0
Avatar
Dmiti Kubarev

8508 statement writes to result file direct measured value.
How to write to result file not direct value but devided by 2 ?

0
Avatar
Nathan Ryder

As Michael has said use an N in MOD4 and it will write the result to MEM then simply use a MATH FSC to divide that by two.....I'd use a MEMC over a MEMCX though as this will tell met/cal that your system actual is whatever is in MEM and your UUT value is whatever is in the nominal on the MEMC line, See below

  TARGET -p

  DO

  IEEE         OUT 2 OHM;ZCOMP WIRE4; OUT_NORMAL; OPER; *OPC?[I] [D3000]

  UNTIL MEM == 1

  TARGET -m

  M8508 RNGLK 20Z

  8508         2Z       NO D7 N 4W

 MATH        MEM = MEM / 2

 MEMC       2Z 0.012% 0.008U

 

Why are you dividing it by 2?

 

 

0
Avatar
Dmiti Kubarev

Thanks all for the response. using "N" in MOD of 8508 statement is solve the problem.

0
Avatar
Michael Johnston

If you use a Nominal test type, with an N in MOD4 and no tolerance field, it will store the reading from the 8508 in MEM. Then you can use a MATH line to set MEM to MEM/2 and then use a MEMCX lin as your eval, rather than the 8508 statement. 

Please sign in to leave a comment.