Model 2461 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference2461-901-01 A/November 2015 8-169Exampleprint(smu.measure.readwithtime())Print the last measurement and time information in UTC format, which will look similar to:-1.405293589829e-11 1400904629 0.1950935Also seesmu.measure.count (on page 8-143)trigger.model.load() — SimpleLoop (on page 8-270)smu.measure.rel.acquire()This function acquires a measurement and stores it as the relative offset value.Type TSP-Link accessible Affected by Where saved Default valueFunction YesUsagerelativeValue = smu.measure.rel.acquire()relativeValue The internal measurement acquired for the relative offset valueDetailsThis command triggers the instrument to make a new measurement for the selected function. Thismeasurement is then stored as the new relative offset level.When you send this command, the instrument does not apply any math, limit test, or filter settings tothe measurement, even if they are set. It is a measurement that is made as if these settings aredisabled.If an error event occurs during the measurement, nil is returned and the relative offset level remainsat the last valid setting.You must change to the function for which you want to acquire a value before sending this command.The instrument must have relative offset enabled to use the acquired relative offset value.After executing this command, you can use the smu.measure.rel.level attribute to see the lastrelative level value that was acquired or that was set.Examplesmu.measure.func = smu.FUNC_DC_VOLTAGErel_value = smu.measure.rel.acquire()smu.measure.rel.enable = smu.ONAcquires a relative offset level value for voltagemeasurements and turns the relative offsetfeature on.Also seesmu.measure.rel.enable (on page 8-170)smu.measure.rel.level (on page 8-171)