@@ -9,6 +9,7 @@ public class DeveloperCalibrationSequence : Sequence
99 public DeveloperCalibrationSequence ( ModalUiContext modalUiContext , FactoryVariables variables )
1010 {
1111 Name = "Developer calibration" ;
12+ Version = "1.0" ;
1213 Variables = variables ;
1314 AddSteps ( modalUiContext ) ;
1415 SetStepIndices ( ) ;
@@ -28,10 +29,6 @@ private void AddSteps(ModalUiContext modalUiContext)
2829 new InitialiseDeviceStep ( "Initialise device" , Variables ) ,
2930 new InitialiseSigGensStep ( "Initialise signal generators" , Variables ) ,
3031 new LoadCalibrationFromDefaultStep ( "Load calibration from default" , Variables ) ,
31- //new LoadCalibrationFromUserCalStep("Load calibration from user cal", Variables),
32- //new LoadCalibrationFromFileStep("Load calibration from file", Variables) { PostAction = cancellationToken => { Variables.TrimDacZeroCalibrated = true; Variables.TrimDacScaleCalibrated = true; Variables.BufferInputVppCalibrated = true; } },
33- //new SaveFactoryCalToDeviceStep("Save factory calibration to device", Variables),
34- //new SaveUserCalToDeviceStep("Save user calibration to device", Variables),
3532 new TemperatureCheckStep ( "Temperature check" , Variables ) ,
3633
3734 //new ReferenceClockInputValidStep("Reference clock input check", Variables) { Skip = false, AllowSkip = true },
@@ -330,17 +327,17 @@ private void AddSteps(ModalUiContext modalUiContext)
330327 new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - HG L8" , channelIndex : 0 , PgaPreampGain . High , pgaLadder : 8 , Variables ) { MaxRetries = 2 } ,
331328 new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - HG L9" , channelIndex : 0 , PgaPreampGain . High , pgaLadder : 9 , Variables ) { MaxRetries = 2 } ,
332329 new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - HG L10" , channelIndex : 0 , PgaPreampGain . High , pgaLadder : 10 , Variables ) { MaxRetries = 2 } ,
333- new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L0" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 0 , Variables ) ,
334- new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L1" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 1 , Variables ) ,
335- new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L2" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 2 , Variables ) ,
336- new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L3" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 3 , Variables ) ,
337- new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L4" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 4 , Variables ) ,
338- new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L5" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 5 , Variables ) ,
339- new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L6" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 6 , Variables ) ,
340- new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L7" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 7 , Variables ) ,
341- new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L8" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 8 , Variables ) ,
342- new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L9" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 9 , Variables ) ,
343- new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L10" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 10 , Variables ) ,
330+ new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L0" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 0 , Variables ) { MaxRetries = 2 } ,
331+ new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L1" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 1 , Variables ) { MaxRetries = 2 } ,
332+ new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L2" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 2 , Variables ) { MaxRetries = 2 } ,
333+ new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L3" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 3 , Variables ) { MaxRetries = 2 } ,
334+ new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L4" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 4 , Variables ) { MaxRetries = 2 } ,
335+ new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L5" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 5 , Variables ) { MaxRetries = 2 } ,
336+ new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L6" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 6 , Variables ) { MaxRetries = 2 } ,
337+ new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L7" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 7 , Variables ) { MaxRetries = 2 } ,
338+ new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L8" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 8 , Variables ) { MaxRetries = 2 } ,
339+ new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L9" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 9 , Variables ) { MaxRetries = 2 } ,
340+ new BufferInputVppStep ( "Channel 1 - Buffer input Vpp - LG L10" , channelIndex : 0 , PgaPreampGain . Low , pgaLadder : 10 , Variables ) { MaxRetries = 2 } ,
344341
345342 new AttenuatorStep ( "Channel 1 - Attenuator scale" , channelIndex : 0 , Variables ) { IgnoreError = true , MaxRetries = 2 } ,
346343
@@ -579,7 +576,7 @@ private void AddSteps(ModalUiContext modalUiContext)
579576 return Sequencer . Status . Done ;
580577 } } ,
581578 new SaveCalToFileStep ( "Save calibration to file" , Variables ) { AllowSkip = true } ,
582- new SaveUserCalToDeviceStep ( "Save calibration to device" , Variables ) { AllowSkip = true } ,
579+ new SaveUserCalToDeviceStep ( "Save user calibration to device" , Variables ) { AllowSkip = true } ,
583580
584581 new Step ( "Cleanup" ) { Action = ( CancellationToken cancellationToken ) => {
585582 Instruments . Instance . Close ( ) ;
0 commit comments