0

Tektronix sub procedure error.

I recently installed the latest version of MET/CAL and downloaded the latest warranted procedures and I'm getting an error in a sub procedure for Tektronix TDS 500/600/700 series oscilloscopes. The error comes from the sub TDS500_600_700 Check Trig Status IEEE.mc. Revision:1.1.

The error while running is " no value assigned to @StepVal". The call is below. 

 3.010  MATH         TrigLevel = TrigLevel + @StepVal

I've looked in several other TDS 500/600/700 procures and this sub is the same in all of them. 

Any help would be appreciated. 

 

7 comments

Date Votes
0
Avatar
Chad D.

Hello Mspataro, can you let me know the instrument line of one the main procedures where you have found this error?

Thank you,

-Chad

0
Avatar
Michael Spataro

Chad,

Thank you for your help. I've come across this error when running the following:

For Tek TDS 540; tek_tds500a_1yr_ver_ieee_5520.mcz

For Tek TDS 680B; tek_tds600b_1yr_ver_ieee_5520.mcz

For Tek TDS 684A; tek_tds600a_1yr_ver_ieee_5520.mcz

For Tek TDS 784D; tek_tds700d_1yr_ver_ieee_5520.mcz

 

Mike

0
Avatar
Chad D.
I pulled the packages from our latest CD release for review.  Working from the bottom up, it looks like the offending step is located in subprocedure (one of several instrument lines in the same file):
 
INSTRUMENT:            Sub TDS500/600/700 Adjust Trig Level IEEE
DATE:                  2009-12-10 15:02:18
AUTHOR:                Fluke
REVISION:              $Revision: 1.1 $
 
  3.010  MATH         TrigLevel = TrigLevel + @StepVal
 
This Adjust Trig Level subprocedure is called by a different instrument line within the same file:
 
INSTRUMENT:            Sub TDS500/600/700 Main or Delayed Trigger IEEE
  
Which in turn is called from two different procedures.  I reviewed both of these calling procedures which initiate this process, and from a code-review-only perspective it appears that both are setting @StepVal to a legal value before calling the subprocedures.  Can you confirm that you are running the current revision of both of these calling procedures?
 
INSTRUMENT:            Sub TDS500A (1 yr) Sens IEEE /5520+S6
DATE:                  2009-12-10 15:01:32
AUTHOR:                Fluke
REVISION:              $Revision: 2.0 $
 
# Set the increment for Sub TDS500/600/700 Main or Delayed Trigger IEEE.
 13.046  MATH         @StepVal = 2E-3
 13.047  CALL         Sub TDS500/600/700 Main or Delayed Trigger IEEE
 
INSTRUMENT:            Sub TDS510A/54xA (1 yr) Aux Trig In Sens IEEE /5520+S6
DATE:                  2009-12-10 15:01:47
AUTHOR:                Fluke
REVISION:              $Revision: 2.0 $
 
  1.037  MATH         @StepVal = (RefLev / 100) * 1E-3
  1.038  CALL         Sub TDS500/600/700 Main or Delayed Trigger IEEE
 
Thank you,
Chad
0
Avatar
Michael Spataro

I downloaded the cd on 8/13/2013.

 

The latest attempt was with a Tek TDS 684A.

 

INSTRUMENT:            Tektronix TDS 684A: (1 yr) CAL VER IEEE /5520+SC1100

DATE:                  2009-12-02 12:14:47

AUTHOR:                Fluke

REVISION:              $Revision: 2.0 $

 

I think I have it. Looks like a typo in the "G1" sub. 

 

INSTRUMENT:            Sub TDS600A (1 yr) Bandwidth IEEE /5520+G1

INSTRUMENT:            Sub TDS600A (1 yr) Sens IEEE /5520+G1

DATE:                  2009-12-02 12:14:53

AUTHOR:                Fluke

REVISION:              $Revision: 2.0 $

 

# Set the increment for Sub TDS500/600/700 Main or Delayed Trigger IEEE.

 13.046  MATH         @SteplVal = 2E-3

 

It should be @StepVal = 2E-3.

 

Thank you. 

Mike

 

0
Avatar
Chad D.

Yes, you are correct.  I looked in the packages listed, but must have only looked in the S6 version and didn't see the discrepancy in the G1 file.  I found the same typo that you are reporting in the existing Gold CD package.  I will enter a ticket to have this corrected, and new packages released.  Thank you!

-Chad

0
Avatar
Michael Spataro

Thank you again for your help.

Mike

0
Avatar
Chad D.

Any time Mike!  Thank you for helping us identify this typographical error.

-Chad

Please sign in to leave a comment.