8: TSP command reference  Model 2450 Interactive SourceMeter® Instrument 
 
8-120  2450-901-01 Rev. B/September 2013 
 
smu.measure.readwithtime() 
This function returns the last actual measurement and time information in UTC format without using the trigger 
model. 
Type  TSP-Link accessible 
Affected by  Where saved  Default value 
   
Usage 
reading, seconds, fractional = smu.measure.readwithtime() 
smu.measure.readwithtime(bufferName) 
 
The last reading of the measurement process 
Seconds in UTC format 
The name of a reading buffer; the default buffers (defbuffer1 or defbuffer2) or 
the name of a user-defined buffe
r; if no buffer is specified, this parameter defaults to 
defbuffer1
 
Details 
When a reading buffer is used with a command or action that involves taking multiple readings, all readings are 
available in the reading buffer. However, this command only returns the last reading and time information. 
The smu.measure.count attribute or trigger model Simple Loop determines how many measurements are 
performed. When you use a buffer, it also determines if the reading buffer has enough room to store the 
requested readings. 
Example 
 
print(smu.measure.readwithtime()) 
Print the last measurement and time information in UTC 
format, which will look similar to: 
-1.405293589829e-11  1400904629  0.1950935 
Also see 
smu.measure.count (on page 8-97) 
trigger.model.load() — Simple Loop (on page 8-191)