Model 2461 Interactive SourceMeter® Instrument Reference Manual Section 8: TSP command reference2461-901-01 A/November 2015 8-93DetailsTSP-enabled instruments do not have inherent query commands. Like any other scriptingenvironment, the print() command and other related print() commands generate output. Theprint() command creates one response message.The output from multiple arguments is separated with a tab character.Numbers are printed using the format.asciiprecision attribute. If you want use Lua formatting,print the return value from the tostring() function.Example 1x = 10print(x)Example of an output response message:1.00000e+01Note that your output might be different if you setyour ASCII precision setting to a different value.Example 2x = trueprint(tostring(x))Example of an output response message:trueAlso seeformat.asciiprecision (on page 8-77)printbuffer()This function prints data from tables or reading buffer subtables.Type TSP-Link accessible Affected by Where saved Default valueFunction NoUsageprintbuffer(startIndex, endIndex, bufferVar)printbuffer(startIndex, endIndex, bufferVar, bufferVar2)printbuffer(startIndex, endIndex, bufferVar, ..., bufferVarN)startIndex Beginning index of the buffer to print; this must be more than oneand less than endIndexendIndex Ending index of the buffer to print; this must be more thanstartIndex and less than the index of the last entry in thetablesbufferVar Name of first table or reading buffer subtable to print; may be adefault buffer (defbuffer1 or defbuffer2) or a user-definedbufferbufferVar2 Second table or reading buffer subtable to print; may be a defaultbuffer (defbuffer1 or defbuffer2) or a user-defined bufferbufferVarN The last table or reading buffer subtable to print; may be a defaultbuffer (defbuffer1 or defbuffer2) or a user-defined buffer... One or more tables or reading buffer subtables separated withcommas