Programming Examples - Keithley 708B Reference Manual

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Models 707B and 708B Switching Matrix Reference Manual
Delete user scripts
These steps remove a script from nonvolatile memory. To completely remove a script from the
system, there are additional steps you must take. See
page 6-43).
You can delete the script from nonvolatile memory by sending either of the following commands:
script.delete("name")
script.user.delete("name")
where name is the user-defined name of the script.
If you are using TSB Embedded, to delete a script from nonvolatile memory:
1. In TSB Embedded, select the script from the User Scripts list.
2. Click Delete. There is no confirmation message.
Example
Code
script.delete("test8")

Programming examples

Close channel script
This script closes matrix crosspoints to prepare for actions on other instruments and devices
connected to the switch matrix, then opens closed matrix crosspoints.
If you are using TSB Embedded, do not include the loadscript and endscript commands.
Example
Code
loadscript closeChannels
reset()
errorqueue.clear()
channel.exclusiveclose('1C01,1D02')
channel.open('allslots')
endscript
707B-901-01 Rev. A / August 2010
NOTE
Delete user scripts from the instrument
Output
Delete a user script named "test8" from
nonvolatile memory.
NOTE
Description
Resets the instrument to its default state.
Clears the error queue.
Closes matrix crosspoints C01 and D02 on the card in
slot 1.
At this point in your code, send commands to perform
actions on other instruments and devices connected to
the switch matrix.
Opens any closed matrix crosspoints in all slots.
Section 6: Instrument programming
(on
6-13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents