User manual
Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-73
channel.setdelay()
Function
Sets additional delay time for channels specified in ch_list.
Usage
channel.setdelay(<ch_list>, value)
ch_list: A string listing channels to modify their delay time.
Value: Desired delay time for items in ch_list. Minimum is 0 seconds.
Remarks
An error message will be generated for the following reasons:
An empty parameter string is specified.
The value is an invalid setting for the specified channel.
The specified channel doesn‟t exist for the card installed in the specified slot.
A channel pattern is specified.
The channel is for an empty slot.
The value is invalid for command – parameter out of range error.
Parameter syntax error such as incorrect format for ch_list.
An analog backplane relay is specified.
The parameter string may contain 'slotX', where X equals 1 to 6, or
'allslots'.
Command processing will stop as soon as an error is detected and no delay times will
be modified. Only with no errors, do the specified channels get their delay time
changed.
Setting the value to 0 indicates to incur no additional delay when closing or opening
the specified channels. With a setting of 0, only the needed settling time for a channel
to close or open will be incurred. If additional delay is desired then use this command
to indicate the amount needed. Channel patterns get their delay from the channels
comprising the pattern. Therefore, specify the delay for a pattern through the channels.
A pattern will incur the longest delay of all channels comprising that pattern.
Calling this function on an existing channel involved in scanning has no affect on the
existing scan list.
Details
Setting a delay only applies to switch channels. An error will occur for a read/write
channel like digital input/output. The delay being specified by value may be updated
based on a card's resolution for delay. To see if the delay value was modified after
setting, use the channel.getdelay command to query.
Also see
channel.getdelay() (on page 13-49)
Example
Set Channels 1 and 3 on Slot 5 for a delay time of 50 microseconds:
channel.setdelay("5001, 5003" , 50e-6)
To set the channels on Slot 3 for 0 delay time:
channel.setdelay ("slot3", 0)