Model 2601B-PULSE System SourceMeter Instrument Reference Manual Section 9: Introduction to TSP operation
2601B-PULSE-901-01A April 2020 9-7
display.trigger.clear() (on page 11-72)
display.trigger.EVENT_ID (on page 11-73)
display.trigger.overrun (on page 11-73)
display.trigger.wait() (on page 11-74)
display.waitkey() (on page 11-74)
Error queue
When errors and events occur, the error and status messages are placed in the error queue. Use the
error queue commands to request error and status message information.
errorqueue.clear() (on page 11-76)
errorqueue.count (on page 11-76)
errorqueue.next() (on page 11-77)
Event log
You can use the event log to view specific details about LAN triggering events.
eventlog.all() (on page 11-78)
eventlog.clear() (on page 11-79)
eventlog.count (on page 11-79)
eventlog.enable (on page 11-80)
eventlog.next() (on page 11-81)
eventlog.overwritemethod (on page 11-82)
File I/O
You can use the file I/O commands to open and close directories and files, write data, or to read a file
on an installed USB flash drive. File I/O commands are organized into two groups:
• Commands that reside in the fs and io table, for example: io.open(), io.close(),
io.input(), and io.output(). Use these commands to manage file system directories; open
and close file descriptors; and perform basic I/O operations on a pair of default files (one input
and one output).
• Commands that reside in the file descriptors (for example: fileVar:seek(),
fileVar:write(), and fileVar:read()) operate exclusively on the file with which they are
associated.
The root folder of the USB flash drive has the absolute path:
"/usb1/"
You can use either the slash (/) or backslash (\) as a directory separator. However, the backslash is
also used as an escape character, so if you use it as a directory separator, you will generally need to
use a double backslash (\\) when you are creating scripts or sending commands to the instrument.