Example 3:
smuX.trigger.measure.Y(rbuffer)
Where:
X refers to the source-measure unit (SMU) channel (use a for SMU A).
Y is the measurement type that you specify (v, i, r, or p).
rbuffer is the reading buffer object where the readings are stored.
For example, to use SMU A to make voltage measurements and store them in buffer vbuffername,
you send:
smua.trigger.measure.v(vbuffername)
Syntax rules
Use these syntax requirements to build well-formed instrument control commands.
Instrument commands are case sensitive. Refer to the command reference descriptions for the
correct case.
The white space in lists of parameters in functions is optional. For example, the following functions
are equivalent:
digio.writebit(3,0)
digio.writebit (3, 0)
All functions must have a set of parentheses () immediately following the function, even if there are
no parameters specified. For example:
waitcomplete(G)
timezone = localnode.gettimezone()
If there are multiple parameters, they must be separated by commas (,). For example:
beeper.beep(0.5, 2400)
Time and date values
Time and date values are represented as the number of seconds since some base. Representing
time as a number of seconds is referred to as “standard time format.” There are three time bases:
• UTC 12:00 am Jan 1, 1970. Some examples of UTC time are reading buffer base timestamps,
adjustment dates, and the value returned by os.time().
• Instrument on. References time to when the instrument was turned on. The value returned by
os.clock() is referenced to the turn-on time.
• Event. Time referenced to an event, such as the first reading stored in a reading buffer.