Section 7: Command reference Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-132 2651A-901-01 Rev. A / March 2011
Usage
triggered = lan.trigger[N].wait(timeout)
triggered
Trigger detection indication
N
The trigger packet over LAN to wait for (1 to 8)
timeout
Maximum amount of time in seconds to wait for the trigger event
Details
If one or more trigger events have been detected since the last time lan.trigger[N].wait() or
lan.trigger[N].clear() was called, this function returns immediately.
After waiting for a LAN trigger event with this function, the event detector is automatically reset and rearmed
regardless of the number of events detected.
Example
triggered = lan.trigger[5].wait(3)
Wait for a trigger with LAN packet 5 with a timeout of
3 seconds.
Also see
lan.trigger[N].assert() (on page 7-122)
lan.trigger[N].clear()
(on page 7-123)
lan.trigger[N].overrun
(on page 7-128)
lan.trigger[N].stimulus
(on page 7-130)
localnode.autolinefreq
This attribute enables or disables automatic line frequency detection at start-up.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes Not applicable Nonvolatile memory true (enabled)
Usage
flag = localnode.autolinefreq
localnode.autolinefreq = flag
flag
The auto line frequency detection setting: true or false
Details
Set flag to one of the following values:
true: Enable automatic line frequency detection at start-up.
false: Disable automatic line frequency detection at start-up.
When this attribute is set to true, the power line frequency is detected automatically the next time the Model
2651A powers up. After the power line frequency is automatically detected at power-up, the
localnode.linefreq attribute will be set automatically to 50 or 60.
If the localnode.linefreq attribute is explicitly set, localnode.autolinefreq will be automatically set to
false.
Also see
localnode.linefreq (on page 7-133)