Section 13: LPT library function reference Model 4200A-SCS Parameter Analyzer Reference Manual13-42 4200A-901-01 Rev. C / February 2017setmodeThis command sets instrument-specific operating mode parameters.Usageint setmode(int instr_id, long modifier, double value);instr_id The instrument identification code of the instrument being operated onmodifier The instrument-specific operating characteristic to change; see Detailsvalue Value to set the operating parameter toDetailsThe setmode command allows you to control certain instrument-specific operating characteristics.A special instrument ID named KI_SYSTEM is used to set operating characteristics of the system.The following table describes setmode modifier parameters that are supported for KI_SYSTEM.modifier value CommentKI_TRIGMODE KI_MEASXKI_INTEGRATEKI_AVERAGEKI_ABSOLUTEKI_NORMALRedefines all existing triggers to use a newmethod of measurement.KI_AVGNUMBER <value> Number of readings to make whenKI_TRIGMODE is set to KI_AVERAGE.KI_AVGTIME <value>(in units of seconds)Time between readings when KI_TRIGMODE isset to KI_AVERAGE.The following KI_SYSTEM modifier parameters are accepted, but do no operations in the 4200A-SCS. They are included for compatibility so that existing S530 or S600 programs that use setmodecan be ported to the 4200A-SCS without generating errors.• KI_MX_DEFMODE• KI_HICURRENT• KI_CC_AUTO• KI_CC_SRC_DLY• KI_CC_COMP_DLY• KI_CC_MEAS_DLY