Model 2461 Interactive SourceMeter® Instrument Reference Manual Section 2: General operation2461-901-01 A/November 2015 2-111Source and measure using SCPI commandsThe SCPI commands that set up the source functions are in the SOURce subsystem.The source commands are specific to each source function (voltage or current). For example, to setthe range to 100 mA for the current function, you would send::SOURce:FUNCtion CURRent:SOURce:CURRent:RANGe 1e-01To set the range to 20 V for the voltage function, you would send::SOURce:FUNCtion VOLTage:SOURce:VOLTage:RANGe 20The SCPI commands that set up the measurement functions are in the SENSe subsystem.The sense commands are also specific to each measure function (voltage, current, or resistance). Forexample, to set the NPLC cycles to 0.5 for the current measurement function, you would send::SENSe:CURRent:NPLCycles .5For the voltage measurement function, you would send::SENSe:VOLTage:NPLCycles .5For the resistance measurement function, you would send::SENSe:RESistance:NPLCycles .5To make a measurement, you send the MEASure:? command. For example, to make acurrent measurement, send the command::MEASure:CURRent?To make a voltage measurement, send the command::MEASure:VOLTage?To make a resistance measurement, send the command::MEASure:RESistance?For detailed application examples that use the SCPI command set, see the User's Manual.Command descriptions are provided in the SCPI command reference (on page 6-1).Source and measure using TSP commandsThe TSP commands that set up the source functions begin with smu.source.The source commands are specific to each source function (voltage or current). For example, to setthe range to 100 mA for the current source function, you would send:smu.source.func = smu.FUNC_DC_CURRENTsmu.source.range = .1To set the range to 20 V for the voltage function, you would send:smu.source.func = smu.FUNC_DC_VOLTAGEsmu.source.range = 20