MET/CAL procedure accessing MET/TRACK information
One functionality of MET/CAL procedures that is often overlooked is the ability to extract information from MET/TRACK. This can be useful to set the direction of a procedure based on information retreived from the database. Below is an example of a sub procedure that can be called prior to every procedure to ensure the operator has selected the correct UUT. If the operator has made a mistake they can stop the procedure right there. It can also be used to perform basic comparisons of values set for various fields in the database. For more information, see the help file on the MATH function.
1.008 MATH @ASSET=INV(UUT(), 4201)
1.009 MATH @MANUF=INV(UUT(), 4202)
1.010 MATH @MODEL=INV(UUT(), 4203)
1.011 MATH @DESC=INV(UUT(), 4204)
1.012 DISP VERIFY UUT SELECTED:
1.012 DISP ====================
1.012 DISP [V @ASSET]
1.012 DISP [V @MANUF]
1.012 DISP [V @MODEL]
1.012 DISP [V @DESC]
1.013 IF ZCMPI(INV(UUT(), 4299), "A") != 1
1.014 DISP Note: This unit is not listed as an active unit.
1.014 DISP Please change its state to an "A" on the MET/TRACK
1.014 DISP inventory record prior to returning the instrument.
Please sign in to leave a comment.