background image

m

o

c

.

y

e

l

h

t

i

e

k

.

w

w

w

E

C

N

E

D

I

F

N

O

C

 

F

O

 

E

R

U

S

A

E

M

 

R

E

T

A

E

R

G

 

A

Models 707B and 708B
Switching Matrix

Reference Manual

707B-901-01 Rev. A / August 2010

Summary of Contents for 707B

Page 1: ...m o c y e l h t i e k w w w E C N E D I F N O C F O E R U S A E M R E T A E R G A Models 707B and 708B Switching Matrix Reference Manual 707B 901 01 Rev A August 2010 ...

Page 2: ...tly prohibited All Keithley Instruments product names are trademarks or registered trademarks of Keithley Instruments Inc Other brand names are trademarks or registered trademarks of their respective holders The Lua 5 0 software and associated documentation files are copyright 1994 2008 Tecgraf PUC Rio Terms of license for the Lua software and associated documentation can be accessed at the Lua li...

Page 3: ......

Page 4: ...surement control and data I O connections are for connection to Category I sources unless otherwise marked or described in the user documentation Exercise extreme caution when a shock hazard is present Lethal voltage may be present on cable connector jacks or test fixtures The American National Standards Institute ANSI states that a shock hazard exists when voltage levels greater than 30V RMS 42 4...

Page 5: ...gers that might result in personal injury or death Always read the associated information very carefully before performing the indicated procedure The CAUTION heading in the user documentation explains hazards that could damage the instrument Such damage may invalidate the warranty Instrumentation and accessories shall not be connected to humans Before performing any maintenance disconnect the lin...

Page 6: ...t panel 2 12 Display 2 13 Crosspoint display Model 707B only 2 15 Selecting channels from the front panel 2 17 Keys and navigation wheel 2 18 Menu options 2 21 Communication interfaces 2 24 USB 2 24 GPIB 2 31 LAN communications 2 36 Supplied software 2 58 Keithley I O layer 2 59 Addressing instruments with VISA 2 64 Using the web interface 2 69 Introduction 2 69 Card pages 2 71 Scan Builder page 2...

Page 7: ...e acceptor trigger mode 3 15 Either edge trigger mode 3 16 Understanding synchronous triggering modes 3 17 Synchronous master trigger mode 3 18 Synchronous acceptor trigger mode 3 19 Synchronous trigger mode 3 20 Events 3 21 Event blenders 3 22 Theory of operations 4 1 Models 707B and 708B theory of operations overview 4 1 Mainframe 4 1 Important test system safety information 4 2 Instrument fan M...

Page 8: ...15 timer functions 5 15 trigger functions and attributes 5 16 tsplink functions and attributes 5 16 tspnet functions and attributes 5 17 userstring functions 5 17 waitcomplete function 5 17 Overview of instrument drivers 5 18 Instrument driver types 5 18 VXIPnP drivers 5 19 Interchangeable Virtual Instruments IVI style drivers 5 19 LabVIEW drivers 5 20 Obtaining instrument drivers 5 20 Instrument ...

Page 9: ... data queue for real time communication 6 53 Copying test scripts across the TSP Link network 6 54 Removing stale values from the reading buffer 6 54 TSP Net 6 55 Overview 6 55 TSP Net Capabilities 6 55 Using TSP Net with any Ethernet enabled device 6 56 Using TSP Net vs TSP Link for communication with TSP enabled devices 6 58 Instrument Control Library ICL General device control 6 59 Instrument C...

Page 10: ...7 41 channel reset 7 43 channel setdelay 7 44 channel setforbidden 7 45 channel setlabel 7 46 channel setlabelcolumn 7 47 channel setlabelrow 7 49 createconfigscript 7 50 dataqueue add 7 51 dataqueue CAPACITY 7 52 dataqueue clear 7 52 dataqueue count 7 53 dataqueue next 7 54 delay 7 55 digio readbit 7 55 digio readport 7 56 digio trigger N assert 7 57 digio trigger N clear 7 57 digio trigger N EVE...

Page 11: ...g dns dynamic 7 100 lan config dns hostname 7 101 lan config dns verify 7 101 lan config gateway 7 102 lan config ipaddress 7 104 lan config method 7 104 lan config subnetmask 7 105 lan lxidomain 7 106 lan nagle 7 106 lan reset 7 107 lan restoredefaults 7 107 lan status dns address N 7 108 lan status dns name 7 109 lan status duplex 7 109 lan status gateway 7 110 lan status ipaddress 7 110 lan sta...

Page 12: ...0 reset 7 140 scan abort 7 141 scan add 7 142 scan addimagestep 7 143 scan background 7 144 scan bypass 7 145 scan create 7 146 scan execute 7 147 scan list 7 148 scan mode 7 150 scan reset 7 150 scan scancount 7 151 scan state 7 152 scan stepcount 7 153 scan trigger arm clear 7 153 scan trigger arm set 7 154 scan trigger arm stimulus 7 154 scan trigger channel clear 7 156 scan trigger channel set...

Page 13: ...us M 7 204 trigger blender N wait 7 205 trigger clear 7 206 trigger EVENT_ID 7 206 trigger timer N clear 7 207 trigger timer N count 7 207 trigger timer N delay 7 208 trigger timer N delaylist 7 209 trigger timer N EVENT_ID 7 209 trigger timer N overrun 7 210 trigger timer N passthrough 7 211 trigger timer N reset 7 211 trigger timer N stimulus 7 212 trigger timer N wait 7 213 trigger wait 7 214 t...

Page 14: ... errors on scripts 8 2 Error queue remote commands 8 2 USB troubleshooting 8 2 Check driver for the USB Test and Measurement Device 8 2 Troubleshooting GPIB interfaces 8 5 Timeout errors 8 5 Troubleshooting LAN interfaces 8 5 Verify connections and settings 8 6 Use Ping to test the connection 8 6 Open ports on firewalls 8 7 Web page problems 8 7 LXI LAN status indicator 8 8 Initialize the LAN conf...

Page 15: ...Status model diagrams C 3 Status Byte register overview C 4 Measurement summary bit Measurement event register C 5 System summary bit System register C 5 Error available bit Error or Event queue C 7 Questionable summary bit Questionable event register C 7 Message available bit Output queue C 8 Event summary bit ESB register C 9 Master summary status bit MSS bit register C 10 Operation summary bit ...

Page 16: ...nts 707B 901 01 Rev A August 2010 xi Status byte and service request commands C 18 Enable and transition registers C 19 Controlling node and SRQ enable registers C 19 TSP Link system status C 19 Status model configuration example C 19 Index Index 1 Limitation of Warranty ...

Page 17: ......

Page 18: ...time Their large matrix format makes them well suited for your large ATE system applications such as semiconductor device characterization wafer level reliability parallel test and modeling The Model 707B can host up to six test cards The Model 708B is a single slot chassis Warranty information Detailed warranty information is located at the back of this manual Should your Model 707B or 708B requi...

Page 19: ...moving or installing switching cards make sure you turn off the Model 707B or 708B and disconnect the line cord Also remove any other external power connected to the instrument or switching cards Failure to disconnect power before removing or installing switching cards may result in personal injury or death due to electric shock ...

Page 20: ...card make sure to cover the slot with a slot cover For model and firmware version information on the installed cards press the SLOT key IEEE 488 IEEE 488 GPIB connector See GPIB quick start on page 2 31 Digital I O Digital input output connector See Digital I O port on page 2 7 for connection information LAN Ethernet LAN connector See Connect the LAN cable on page 2 4 Fuse Line fuse Model 707B fus...

Page 21: ...ion EXTERNAL HAZARDOUS VOLTAGES 42V USB Type B connection Model 708B Rear panel Figure 2 Model 708B full rear panel 123456789 LAN TSP Link R IEEE 488 DIGITAL I O WARNING NO INTERNAL OPERATOR SERVICEABLE PARTS SERVICE BY QUALIFIED PERSONNEL ONLY FOR CONTINUED PROTECTION AGAINST FIRE HAZARD REPLACE FUSE WITH SAME TYPE AND RATING LINE FUSE SLOWBLOW LINE RATING 1 0A 250V 100 240VAC 50 60Hz 110VA MAX M...

Page 22: ... in Communication interfaces on page 2 24 Connect the USB cable To connect the USB cable Connect the Type B end of the USB cable to the connector on the back of the instrument shown below Figure 3 Model 707B rear panel USB connection SERIAL NO LAN TSP Link R LINE FUSE SLOWBLOW LINE RATING 2 0A 250V 100 240VAC 50 60Hz 210VA MAX USB connection CAUTION REFER TO SAFETY INSTRUCTIONS IN MANUAL BEFORE CO...

Page 23: ...onnected The location of the LAN connector on the instrument is shown below NOTE The TSP Link connectors will accept a LAN connection but will not be identified as a LAN and will not connect properly Be sure to connect the LAN connector correctly Figure 5 Model 707B rear panel LAN connection SERIAL NO LAN TSP Link R LINE FUSE SLOWBLOW LINE RATING 2 0A 250V 100 240VAC 50 60Hz 210VA MAX LAN connecti...

Page 24: ... to one instrument stack the connectors Two screws are located on each connector to ensure that connections remain secure The figure below shows a typical connection scheme for a multi unit test system Figure 8 IEEE 488 connections Instrument Controller Series 2600A Model 707B 708B CAUTION To avoid possible mechanical damage stack no more than three connectors on any one unit To minimize interfere...

Page 25: ...E RATING 100 240VAC 50 60Hz 180VA MAX SLOT 1 SLOT 6 SLOT 5 SLOT 4 SLOT 3 SLOT 2 IEEE 488 GPIB connection Connect any additional connectors from other instruments as required for your application Make sure the other end of the cable is properly connected to the controller You can only have 15 devices connected to an IEEE 488 bus including the controller The maximum cable length is either 20 meters ...

Page 26: ... R LINE FUSE SLOWBLOW LINE RATING 2 0A 250V 100 240VAC 50 60Hz 210VA MAX TSP Link connections CAUTION REFER TO SAFETY INSTRUCTIONS IN MANUAL BEFORE CONNECTING TO EXTERNAL HAZARDOUS VOLTAGES 42V Digital I O port The Models 707B and 708B have a digital input output port that can be used to control external digital circuitry For example a handler that is used to perform binning operations can be used...

Page 27: ...00 mA NOTE If you were using a Model 707A or 708A see Using Models 707A and 708A compatibility mode on page B 1 Connecting cables Use a cable equipped with a standard male DB 25 connector Keithley Instruments part number CA 126 1 Digital I O lines pins 1 through 14 The port provides 14 digital I O lines Each output is set high 5 V or low 0 V and can read high or low logic levels 5 V output The dig...

Page 28: ...ENTER key or the navigation wheel 3 Set the decimal value as required to set digital I O lines The range is 0 to 16 383 see Digital I O bit weighting on page 2 9 Press the ENTER key or the navigation wheel 4 Press the EXIT key as needed to return to the main menu To write protect specific digital I O lines from the front panel 1 Press the MENU key then select DIGIO Press the ENTER key or the navig...

Page 29: ...d turn on the instrument The Model 707B or 708B operates from a line voltage of 100 V to 240 V at a frequency of 50 Hz or 60 Hz Line voltage is automatically sensed there are no switches to set Make sure the operating voltage in your area is compatible WARNING The power cord supplied with the Model 707B or 708B contains a separate ground wire for use with grounded outlets When proper connections a...

Page 30: ... error message Error messages are listed in Error and status messages NOTE If a problem develops while the instrument is under warranty return it to Keithley Instruments Inc for repair See the Warranty page at the back of this manual for more information If there are no errors the following actions occur when the instrument is turned on three dots are briefly displayed On the Model 707B the crossp...

Page 31: ...ront panel 707B SWITCHING MATRIX SLOT 1 SLOT 3 SLOT 5 SLOT 6 SLOT 4 SLOT 2 LAN STATUS POWER CONFIG 2A 01 Navigation wheel 01 12 11 10 09 08 07 06 05 04 03 02 2H 2G 2F 2E 2D 2C 2B 2A CLS 2C04 Instrument power button Display Change screen display Change scan and channel attributes DISPLAY Slot and channel rows Slot information Channel columns Model 708B front panel The front panel of the Model 708B ...

Page 32: ...nel state and errors You can press DISPLAY to cycle between the display of the channel or pattern the closed channel list or a screen message During setup the display shows menu choices that you can use to configure the instrument Display during operation During operation the display shows the control status local or remote and the current channel and indicates if any channels are closed An exampl...

Page 33: ...again to select the column 4 Turn the wheel to go to a new column 5 Press the navigation wheel or ENTER when selection is complete The new channel is displayed After CLS on the lower line of the display the closed channels are listed If no channels are closed none is displayed here If the list of closed channels extends past one screen is displayed at the end of the lower line To see the full list...

Page 34: ...to see them Menu options Arrow indicates that there are more options Turn the navigation wheel to the left to see them Crosspoint display Model 707B only The crosspoint display on the front panel of the Model 707B displays information about the slots that contain cards and the open and closed state of the channels for one card slot at a time If there are no cards in the instrument s slots the cros...

Page 35: ... light is off the slot does not contain a card If the yellow light is brighter than the others that slot is being displayed on the crosspoint display In the figure above there are cards in five slots no card in slot 5 and the channels for the card in slot 3 are displayed on the crosspoint display Crosspoint display description The crosspoint display displays all channels for one card slot at a tim...

Page 36: ...ing the slot that contains the row press the navigation wheel The red lights for that row are displayed 2 Turn the navigation wheel to go to the row you want to select 3 Press the navigation wheel to select the row The red lights for each crosspoint in the row are on as shown in the following figure Figure 18 One row selected SLOT 1 SLOT 3 SLOT 2 SLOT 1 SLOT 3 SLOT 2 2D 2D 2C 2C 2B 2B NOTE On the ...

Page 37: ... a value In most cases pressing the navigation wheel performs the same action as pressing the ENTER key On the Model 707B you can use the navigation wheel to control which slot is displayed on the crosspoint display To change a value with multiple characters 1 Turn the navigation wheel to go to the character you want to change the character blinks when selected 2 Press the navigation wheel to edit...

Page 38: ... one scan step See Basic scan procedure on page 3 5 OPEN Opens the selected channel or channel pattern CLOSE Closes the selected channel or channel pattern LOAD Loads code or scripts that can be run from the front panel RUN Runs the last code or script selected through the LOAD key INS Appends the selected channel or channel pattern to the scan list DEL Deletes the first occurrence of the selected...

Page 39: ...del See Scanning and triggering on page 3 1 Also see display trigger EVENT_ID on page 7 84 MENU Opens the Main Menu options on page 2 23 which allows you to manage scripts manage communications select channel connections test the keys test the display manage digital I O settings set up the beeper and display instrument information EXIT This key Cancels the current selection and returns to the prev...

Page 40: ...instrument allow you to set up and run the instrument Load Test menu options Allows you to run scripts and code from the front panel that you created through the communication interface To open this menu press LOAD The User option loads code that was added to Load Test with the display loadmenu add on page 7 74 command The Scripts option loads named scripts that were added to the runtime environme...

Page 41: ...lows you to bypass the trigger for the first step of the first scan See Trigger model on page 3 1 for more information MODE Selects how the scan initializes the instrument when the scan is executed Choose OPEN ALL to open all channels or OPEN SELECT to open only those involved in the scan SCAN_CNT Sets the scan count which is the number of times that the instrument repeats the steps in a scan Afte...

Page 42: ...tions that allow you to reset the channels in the selected channel pattern to factory default settings Resetting a channel pattern causes that pattern to be deleted because when channels are reset they delete patterns that contain them For information about working with channel patterns see Channel patterns on page 2 99 Scan action menu options Allows you to work with the scan lists from the front...

Page 43: ...nput and output lines Digital I O port on page 2 7 BEEPER Enables or disables the instrument key clicks and beeps Set beeper and key clicks on page 2 21 UNIT INFO Displays the firmware version serial number memory usage and fan status Fan status is 707B only Check fan status on page A 2 RESET Resets the instrument reset function on page 5 13 Communication interfaces This section shows you how to c...

Page 44: ...To connect the USB cable to the computer 1 Connect the Type A end of the cable to the host computer 2 Connect the Type B end of the cable into the instrument 3 Turn power to the instrument on 4 When the host computer detects the new USB connection the Found New Hardware Wizard starts 5 On the Can Windows connect to Windows Update to search for software dialog box click No then click Next 6 On the ...

Page 45: ...s 707B and 708B Switching Matrix Reference Manual 2 26 707B 901 01 Rev A August 2010 Figure 21 Select Operation dialog box 3 Click Next The Select Communication Bus dialog box is displayed Figure 22 Select Communication Bus dialog box ...

Page 46: ...t 2010 2 27 4 Select USB 5 Click Next The Select Instrument Driver dialog box is displayed Figure 23 Select Instrument Driver dialog box 6 Select Auto detect Instrument Driver Model 7 Click Next The Configure USB Instrument dialog box is displayed with the detected instrument VISA resource string displayed ...

Page 47: ...B and 708B Switching Matrix Reference Manual 2 28 707B 901 01 Rev A August 2010 Figure 24 Configure USB Instrument dialog box 8 Click Next The Name Virtual Instrument dialog box is displayed Figure 25 Name Virtual Instrument dialog box png ...

Page 48: ...ant to use to refer to the instrument 10 Click Finish 11 Click Cancel to close the Wizard 12 Save the configuration From the Configuration Utility select File Save 13 In the Keithley Communicator select File Open Instrument to open the instrument you just named Figure 26 Keithley Communicator Open Instrument 14 Click OK 15 Send a command to the instrument and see if it responds ...

Page 49: ... system you can run NI MAX or the VISA Interactive Utility See their documentation for information If you have the Agilent Io Libraries on your system you can run Agilent Connection Expert to check out your USB instruments See their documentation for information Additional USB information This section provides further details and more advanced information about the USB bus and test and measurement...

Page 50: ...eithley instrument using VISA are 707B USB0 0x05E6 0x707B serial number INSTR 708B USB0 0x05E6 0x708B serial number INSTR Where USB0 USB interface 0x05E6 The Keithley vendor ID assigned to Keithley Instruments by the USB org 707B or 708B Instrument model number serial number The serial number of the instrument the serial number is on the rear panel INSTR Use the USBTMC protocol GPIB This section c...

Page 51: ...igure 28 IEEE 488 connector To allow many parallel connections to one instrument stack the connectors Two screws are located on each connector to ensure that connections remain secure The figure below shows a typical connection scheme for a multi unit test system Figure 29 IEEE 488 connections Instrument Controller Series 2600A Model 707B 708B CAUTION To avoid possible mechanical damage stack no m...

Page 52: ...Hz 180VA MAX SLOT 1 SLOT 6 SLOT 5 SLOT 4 SLOT 3 SLOT 2 IEEE 488 GPIB connection Connect any additional connectors from other instruments as required for your application Make sure the other end of the cable is properly connected to the controller You can only have 15 devices connected to an IEEE 488 bus including the controller The maximum cable length is either 20 meters or two meters multiplied ...

Page 53: ...SS Press the navigation wheel to display the current address 3 Choose the appropriate GPIB address 4 Press ENTER to save the address The address value is saved in nonvolatile memory and will not change when a reset on page 7 140 command is sent or when the power is turned off and then turned on again When the GPIB bus is operating you can use the gpib address on page 7 97 attribute to change the G...

Page 54: ...tware which installs the VISA layer See How to install the Keithley I O Layer on page 2 61 Terminator When receiving data over the GPIB the instrument terminates on any line feed character or any data byte with EOI asserted line feed with EOI asserted is also valid When sending data through the GPIB drivers it is not necessary to append a line feed character to all outgoing messages The EOI line i...

Page 55: ...rsion 1 2 compliant They are scalable test instruments with direct connections to host computers They can also interact with a DHCP or DNS server and other LXI compliant instruments on a LAN The Models 707B and 708B are compliant with IEEE standard 802 3 Ethernet and support full connectivity on a 10 Mbps or 100 Mbps network NOTE Contact your network administrator to confirm your specific network ...

Page 56: ...puter open the Internet Protocol Properties dialog box See Windows network configuration settings on page 2 48 for instructions on opening this dialog box 2 Select Obtain an IP address automatically 3 Click OK Close the network settings dialog boxes Configure the instrument to obtain an IP address automatically 1 From the front panel of the instrument press the MENU key 2 Use the navigation wheel ...

Page 57: ...N TSP Link R LINE FUSE SLOWBLOW LINE RATING 2 0A 250V 100 240VAC 50 60Hz 210VA MAX LAN connection CAUTION REFER TO SAFETY INSTRUCTIONS IN MANUAL BEFORE CONNECTING TO EXTERNAL HAZARDOUS VOLTAGES 42V Figure 34 Model 708B rear panel LAN connection LAN TSP Link R I O LAN connection Wait for the LAN Status indicator on the front panel to turn solid green The LAN status indicator confirms that the Model...

Page 58: ...plication for more information For more information on the LXI Consortium see the LXI Consortium website http www lxistandard org Run LXI Discovery Browser The software populates a dialog box with the instruments found on the network and their associated IP addresses Double click the IP address in the LXI Discovery Browser dialog box The instrument web page opens For information on using the web p...

Page 59: ...rt lxi indentification An IVI driver for the instrument A LAN Status fault indicator VXI 11 discovery protocol LAN reset button or menu option LXI calls this the LAN Configuration Initialize LCI When the LXI defined LAN reset is selected the instrument reverts its LAN settings to a known set of defaults The default LAN settings for LXI instruments are DHCP and Auto IP enabled LXI refers to this as...

Page 60: ...ber of bytes have been sent and received VXI 11 also supports an out of band channel which allows the instrument to signal to the computer that an event such as a SRQ has occurred VXI 11 has a limitation in that it uses broadcast packets to locate the instrument when it wants to make a connection Models 707B and 708B use port 1024 for VXI 11 communication You do not have to know this port number t...

Page 61: ...r cable NOTE The Models 707B and 708B support Auto MDIX and can use either normal Ethernet CAT 5 cables patch or crossover cables The instrument automatically adjusts to support either cable One to many connection With an Ethernet hub a single network interface card can be connected to as many instruments as the hub can support This requires straight through network non crossover cables for hub co...

Page 62: ...ard in the computer to communicate with instrumentation Figure 37 Use two network interface cards to connect to a corporate network and instrumentation hub Instrumentation connection to enterprise routers or servers This connection uses an existing network infrastructure to connect instruments to the computer controller In this case the network resources must be obtained from the network administr...

Page 63: ...twork ID of 192 68 1 is used which is the default network ID that is shipped with the most of Keithley s instruments If a corporate network is also connected to the same computer using dual network interface cards the instrumentation network ID must be different than the corporate network ID 2 Assign the host ID portions of the three IP addresses In this example a host number of 1 is assigned to t...

Page 64: ... key when the IP address is complete The LAN CONFIG menu is displayed 8 Press the EXIT LOCAL key once to return to the LAN menu 9 Select APPLY Press the navigation wheel to save the change The Main Menu is displayed TCP IP network basics Regardless of the type of network connection used there must be a way to identify each network device on a network A software driver installed in the computer pro...

Page 65: ...ice the same IP address each time but that means a system administrator needs to be involved Dynamic Link local Addressing DLLA Also called Auto IP DLLA was originally used for ad hoc networks DLLA allows all the network devices to automatically allocate their own unique IP addresses An Auto IP address is in the range 169 254 0 0 169 254 255 255 A network device randomly picks an address in this r...

Page 66: ...ork ID number and the last byte is the host ID on the network Host ID numbers 1 through 254 are available for assignment All hosts on the same isolated network must have the same subnet mask As a general rule the top and bottom host numbers are reserved The top one nnn nnn nnn 255 is the broadcast address and the bottom one nnn nnn nnn 0 is shorthand for the whole subnet DNS The domain naming syst...

Page 67: ...ices might be available on that device The packets are usually blocked from going any further than the nearest router This limits the scope of mDNS but multicast packets are more network friendly than broadcast packets For example every network device in your subnet receives broadcast packets regardless of need while for multicast packets a network device must register for multicast addresses that...

Page 68: ... Click OK Windows 2000 Internet Protocol TCP IP Properties dialog box You can review and change IP settings in the Internet Protocol Properties dialog box To open this dialog box in Windows 2000 1 Click Start and select Settings then Control Panel 2 Open Network and Dial up Connections 3 Right click Local Area Connection and select Properties The Local Area Connection Properties dialog box is disp...

Page 69: ...col Properties dialog box To open this dialog box in Windows Vista 1 Click Start and select Control Panel 2 Open Network Sharing Center 3 In the list click View Status next to Connection The Wireless Network Connection Status dialog box is displayed 4 Click Properties A permissions message is displayed 5 If you are logged in as an administrator click Continue If you are not logged in as an adminis...

Page 70: ...he Internet Protocol Version 4 TCP IPv4 dialog box To open this dialog box in Windows 7 1 Click Start and select Control Panel 2 Click Network and Internet 3 Click Network and Sharing Center 4 Click Change Adapter Settings 5 On the connection you are using usually Local Area Connection right click and select Properties The Connection Properties dialog box is displayed 6 Double click Internet Proto...

Page 71: ...a network The main parameters that need to be configured for IPv4 are IP Addressing mode Models 707B and 708B have a choice of Auto or Manual Auto mode means the instrument will try to get and address through a DHCP server first and if this fails it will revert to Auto IP mode Manual is static IP addressing Subnet Mask Gateway DNS Server address if you are using DNS Instruments with front panel di...

Page 72: ...n use a telnet connection to interact with scripts or issue commands in real time To enable or disable a telnet connection 1 From the front panel press the MENU key and then select LAN ENABLE TELNET 2 Select either ON or OFF After the power cycle reminder you return to the LAN CONFIG menu 3 Press the EXIT LOCAL key to return to the LAN MENU 4 Turn the instrument on and off again to finalize the ch...

Page 73: ...work settings You can check the network settings for the instrument without making changes To check the network settings 1 From the instrument front panel select MENU LAN STATUS 2 Use the navigation wheel to select the following network settings IP_ADDRESS The IP address that the instrument is using to communicate over the LAN GATEWAY The gateway address that the instrument is using to communicate...

Page 74: ...ion wheel to select AUTO and return to the LAN CONFIG menu 6 Press the EXIT LOCAL key once to return to the LAN MENU 7 Select APPLY Press the navigation wheel to apply the setting The Main Menu is displayed Set up instrument for manual LAN configuration After setting up your computer for connection to the instrument you configure the instrument s LAN settings through the instrument front panel Set...

Page 75: ...ith the DHCP server to register the host name specified with the DNS server You can also define additional DNS addresses To change DNS settings 1 From the front panel press the MENU key and then select LAN CONFIG DNS VERIFY 2 Select either ENABLE or DISABLE You return to the DNS menu 3 Select DYNAMIC 4 Select either ENABLE or DISABLE You return to the DNS menu 5 To set an additional DNS addresses ...

Page 76: ...e see Using the web interface on page 2 69 2 From the navigation bar on the left in the LXI Home menu select IP Config 3 Click Modify 4 You are prompted for a password The default is admin Figure 43 Modify IP Configuration page 5 Change the values 6 Click Submit The instrument reconfigures its settings which may take a few moments NOTE You may lose your connection with the embedded web interface a...

Page 77: ...ng maintained by the IVI Foundation http www ivifoundation org The VISA library standard VPP 4 3 is a standard for an API to communicate with instruments connected to the computer communication buses Ethernet USB RS 232 GPIB and so on VPP 4 3 is a software API standard several instrument vendors have implementations of VPP 4 3 including National Instruments Agilent Technologies and Tektronix There...

Page 78: ...ontains IVI class drivers and support libraries that are needed for the development and use of applications that leverage IVI instrument interchangeability The IVI Compliance Package also is based on and is compliant with the latest version of the instrument programming specifications defined by the IVI Foundation The NI ICP installer installs the IVI shared components CVI runtime engine and the i...

Page 79: ... use with Keithley drivers or application software KIOL installs a valid license for the VISA runtime only not the full version of NI VISA Keithley Configuration Panel The Keithley Configuration Panel is a configuration utility for IVI drivers similar to NI MAX It also has the ability to auto detect USBTMC instruments and LAN instruments that support the VXI 11 protocol Keithley Communicator The K...

Page 80: ...iance Package 3 3 NI VISA Runtime 4 5 0 Keithley SCPI based Instrument IVI C driver SCPI 856C02 Keithley I O Layer KIOL 850C02 To install the Keithley I O Layer from the CD 1 Close all programs 2 Place the CD into your CD ROM drive 3 Your web browser should start automatically and display a screen with software installation links To manually open the web page use a file explorer to navigate to the...

Page 81: ... the Keithley I O Layer software installation Non National Instruments VISA detected VISA software is used to communicate with the instrument and may be installed by various test and measurement software applications instrument drivers and so on Keithley I O Layer software requires and will install National Instrument VISA software The installer will detect if another vendor s version of VISA is a...

Page 82: ...e pre existing version of VISA was supplied by a vendor other than Tektronix or Agilent it is recommended that you do not reinstall it as this will likely cause the Keithley I O Layer software to malfunction Installation troubleshooting If problems occur during installation it might be helpful to install the components individually Errors might appear that will help you resolve the installation is...

Page 83: ...tion buses by changing a resource string that gets passed in with the viOpen function in VISA C or with the Open method on the VISA COM resource manager object For detailed information on the format of the resource string refer to the VISA specification VPP4 3 at the IVI Foundation web site or refer to the help file by the vendor of the VISA implementation you are using The following sections desc...

Page 84: ...received correctly All Keithley instruments support the raw socket connection TCPIP board host address port SOCKET The board and the host address are the same as for the VXI 11 protocol port is the port to which to connect on the instrument For the Models 707B and 708B the port is 5025 See Instrument LAN protocols on page 2 40 for a complete list of port numbers Addressing instruments using USB US...

Page 85: ...el GPIB commands Refer to your VISA documentation for more details on how to use this class The GPIB INSTR resource class format is GPIB board primary address secondary address INSTR board is the number of the GPIB card if there is more than one in the computer If there is only one GPIB card skip board but do not leave a space primary address is the main GPIB address of the instrument which can be...

Page 86: ...rgv ViSession defaultRM vi char buf 256 0 ViStatus error VI_SUCCESS Open session to GPIB device at address 22 checkErr viOpenDefaultRM defaultRM checkErr viOpen defaultRM GPIB0 14 INSTR VI_NULL VI_NULL vi Initialize device checkErr viPrintf vi RST n Send an IDN string to the device checkErr viPrintf vi IDN n ViUInt16 status 0 do checkErr viReadSTB vi status printf ReadSTB X n status while status 0...

Page 87: ...Interop namespace WindowsApplication1 public class IdnSample System Windows Forms Form private Ivi Visa Interop FormattedIO488 ioDmm private void IdnSample_Load object sender System EventArgs e ioDmm new FormattedIO488Class SetAccessForClosed private void btnInitIO_Click object sender System EventArgs e try ResourceManager grm new ResourceManager ioDmm IO IMessage grm Open GPIB 16 INSTR AccessMode...

Page 88: ...r plug in Sun Java Runtime Environment Version 6 or higher Installation files are available from http www java com en download manual jsp http www java com en download manual jsp The ActiveX control and Java applets are installed from the instrument but depending on the browser security settings they may require the users permission to be downloaded and installed After the instrument is connected ...

Page 89: ... return the LAN status indicator to steady Log in to the instrument The web interface has both interactive and read only pages These pages are always listed in the navigation panel on the left side of the web interface You can review information on any of the pages without logging in but to change information you must log in Pages that contain information you can change include a Login button Once...

Page 90: ...admin If the password has been changed it is available from the front panel of the instrument Press MENU LAN STATUS PASSWORD Card pages The card pages are interactive pages where you can work with channels in each slot To open a card page on the left navigation click the slot number There is a specific page for each card installed in the mainframe This page displays a grid that shows the relay con...

Page 91: ...ots from the card pages You can open and close slots from the card pages in several ways The simplest method is to click a connection The channel changes state to open or closed When the channel is open the connection is a circle with an x in it Figure 48 Web interface open channel When the channel is closed the connection is black Figure 49 Web interface closed channel ...

Page 92: ...ny closed channels in the same slot Exclusive Close Close the selected channel and open any closed channels in the instrument the only closed channel is the selected channel You can open all channels in a slot by clicking Open Slot You can open all channels in the instrument by clicking Open All For more information on opening and closing channels see Closing and opening channels on page 2 94 Conf...

Page 93: ...ialog box also displays the closure count See Determining the number of relay closures on page 2 93 for information Set up channel patterns from the web interface You can use channel patterns as a convenient way to refer to a group of switching channels with a single alphanumeric name When you perform close or open operations on a channel pattern only the channels that are in the channel pattern a...

Page 94: ... a name in the box at the top 4 Click Snapshot A new pattern is created that contains the closed channels To delete a channel pattern from the web interface 1 Select the name of the pattern that you want to delete 2 Click Delete For more information regarding patterns including opening and closing the channels that are in patterns see Channel patterns on page 2 99 Reset a slot from the web interfa...

Page 95: ...Model 707B or 708B between channels and multiple instruments You can also use triggers without the triggering model to set up a scan to meet the needs of a specific application that does not fit the triggering model NOTE If you use Scan Builder to create a scan use the options in the Scan Builder page to run the scan Using the TSB Embedded page may not give you the expected results Create a scan l...

Page 96: ...box enter the number of times you want to repeat the steps in the scan 7 Repeat these steps as needed to build the scan steps The scan is saved as you build it Clear the scan list from the web interface Clearing the scan list deletes all channels and channel patterns from the scan list To clear the scan list from the web interface 1 From the left navigation area of the web interface home page sele...

Page 97: ...interface 1 From the left navigation of the web interface Home page select Scan Builder 2 Click Scan Trigger Reset Run the scan You can run a scan in one of several ways Background Runs the scan in the background so that you can perform other tasks while the scan is running You can use the Query State to check scan status Step by Step Steps through the scan To run the scan as a background scan fro...

Page 98: ...he mode list a different mode other than falling or rising is already selected Other is not a mode and cannot be selected It is only an indicator that the digital triggering is already set up for a different mode See Advanced triggering on page 2 80 for other options Channel action trigger You can select the trigger to use to continue channel action for each scan The options to continue channel ac...

Page 99: ...ng remain closed Arm Scan Start Stimulus Select the event that causes the arm event detector trigger to be set to the detected state the scan can begin Channel Action Stimulus Select the event that causes the channel event detector to be set to the detected state the step can begin Channel Ready Event To Select the recipient of the Channel Ready Event Scan Complete Event To Select the recipient of...

Page 100: ...ort Script To export the selected script to the computer click Export to PC Choose the directory where you want to save the script and click Save Scripts are saved to a file with the extension tsp TSP files are native to Test Script Builder or TSB Embedded but they can be opened and edited in any text editor To import scripts from the computer click Import to PC Select the directory that contains ...

Page 101: ... in the nonvolatile memory of the instrument To create a script using TSB Embedded 1 In the TSP Script box enter the name of the script 2 In the input area enter the sequence of commands to be included in the script Line numbers are automatically assigned 3 Click Save Script The name is added to the User Scripts list on the left Admin page Through the Admin page you can change the instrument passw...

Page 102: ...fig Script dialog box is displayed 2 To create a script that will run automatically when the instrument is powered on select Auto execute on powerup Note that this will overwrite the existing autoexec script 3 To create a script with a new name select Name and enter the name 4 Click OK Reset Resets all instruments in the TSP enabled system This is only available if the instrument is the master Ope...

Page 103: ...the lifetime of the card To print the report click Print To clear the report information from the screen click Clear LXI page The Model 707B or 708B is an LXI Class C instrument The LXI page is a read only page that displays the LXI information about the instrument IP Config The IP Config allows you to review and change the LAN connection information See Change the IP configuration through the web...

Page 104: ...l operation 707B 901 01 Rev A August 2010 2 85 Figure 53 Event log The time stamp event identifier the IP address and the domain name identify the incoming and outgoing LXI trigger packets The following table provides detailed descriptions for the columns in the event log ...

Page 105: ...System Timestamp A timestamp that identifies the time the event occurred The timestamp uses the following PTP timestamp Seconds Fractional seconds The Model 707B or 708B does not support the IEEE 1588 standard the values in this field are always 0 zero HWDetect Identifies a valid LXI trigger packet LXI Sequence Each instrument maintains independent sequence counters One for each combination of UDP...

Page 106: ...s such that they will always be on Hot switching is recommended only when external protection is provided Channel identification The channels on the cards that you can use with the Model 707B or 708B are referred to by a channel specifier The specifier is used to identify channels for use with close and open operations scans and channel patterns using the front panel web or remote command interfac...

Page 107: ...n Row number The row number is either 1 to 8 or A to Z See your card documentation Column number Always two digits For columns greater than 99 use A B C and so on to represent 10 11 12 the resulting counting sequence is 98 99 A0 A1 A8 A9 B0 B1 Matrix channel examples Reference Slot Bank Row Column 1A05 1 N A 1 05 1C05 1 N A 3 05 3C12 3 N A 3 12 Figure 54 Matrix card display showing channel identif...

Page 108: ...03 1A05 for channelList To perform an open or close operation on all channels in the range of row 1 and columns 1 through 5 of slot 1 use 1A01 1A05 for channelList Queries that return a list of channels For queries that return a channel list parameter the Model 707B or 708B separates the channels by a comma or semicolon depending on the command When multiple channels are used in the query the info...

Page 109: ... the indicated switch channels Cold switching is highly recommended CAUTION Hot switching can dry weld reed relays such that they will always be on Hot switching is recommended only when external protection is provided The channel connect rule determines the order in which multiple channels are opened and closed on the instrument This attribute applies to electromechanical reed and solid state rel...

Page 110: ...ou can use a sequential connection A sequential connection ensures an orderly closing or opening of single individual channels in a channel list An orderly action provides for Repeatable and deterministic channel operation times Minimized power usage You incur settling times at each close or open operation If sequential connection is not selected action settling times may vary depending on the car...

Page 111: ...em 3 Press the ENTER key 4 Select the SEQUENTIAL menu item 5 Select ON or OFF 6 Use the ENTER key to apply the selection 7 Use the EXIT LOCAL key to leave the menu To enable sequential connections through the web interface 1 Open the UNIT page 2 In the upper left corner select the Sequential check box next to the Channel Connect Rule list To enable sequential connections through the remote command...

Page 112: ...sures since the last power cycle of the card 7072 7072 HV 7173 50 7174A For all other cards the number of closures are the closures that have occurred over the lifetime of the card To view the close count for a channel from the front panel 1 Use the navigation wheel to select the channel 2 Press the CONFIG key 3 Press the CHAN key 4 Use the navigation wheel to scroll to the COUNT menu item 5 Press...

Page 113: ...x12 Fast Low I Matrix 01 00a Module Serial Number 7072 8x12 Semi Matrix 01 00a Module Serial Number Empty Slot Empty Slot Empty Slot Empty Slot Selecting a channel from the front panel You can perform operations on a single channel from the front panel To select a channel see Selecting channels from the front panel on page 2 17 Once a channel is selected it is the selected channel for front panel ...

Page 114: ... closed on other slots remain closed You can use the front panel CLOSE and OPEN keys to open and close channels To close or open a channel from the front panel 1 Display a channel you might need to press DISPLAY 2 Use the navigation wheel to select the channel you want to open or close 3 To Open the channel Press OPEN Close a channel without affecting any other channels Select CLOSE Close a channe...

Page 115: ...en or close 3 Press CHAN 4 Use the navigation wheel to select the option You can select OPEN Opens the selected channel CLOSE Closes the selected channel EXCLOSE Closes the selected channel opens any other channels that are closed EXSLOTCLOSE Closes the selected channel opens any other channels that are closed on the same slot 5 Press the navigation wheel to open or close the channel Viewing the c...

Page 116: ... in the following sections Set additional delay You can set an additional delay to incur after the relay settles when closing To set additional delay time from the front panel 1 Display a channel you might need to press DISPLAY 2 Select the channel for which you want to set attributes 3 Press CONFIG then press CHAN DELAY Additional delay to incur after the relay settles Enter the value for the del...

Page 117: ...id closing of a channel from the web interface 1 From the list on the left select the slot that contains the channel you want to forbid close on 2 Right click the channel 3 Select the forbidden checkbox 4 Click OK To forbid closing of a channel from the remote interface You can also set this attribute using the following commands channel setforbidden on page 7 45 channel clearforbidden on page 7 1...

Page 118: ...e label Click OK To set up labels from the remote interface Use the commands channel setlabel on page 7 46 channel setlabelrow on page 7 49 channel setlabelcolumn on page 7 47 You can use labels to refer to the channels in commands For example if you set the label for channel 1A01 to start you could use start to close and open the channel If you set the row 1B to SMU2 and the column 02 to DUT2 you...

Page 119: ...hannels contained in the pattern create the desired path connection Make sure that channels that you want to include in the pattern are not set to forbidden to close When naming the channel pattern be aware The first character of the name must be alphabetic upper or lower case Names are case sensitive Pattern names must be different than row column and channel labels To create a channel pattern fr...

Page 120: ...ialog box is displayed Figure 55 Channel pattern configuration dialog box 3 Enter a name in the box at the top 4 From the Channels Available list select the channels you want to add You can use Ctrl click and Shift click to select multiple channels 5 Click Add 6 When the Selected channel list is complete click Create NOTE If you close the channels you want to add to the new pattern you can enter a...

Page 121: ...est engineers who recognize the dangers associated with multiple channel closures You can close and open channel patterns the same way you do for individual channels To perform a particular operation on a channel pattern use the appropriate open or close command with the channel pattern name for the channelList parameter Refer to Close and open channel operations and commands on page 2 95 for deta...

Page 122: ...pen any other closed channels on the instrument Select PATT and select EXCLOSE Press ENTER to open or close the channels Close the channels in the channel pattern and open any other closed channels on the slot Press PATT and select EXSLOTCLOSE Press ENTER to open or close the channels To close or open the channels in a channel pattern from the web interface 1 From the list on the left select a slo...

Page 123: ... To close or open the channels in a channel pattern from the remote interface channel close on page 7 19 channel exclusiveclose on page 7 24 channel exclusiveslotclose on page 7 25 channel open on page 7 35 NOTE Refer to the Instrument Control Library ICL command reference on page 7 8 for detail on each command Channel pattern storage Channel patterns are Part of the script that is created with Cr...

Page 124: ...ng this function to reset a channel involved in scanning invalidates the existing scan list The list has to be recreated before scanning again CAUTION Resetting a channel deletes any channel patterns that contain that channel To reset a channel from the front panel 1 Display a channel 2 Select the channel you want to reset 3 Press CHAN 4 Select RESET 5 Select SELECTED ALL or CANCEL 6 Press the nav...

Page 125: ...ed You can run it later to return to that configuration or set it up to be the autoexec script The configuration script is a normal TSP script once created you can use it and modify it as you would any other script The configuration script includes Comment lines that identify the script as auto created and the date and time of creation The cards that are installed and the slots in which they are i...

Page 126: ...l_1 channel pattern setimage 1A02 1B02 Row1_2_col_2 channel pattern setimage 1A03 1B03 Row1_2_col_3 channel pattern setimage 1A04 1B04 Row1_2_col_4 channel pattern setimage 1A05 1B05 Row1_2_col_5 channel pattern setimage 1A06 1B06 Row1_2_col_6 channel pattern setimage 1A07 1B07 Row1_2_col_7 channel pattern setimage 1A08 1B08 Row1_2_col_8 channel pattern setimage 1A09 1B09 Row1_2_col_9 channel patt...

Page 127: ...RIPT 3 Select CREATE CONFIG The AUTOEXEC ON PWR UP prompt is displayed 4 Select Yes or No 5 If AUTOEXEC is set to no at the name prompt enter the name of the configuration The default name is config01 6 Press ENTER 7 The AUTOEXEC message is displayed again Press EXIT several times to return to the normal display To create a configuration script from the web interface 1 Open the Unit page 2 Log in ...

Page 128: ...trix Reference Manual Section 2 General operation 707B 901 01 Rev A August 2010 2 109 Running the configuration script You can run the configuration using the same methods as any other script See Run scripts on page 6 6 for information ...

Page 129: ......

Page 130: ...of a timer The sequence of actions and events that occur during the scan is called the trigger model Scanning and triggering allow you to synchronize actions across channels You can set up a scan using the trigger model to precisely time and synchronize the Model 707B or 708B between channels and multiple instruments You can also use triggers without the triggering model to set up a scan to meet t...

Page 131: ...on trigger Channel action Step count complete Scan count complete Idle Yes Scan Ready Event Scan start trigger Channel action trigger Scan Start Event Bypass on Scan count 1 step count 1 Channel Ready Event Yes No No Scan Complete Event Idle Event Step Scan Front panel SCAN BACKGROUND ICL scan execute or scan background Web interface Execute Background scan trigger EVENT_SCAN_READY ICL scan trigge...

Page 132: ...rigger When the scan starts the instrument generates the Scan Start Event Wait for channel action trigger The channel action trigger is an event that tells the instrument to begin processing the next channel action You can bypass the channel action trigger if this is the first step of the first scan count Bypass is available from the font panel CONFIG SCAN menu or by using the command scan bypass ...

Page 133: ...er EVENT_SCAN_COMP Idle Event scan trigger EVENT_IDLE NOTE Scanning operations run through the trigger model but individual open and close commands have no interaction with the trigger model Scan and step counts When running a scan it may be necessary to determine the scan progress You can use scan state to read the scan and step count to determine the point in the scan table being executed Scan c...

Page 134: ...d 708B leave the idle state and perform the channel action associated with the first step in the scan list NOTE While scanning is enabled pressing most front panel keys will display the message ERROR CODE 5522 Scan Running Must Abort Scan 6 The channels are scanned or stepped in the order they were added to the list Front panel If you are stepping through the scan press the STEP key to proceed to ...

Page 135: ...an list function You can clear an existing scan list before making any changes after making a scan list From the front panel press the SCAN key and select the CLEAR option For bus operation use the scan create function To configure a scan from the SCAN ATTR MENU while in an active scan list 1 Press the CONFIG key 2 Press the SCAN key Modify any of the following menu items as desired ADD Displays U...

Page 136: ...to be removed and then press the DEL key Press the STEP key to single step through a scan list Foreground and background scan execution You can execute a scan in the foreground or background Background execution allows you to query settings If a scan is running in the foreground it will need to finish or be aborted before you can query any settings When a scan is running in the background you can ...

Page 137: ...N stimulus on page 7 62 digio trigger N wait on page 7 64 lan trigger N assert on page 7 114 lan trigger N clear on page 7 115 lan trigger N overrun on page 7 121 lan trigger N stimulus on page 7 123 lan trigger N wait on page 7 125 scan add on page 7 142 scan background on page 7 144 scan bypass on page 7 145 scan create on page 7 146 scan execute on page 7 147 scan list on page 7 148 scan mode o...

Page 138: ...l number of channel closures during a scan How scan count works with the scan list Number of steps Scan count value Total number of step channel closures 3 1 default 3 each step channel once 1A05 1B05 1C05 3 2 6 each step channel twice 1A05 1B05 1C05 then 1A05 1B05 1C05 3 3 9 each step channel three times 1A05 1B05 1C05 then 1A05 1B05 1C05 then 1A05 1B05 1C05 scan stepcount scan scancount scan ste...

Page 139: ... CHANNEL 1A05 STEP 2 CLOSE CHANNEL 1B05 DETECT TRIGGER ON DIGIO TRIGGER LINE 3 STEP 3 CLOSE CHANNEL 1C05 DETECT TRIGGER ON DIGIO TRIGGER LINE 3 SCAN COUNT 3 NO SCAN COMPLETE YES START SCAN DETECT TRIGGER ON DIGIO TRIGGER LINE 3 The following represents a script you can enter using the TSB Embedded page on the web to experiment with the scan points discussed above ...

Page 140: ...imes step count to step the scan sequence digio trigger 3 assert Simulate the trigger occurring on digio trigger line 3 ScanState ScanCount StepCount scan state Get the current scan state information print ScanState ScanCount StepCount Show the state of scanning delay 3 Delay 3 seconds to allow viewing of state end On the TSB Embedded page click Save Script to save the script For example name the ...

Page 141: ... completed step 3 for scan count of 3 NOTE For more examples of using scanning and triggering see the Models 707B and 708B User s Manual section Using a Series 2600 with your Model 707B or 708B Hardware trigger modes Use the hardware trigger modes to integrate Keithley Instruments and non Keithley instruments into an efficient test system The hardware synchronization lines are classic trigger line...

Page 142: ...g Ignores the pulse duration SynchronousM High Low Rising Each trigger mode controls the input trigger detection and output trigger generation The input detector monitors for and detects all edges even if the node that generates the output trigger causes the edge A trigger overrun generates if an input trigger is received before the previous input trigger processes To determine if a trigger overru...

Page 143: ...ates low pulses and detects all falling edges The following graphic illustrates the characteristics for the falling edge input trigger Figure 59 Falling edge input trigger Input characteristics Detects all falling edges as input triggers Figure 60 Falling edge output trigger Output characteristics When the trigger is asserted it generates a low pulse for the programmed pulse duration ...

Page 144: ...trigger detection is not available in this trigger mode You can use the RisingM trigger mode to generate rising edge pulses NOTE The RisingM trigger mode does not function properly if the line is driven low by an external drive Figure 61 RisingM output trigger Rising edge acceptor trigger mode The rising edge acceptor trigger mode RisingA generates a low pulse and detects rising edge pulses The fo...

Page 145: ...gure 63 RisingA output trigger Output characteristics When the trigger is asserted generates a low pulse that is similar to the falling edge trigger mode Either edge trigger mode The either edge trigger mode generates a low pulse and detects both rising and falling edges Figure 64 Either edge input trigger Input characteristics All rising or falling edges generate an input trigger event ...

Page 146: ...s Use the synchronous triggering modes to implement bidirectional triggering to wait for one node or to wait for a collection of nodes to complete all triggered actions All non Keithley instrumentation must have a trigger mode that functions similar to the SynchronousA or SynchronousM trigger modes To use synchronous triggering configure the triggering master to the SynchronousM trigger mode or th...

Page 147: ... trigger mode equivalent to SynchronousA must latch the line low during the pulse duration To use the SynchronousM trigger mode configure the triggering master as SynchronousM and then configure all other nodes in the test system as Synchronous SynchronousA or to the non Keithley equivalent NOTE Use the SynchronousM trigger mode to receive notification when the triggered action on all nodes is com...

Page 148: ...characteristics When the trigger is asserted it generates a low pulse that is similar to the Falling Edge trigger mode Synchronous acceptor trigger mode Use the synchronous acceptor trigger mode SynchronousA with the SynchronousM trigger mode The role of the internal and external drives are reversed in the SynchronousA trigger mode Figure 68 SynchronousA input trigger ...

Page 149: ...internal drive latches the line low Figure 69 SynchronousA output trigger Output characteristics The physical line state does not change until all drives internal and external release the line Synchronous trigger mode The synchronous trigger mode is a combination of SynchronousA and SynchronousM trigger modes The SynchronousA and SynchronousM trigger modes provide additional flexibility Figure 70 ...

Page 150: ...generates when the internal drive is not latched low and the trigger is asserted Events Event detectors monitor an event They have one input signal the stimulus which is the event that they monitor in some cases the stimulus is an action in the system like a timer expiring or a key press They have two optional output signals see figure below Detected reflects the detection state of the event detec...

Page 151: ...s generated When operating in and mode if an event is detected more than once before all events necessary for the generation of an output event an action overrun will be generated When operating in or mode an action overrun will be generated when two or more source events are detected simultaneously Event blenders each have an associated event detector that can be accessed through script control E...

Page 152: ...omponents is briefly described below Mainframe Figure 73 Model 707B mainframe block diagram Matrix Display Airflow Instrument Fan Universal Power Supply 100 240 VAC 50 60 Hz AC Power Entry and Fuse Communication Interfaces LAN USB IEEE 488 Instrument Power Microprocessor Board Communication and Power Two Line VFD Display and LAN Status LED Communication and Power Communication and Power Navigation...

Page 153: ...e that in many test systems a single fault such as a software error may output hazardous signal levels even when the system indicates that there is no hazard present It is important that you consider the following factors in your system design and use The international safety standard IEC 61010 1 defines voltages as hazardous if they exceed 30 V rms and 42 4 V peak or 60 V dc for equipment rated f...

Page 154: ...are damage Of course read and follow all safety warnings provided with the specific instruments to keep system users safe For Model 707B or 708B also see Safety Precautions on page 1 1 Instrument fan Model 707B only The Model 707B includes an internal fan that operates continuously when power is applied to the mainframe The fan keeps the internal power supply and other electronics cool during oper...

Page 155: ...B Local area network LAN General Purpose Interface Bus GPIB or IEEE 488 Trigger and control interfaces You can use rear panel connections to control external digital circuits and instruments that are connected with TSP See Digital I O port on page 2 7 and Connect the TSP Link cable on page 2 6 Backplane The Model 707B or 708B backplane is the interface between the installed relay cards The relay c...

Page 156: ... 2 Analog Bus 2 Analog Bus 2 Analog Bus 2 Analog Bus 2 Analog Bus 2 Analog Bus 2 Analog Bus 2 Analog Bus 2 Analog Bus 2 Analog Bus 3 Analog Bus 3 Analog Bus 3 Analog Bus 3 Analog Bus 3 Analog Bus 3 Analog Bus 3 Analog Bus 3 Analog Bus 3 Analog Bus 3 Analog Bus 3 Analog Bus 3 Power Communication Power Communication Power Communication Power Communication Power Communication Power Communication Powe...

Page 157: ...nt display on the Model 707B shows you which channels are opened and closed The small display is a two line vacuum fluorescent display VFD Upper crosspoint display Model 707B only The larger upper display on the Model 707B mainframe provides a visual means of determining the relay status of each card slot in the instrument at any given time It also shows the label names for each row and column of ...

Page 158: ...splay VFD and a 12 x 12 LED matrix display called the crosspoint display that shows the relay status for each of the slots The block diagram shows only the matrix display Its constituent components are described below Microcontroller The microcontroller receives commands from the main controller and updates the row and column labels It also generates the pulse width modulated PWM signals for opera...

Page 159: ...t Each row and column is updated sequentially The entire display has a refresh rate of approximately 60 Hz The time domain details of display refreshing are shown below Figure 77 Model 707B display refresh Period Repeat All Rows Refreshed Row 1 Row 12 Each row gets a time slice of column data then each row gets divided into 20 time slots Low brightness 1 20 of slice High brightness 19 20 of slice ...

Page 160: ...f the watchdog shuts down the display the first several row labels show SLOT GRID LEDS OFF Description of basic display operation This display board is a subordinate device to the microprocessor board The microprocessor board communicates commands to change the state of the matrix or update the row and column labels The display board processes these commands independently It also refreshes the dis...

Page 161: ......

Page 162: ... these commands as a script that can be run later by sending a single command message to the instrument You do not have to choose between using conventional control or script control You can combine these forms of instrument control in the way that works best for your particular test application Controlling the instrument by sending individual command messages The simplest method of controlling an...

Page 163: ... for later access The following code saves the value an instrument operator enters from the front panel and prints it value display inputvalue 0 00 print value If the operator enters 2 36 from the front panel the resulting output is 2 3600000e 00 Attributes Attribute based commands are commands that set the characteristics of an instrument feature or operation For example some characteristics of T...

Page 164: ...nds generate output in the form of response messages Each print command creates one response message Example Code Notes and output x 10 print x Example of an output response message 1 0000000e 01 Note that your output might be different if you set your ASCII precision setting to a different value Data retrieval commands You can send data retrieval commands that return a comma delimited string For ...

Page 165: ...bit bitxor functions in this group perform logic operations on two numbers The Test Script Processor TSP performs the indicated logic operation on the binary equivalents of the two integers Bitwise logic operations are performed This means that the logical AND OR or XOR operation is performed on Bit 1 of the first number and Bit 1 of the second number The logical AND OR or XOR operation is perform...

Page 166: ...set on page 7 14 bit setfield on page 7 15 bit test on page 7 16 bit toggle on page 7 17 channel functions and attributes About channel commands Channel identifiers The channels on the matrix cards are referred to by their slot bank row and column numbers Slot number The number of the slot in which the card is installed Bank The bank number if used by your card See your card documentation Row numb...

Page 167: ...etermines the number and order of these returned items When the channelList parameter for these functions is slotX the response first lists the channels starting from lowest to highest More specifically the channels are returned in numeric order When the channelList parameter for these functions is allslots the response starts with Slot 1 and increases to Slot 6 for the Model 707B The Model 708B h...

Page 168: ... at the beginning of a string and break the string into individual items at each comma The tonumber function is used on each item to determine if it is a number or not In either case the value is printed index1 1 index2 1 text 123 abc hello 4 56 endIndex string len text while index2 endIndex do index2 string find text index1 if not index2 then index2 endIndex end subString string sub text index1 i...

Page 169: ...tforbidden on page 7 30 channel getlabel on page 7 31 channel getlabelcolumn on page 7 32 channel getlabelrow on page 7 33 channel getstate on page 7 34 channel gettype on page 7 35 channel open on page 7 35 channel pattern catalog on page 7 37 channel pattern delete on page 7 38 channel pattern getimage on page 7 38 channel pattern setimage on page 7 39 channel pattern snapshot on page 7 41 chann...

Page 170: ... on page 7 54 delay function This function is used to hold up instrument operation for a specified period of time It is typically used to soak a device at a specific voltage or current for a period of time delay on page 7 55 digio functions and attributes The digital I O port of the Model 707B or 708B can control external circuitry such as a component handler for binning operations The I O port ha...

Page 171: ...ritebit on page 7 64 digio writeport on page 7 65 digio writeprotect on page 7 66 display functions and attributes display clear on page 7 67 display getannunciators on page 7 67 display getcursor on page 7 68 display getlastkey on page 7 69 display gettext on page 7 70 display inputvalue on page 7 73 display loadmenu add on page 7 74 display loadmenu catalog on page 7 76 display loadmenu delete o...

Page 172: ...eventlog enable on page 7 90 eventlog next on page 7 90 eventlog overwritemethod on page 7 91 exit function Use this function from in your script to terminate it exit on page 7 92 format attributes These attributes determine how information is formatted when it is printed using the print printbuffer and printnumber functions format asciiprecision on page 7 93 format byteorder on page 7 93 format d...

Page 173: ...n page 7 101 lan config dns verify on page 7 101 lan config gateway on page 7 102 lan config ipaddress on page 7 104 lan config method on page 7 104 lan config subnetmask on page 7 105 lan lxidomain on page 7 106 lan nagle on page 7 106 lan reset on page 7 107 lan restoredefaults on page 7 107 lan status dns address N on page 7 108 lan status dns name on page 7 109 lan status duplex on page 7 109 ...

Page 174: ...1 localnode revision on page 7 131 localnode serialno on page 7 132 localnode setglobal on page 7 133 localnode showerrors on page 7 133 make accessor functions Use these functions to create functions to get and set attribute values makegetter on page 7 134 makesetter on page 7 135 memory functions Check the amount of memory that is available or used in the instrument memory available on page 7 13...

Page 175: ...ge 7 153 scan trigger arm set on page 7 154 scan trigger arm stimulus on page 7 154 scan trigger channel clear on page 7 156 scan trigger channel set on page 7 156 scan trigger channel stimulus on page 7 157 scan trigger clear on page 7 158 script functions and attributes Scripting helps you combine commands into a block of code that the instrument can run Scripts help you communicate with the ins...

Page 176: ... on page 7 173 status node_enable on page 7 175 status node_event on page 7 177 status operation on page 7 178 status operation user on page 7 180 status questionable on page 7 182 status request_enable on page 7 184 status request_event on page 7 186 status reset on page 7 187 status standard on page 7 188 status system on page 7 190 status system2 on page 7 192 status system3 on page 7 194 statu...

Page 177: ...ge 7 210 trigger timer N passthrough on page 7 211 trigger timer N reset on page 7 211 trigger timer N stimulus on page 7 212 trigger timer N wait on page 7 213 trigger wait on page 7 214 tsplink functions and attributes These functions and attributes allow you to set up and work with a system that is connected with TSP Link tsplink group on page 7 214 tsplink master on page 7 215 tsplink node on ...

Page 178: ...ort on page 7 236 tspnet tsp abortonconnect on page 7 237 tspnet tsp rbtablecopy on page 7 238 tspnet tsp runscript on page 7 239 tspnet write on page 7 240 userstring functions Use the functions in this group to store and retrieve user defined strings in nonvolatile memory These strings are stored as key value pairs You can use the userstring function to store custom instrument specific informati...

Page 179: ...s or generate an error if it was impossible to set the requested values For information on finding instrument drivers on the Keithley website see Obtaining instrument drivers on page 5 20 Instrument driver types There are several different styles of instrument drivers Keithley Instruments provides three different instrument drivers for the Models 707B and 708B a native LabVIEW driver an IVI C driv...

Page 180: ...vers The major problem with VXIPnP drivers was that the API was not specific to the instrument For something as standard as measuring DC Volts on a DMM it would be a good idea if there were a set of standard functions to do this The IVI Foundation http www ivifoundation org defined a set of APIs Class interfaces for the following instruments DMM Function Generator DC Power Supply Scope Switch Spec...

Page 181: ...iver since a DLL only has a flat API entry point scheme unlike COM or NET Any CVI generated fp file can be imported into LabVIEW and LabVIEW will generate a wrapper for the DLL The drawback here is that the driver is dependent on the DLL which is not portable and is therefore Windows specific Obtaining instrument drivers To see what drivers are available for your instrument 1 Go to the Keithley we...

Page 182: ...ver GPIB from a user generated program such as Visual Basic C or C C A computer sends either commands or user generated scripts over GPIB USB or Ethernet Scripts can also be run from the front panel of the Model 707B or 708B Command structure Single ASCII capital letter commands followed by argument if necessary Descriptive word based command and argument structure using modern dot notation format...

Page 183: ...l framework DDC to ICL command equivalencies In many cases DDC commands have a single corresponding ICL equivalent command that performs the same or a similar function In some cases more than one ICL command is needed to provide the same functionality of its equivalent DDC counterpart because of the expanded capabilities and additional flexibility of the TSP scripting environment The following sec...

Page 184: ...ame and any operation that occurs to the pattern such as close or open happens to each channel in the pattern For more information see Channel patterns on page 2 99 Scanning trigger DDC TSP equivalent command Description En No corresponding command Point to present relay setup E0 No corresponding command Point to stored relay setup Lbbbb print scan list Download setups Pn No corresponding command ...

Page 185: ...ut includes the settling time of the specific channel fixed in hardware added to a programmed settling time that could be specified by the user These commands are shown in the table below Matrix ready polarity DDC TSP equivalent command Description B0 No corresponding command Rising edge on matrix ready B1 No corresponding command Falling edge on matrix ready The Model 707B or 708B instrument does...

Page 186: ...ER Set VFD display text display settext Set relay setup data format The Gn DDC command controls the data format of relay setups that are returned when queried with the U2 s command The Model 707B or 708B uses a string format for returning scan list so data formatting is not used Relay setup data format DDC TSP equivalent command Description Gn No corresponding command Data format GPIB EOI hold off...

Page 187: ...me The Model 707A or 708A had the ability to add relay settling time to the system after a channel closes or opens The Model 707B or 708B improves on the settling time and allows you to apply additional settling delay on a per channel basis For more information see channel functions and attributes on page 5 5 Additional channel settling time DDC TSP equivalent command Description Sn channel setdel...

Page 188: ...turns the last key pressed Gets SRQ Mask Reads Digital I O port Error status word This series of commands provides a descriptive list of error codes and error messages until no more errors are present For more information see errorqueue functions and attributes on page 5 10 Error status word DDC TSP equivalent command Description U1 count errorqueue count for x count 0 1 do errorcode message error...

Page 189: ...odeNumber slot slotNumber idn Where nodeNumber is the TSP Link node of the remote system and slotNumber is the slot on the instrument to query For more information see slot X attributes on page 5 15 and tsplink functions and attributes on page 5 16 Card model number DDC TSP equivalent command Description U5 n print slot slotNumber idn Send identification of each card in the instrument Relay test i...

Page 190: ... August 2010 5 29 Termination character sent by instrument The Model 707B or 708B always sends a linefeed ASCII 10 as a termination character after any data This behavior cannot be changed Termination characters DDC TSP equivalent command Description Yn No corresponding command Termination character ...

Page 191: ......

Page 192: ...iently In the instrument the Test Script Processor TSP processes and runs scripts Scripts offer several advantages over sending individual commands from the control computer Scripts are easier to save refine and implement than individual commands The instrument performs faster and more efficiently when processing scripts You can incorporate features such as looping and branching into scripts Scrip...

Page 193: ...vironment you can run and manage them from the front panel of the instrument or from a computer Nonvolatile memory is where information is stored even when the instrument is turned off To save a script when the instrument is turned off you must save it to nonvolatile memory The scripts that are in nonvolatile memory are loaded into the runtime environment when the instrument is turned on Informati...

Page 194: ...y ICL command reference on page 7 8 Lua is a scripting language that is described in Fundamentals of programming for TSP on page 6 15 Commands that cannot be used in scripts While the instrument accepts the following commands you cannot use these commands in scripts Commands that cannot be used in scripts General commands IEEE Std 488 2 common commands abort endflash endscript flash loadscript loa...

Page 195: ...ripts If a script is created with the loadscript or loadandrunscript command with no name defined it is called the anonymous script There can only be one anonymous script in the runtime environment If another anonymous script is loaded into the runtime environment it replaces the existing anonymous script a Named scripts A named script is a script with a unique name You can have as many named scri...

Page 196: ...ows an example of how to load and create a script named test The first command tells the instrument to start collecting the messages for the script named test The last command marks the end of the script When this script is run the message This is a test will be displayed on the instrument and sent to the computer Figure 79 Loadscript and endscript example loadscript test display clear display set...

Page 197: ...ncluded in the script Line numbers are automatically assigned 3 Click Save Script The name is added to the User Scripts list on the left Create a script using the create configuration script feature The create configuration script feature captures the present settings of the instrument Once saved you can use this script to return to that configuration or use it as a starting point to create your o...

Page 198: ... from the User Scripts list and click Run When a script is named it can be accessed using the global variable scriptVar Example Code Output test3 If the script test3 is loaded into the runtime environment the instrument executes test3 Scripts that run automatically The autorun scripts and the autoexec script run automatically when the instrument is turned on Autorun scripts Autorun scripts run aut...

Page 199: ...reate and load a script on page 6 4 If you use the create configuration script feature you can assign the configuration script to be the autoexec script See Save the present configuration on page 2 106 for more information NOTE You need to save the autoexec script to nonvolatile memory to save the script when the instrument is turned off See Save a user script to nonvolatile memory on page 6 9 for...

Page 200: ...storage areas in the instrument The runtime environment is wiped clean when the instrument is turned off The nonvolatile memory remains intact when the instrument is turned off When the instrument is turned on information in nonvolatile memory is loaded into the runtime environment This section describes how to work with the scripts in nonvolatile memory including how to Save a user script to nonv...

Page 201: ...retrieving a script see Create and load a script on page 6 4 for information on re creating the script and loading it back into the instrument NOTE To get a list of scripts that are in nonvolatile memory see script user catalog on page 7 163 Retrieve source code line by line To retrieve the source code line by line use the scriptVar list command The source code for this method includes the loadscr...

Page 202: ...e the name in the TSP Script box and click Save Script 3 Edit the content of the script as needed 4 Click Save Script 5 For the overwrite message click OK Script example Retrieve the content of scripts This set of examples Creates a script that generates an error Retrieves the source of the script using scriptVar source on page 7 167 Retrieves the source of the script using scriptVar list on page ...

Page 203: ...ue next Request the source of scriptVarTest The instrument returns the following Note that the loadscript and endscript commands are not included Example Retrieve the content of the script with scriptVar list Code Description scriptVarTest list loadscript scriptVarTest errorqueue clear closedChannels channel getclose 1F10 if closedChannels nil then channel setforbidden 1F10 else channel open 1F10 ...

Page 204: ...Click Delete There is no confirmation message Example Code Output script delete test8 Delete a user script named test8 from nonvolatile memory 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 NOTE If you are using TSB Embedded do not include the...

Page 205: ...l I O line on which to output trigger myDigioLine display menu Select digital output trigger line 1 2 3 4 5 6 7 8 9 10 Convert user input to a number intMyDigioLine tonumber myDigioLine Prompt user for digital output trigger mode myDigioEdge display menu Select digital output trigger edge mode Rising Falling if myDigioEdge Rising then edgeMode 2 else edgeMode 1 end Prompt user for output trigger p...

Page 206: ...hat can be used with TSP enabled instruments Lua is an efficient language with simple syntax that is easy to learn Lua is also a scripting language which means that scripts are compiled and run when they are sent to the instrument You do not compile them before sending them to the instrument Lua basics This section contains the basics about the Lua programming language to allow you to start adding...

Page 207: ...th three menu items If the second menu item is selected the selection will be given the value Test2 selection display menu Sample Menu Test1 Test2 Test3 print selection Lua reserved words You cannot use the following words for function or variable names and for or break function repeat do if return else in then elseif local true end nil until false not while In addition to the Lua reserved words y...

Page 208: ...igio 5 you cannot access the digio commands until the power to the instrument is turned off and then back on Variables can be one of the following types Variable types and values Variable type Value Notes nil not declared Nil is the type of the value nil whose main property is to be different from any other value usually it represents the absence of a useful value boolean true or false Boolean is ...

Page 209: ...number Example Function Code Output function add_two parameter1 parameter2 return parameter1 parameter2 end print add_two 3 4 type add_two 7 0000000e 00 function Example Table Code Notes and Output atable 1 2 3 4 print atable type atable print atable 1 print atable 4 Defines a table with four numeric elements Note that the table value shown here as a096cd30 will vary table a096cd30 table 1 0000000...

Page 210: ...moved from the runtime environment are overwritten or the instrument is turned off Create functions using the function keyword Functions are created with a message or Lua code in the form myFunction function parameterX functionBody end Where myFunction The name of the function parameterX Parameter values You can have multiple parameters Change the value defined by X for each parameter and use a co...

Page 211: ...of the two numbers passed to it sum diff ratio sum_diff_ratio 2 3 print sum print diff print ratio 5 000000000e 00 1 000000000e 00 6 666666667e 01 Create functions using scripts You can use scripts to define functions Scripts that define a function are like any other script They do not cause any action to be performed on the instrument until they are executed The global variable of the function do...

Page 212: ...tion with a value MyFunction world The response message is Hello world Group commands using the function keyword The following script contains Instrument Control Library ICL commands that display the name of the person that is using the script on the front panel of the instrument It takes one parameter to represent this name When this script is run the function is loaded in memory Once loaded into...

Page 213: ...lse and nil as false and anything else as true The operator not always returns false or true The conjunction operator and returns its first argument if this value is false or nil otherwise and returns its second argument The disjunction operator or returns its first argument if this value is different from nil and false otherwise or returns its second argument Both and and or use shortcut evaluati...

Page 214: ... Example Concatenation Code Output print 2 3 print Hello World 23 Hello World Operator precedence Operator precedence in Lua follows the order below from higher to lower priority Precedence Operator Highest exponentiation not unary concatenation and Lowest or You can use parentheses to change the precedences in an expression The concatenation and exponentiation operators are right associative All ...

Page 215: ... as follows if expression then block elseif expression then block else block end Where expression is Lua code that evaluates to either true or false block consists of one or more Lua statements Example If Code Output if 0 then print Zero is true else print Zero is false end Zero is true Example Comparison Code Output x 1 y 2 if x and y then print Both x and y are true end Both x and y are true Exa...

Page 216: ...nd y is not less than 2 end Output if expression 2 was not false if expression 3 was not false if expression 4 was false x is not equal to 10 and y is not less than 2 Loop control If you need to repeat code execution you can use the Lua while repeat and for control structures To exit a loop you can use the break keyword While loops To use conditional expressions to determine whether to execute or ...

Page 217: ...ody of a repeat statement always executes at least once It stops repeating when the conditions of the until clause are met repeat block until expression Where block consists of one or more Lua statements expression is Lua code that evaluates to either true or false Example Repeat until Code Notes and output list One Two Three Four Five Six print Count elements in list using repeat element 1 repeat...

Page 218: ...e to three 1 000000000e 00 One 2 000000000e 00 Two 3 000000000e 00 Three Counting from one to four in steps of two 1 000000000e 00 One 3 000000000e 00 Three Example Generic for Code days Sunday Monday Tuesday Wednesday Thursday Friday Saturday for i v in ipairs days do print days i i v end Notes and output The generic for statement works by using functions called iterators On each iteration the it...

Page 219: ...k 0 do if numTable k breakValue then print Going to break and k k break end k k 1 end if i 0 then print Break value not found end This example defines a break value breakValue so that the break statement is used to exit the while loop before the value of k reaches 0 Output Going to break and i 3 0000000e 00 Example Break with while statement enclosed by comment delimiters Code Notes local numTable...

Page 220: ...s extensive use of the data type table which is a flexible array like data type Table indices start with 1 Tables can be indexed not only with numbers but with any value except nil Tables can be heterogeneous which means that they can contain values of all types except nil Tables are the sole data structuring mechanism in Lua they may be used to represent ordinary arrays symbol tables sets records...

Page 221: ...rameter it defaults to 0 which forces a garbage collection cycle See Lua memory management on page 6 31 for more information gcinfo Returns the number of kilobytes of dynamic memory that TSP is using and the current garbage collector threshold also in Kbytes See Lua memory management on page 6 31 for more information print e1 e2 Receives any number of arguments and generates a response message usi...

Page 222: ... two numbers to control its garbage collection cycles One number counts how many bytes of dynamic memory Lua is using the other is a threshold When the number of bytes crosses the threshold Lua runs the garbage collector which reclaims the memory of all inaccessible objects The byte counter is adjusted and the threshold is reset to twice the new value of the byte counter String library functions T...

Page 223: ... and backslashes in the string are correctly escaped when written For instance the call string format q a string with quotes and n new line will produce the string a string with quotes and new line The options c d E e f g G i o u X and x all expect a number as argument q and s expect a string This function does not accept string values containing embedded zeros except as arguments to the q option ...

Page 224: ...solute value of m is in the range 0 5 1 or zero when x is zero math ldexp x n Returns m2 e e should be an integer math log x Returns the natural logarithm of x math log10 x Returns the base 10 logarithm of x math max x Returns the maximum value among its arguments math min x Returns the minimum value among its arguments math pi The value of π 3 141592654 math pow x y Returns x y You can also use t...

Page 225: ...ICL commands simple Lua string manipulation NOTE When creating a script using the TSB Embedded you do not need the shell commands loadscript and endscript as shown in the examples below Example User script User script created in TSB Embedded User script created in user s own program loadscript display clear myMessage Hello World for k 1 string len myMessage do x string sub myMessage k k display se...

Page 226: ...createspecifier 1 k 2 print chan1 chan2 scan addimagestep chan1 chan2 end endscript Output 1A01 1A02 1C01 1C02 1E01 1E02 1G01 1G02 Using Test Script Builder TSB Installing the TSB software To install the TSB software 1 Close all programs 2 Place the Test Script Builder Software Suite CD Keithley Instruments part number KTS 850B01 or greater into your CD ROM drive 3 Follow the on screen instruction...

Page 227: ...how scripts are handled in the instrument Scripts are loaded into the runtime environment from nonvolatile memory when you turn the instrument on They are also added to the runtime environment when you load them into the instrument There are several types of scripts in the runtime environment Named scripts Unnamed scripts The anonymous script When a named script is loaded into the runtime environm...

Page 228: ...d script There is no script user scripts table entry for the unnamed script hello Global variables Scripts in the runtime environment display clear display settext This is anonymous print This is anonymous script name source Autorun No anonymous script beepDisable pointer to script named beepDisable beepTwoSec pointer to script named beepTwoSec No Autorun beeper enable 1 beeper beep 2 2400 script ...

Page 229: ... the script name is the name that is added to the script user scripts table For example to set up a two second beep you could send the command beepTwoSec script new beeper enable 1 beeper beep 2 2400 beepTwoSec To run the new script you can send the command beepTwoSec When you add beepTwoSec the global variable and script user script table entries are made to the runtime environment as shown in th...

Page 230: ...me environment as an unnamed script The script new function returns the script You can assign it to a global variable a local variable or ignore the return value A global variable is not automatically created For example if you sent the command hello script new display clear display settext hello A script is created in the runtime environment and a global variable is created that references the sc...

Page 231: ...e script that was in the runtime environment as beepTwoSec is changed to an unnamed script the name attribute is set to an empty string A new script named beepTwoSec is added to the runtime environment In this example you can access the new script by sending either of the following commands beepTwoSec1200 script user scripts beepTwoSec To access the unnamed script you can send the command beepTwoS...

Page 232: ...ange the name of a script use the command scriptVar name renamedScript where scriptVar is the global variable name and renamedScript is the new name of the user script that was referenced by the scriptVar global variable After changing the name you need to save the original script to save the change to the name attribute For example beepTwoSec name beep2sec beepTwoSec save beep2sec can be run usin...

Page 233: ...ge name of existing script to create the autoexec script Code Notes test2 name autoexec test2 save Changes name of the script named test2 to be autoexec The autoexec script runs automatically when the instrument is turned on It runs after all the scripts have loaded and any scripts marked as autorun have run NOTE You can also use the script new and the scriptVar source attribute commands to create...

Page 234: ...lobal variables that refer to the script to nil or assign the variables a different value For example to remove the script beepTwoSec from the runtime environment send the following code beepTwoSec nil 2 Remove the script from the script user scripts table Set the name attribute to an empty string This makes the script nameless but does not make the script become the anonymous script For example t...

Page 235: ...ge 7 135 and memory used on page 7 137 for more detail on using these functions If the amount of memory used is over 95 or if you receive out of memory errors you should reduce the amount of memory that is used Some suggestions for increasing the available memory Turn the instrument off and on This deletes scripts that have not been saved and reloads only scripts that have been stored in nonvolati...

Page 236: ... system You can use TSP Link to expand your test system to include up to 64 addressable TSP Link enabled instruments 32 instruments at a time The expanded system can be stand alone or computer based Stand alone system You can run a script from the front panel of any instrument node connected to the system When a script is run all nodes in the system go into remote operation REM indicators turn on ...

Page 237: ...able These are listed as follows model The product model number string of the node revision The product revision string of the node serialno The product serial number string of the node There is also an entry for each logical instrument on the node see Logical instruments on page 7 3 It is not necessary to know the node number of the node running a script The variable localnode is an alias for the...

Page 238: ...7B rear panel TSP Link connection SERIAL NO LAN TSP Link R LINE FUSE SLOWBLOW LINE RATING 2 0A 250V 100 240VAC 50 60Hz 210VA MAX TSP Link connections CAUTION REFER TO SAFETY INSTRUCTIONS IN MANUAL BEFORE CONNECTING TO EXTERNAL HAZARDOUS VOLTAGES 42V Initialization Before a TSP Link system can be used it must be initialized For initialization to succeed each instrument in a TSP Link system must be ...

Page 239: ...ink node attribute as follows print tsplink node The above print command will output the node number For example if the node number is 1 the value 1 000000e 00 will be displayed Remote programming The tsplink node attribute is used to set the node number for an instrument tsplink node N Where N 1 to 64 The node number of an instrument can be determined by reading the tsplink node attribute as foll...

Page 240: ...not provided in the reset call One or more of the units in the system is not powered on If the actual number of nodes is less than the expected number The programming example below illustrates a TSP Link reset operation and displays its state tsplink reset print tsplink state If the reset is successful online will be returned to indicate that communications with all nodes have been established Int...

Page 241: ... 5 9 and Hardware trigger modes on page 3 12 for more detailed information Using groups to manage nodes on TSP Link network The primary purpose of a group is to assign each node to run different test scripts at the same time in parallel Each node must belong to a group a group can consist of one or more members Group numbers are not assigned automatically you must use the Instrument Control Librar...

Page 242: ...r to wait for all nodes assigned to the same group number Assigning groups Group numbers can range from 0 zero to 64 The default group number is 0 You can change the group number at any time Use the following code to dynamically assign nodes to a group Note the following Each time the node powers off the group number for that node changes to 0 Replace N with the node number N represents the node n...

Page 243: ... the node number that runs the test script Replace N with the node number To set the global variable on Node N equal to 2 5 node N execute setpoint 2 5 The following code is an example of how to run a test script on a remote node NOTE For this example scriptVar is defined on the local node To run scriptVar on Node N node N execute scriptVar source The following code demonstrates how to run a test ...

Page 244: ...p to complete all overlapped operations The following code is an example of how to issue the waitcomplete command Waits for all nodes in a local group to complete all overlapped operations waitcomplete Using the data queue for real time communication You cannot access the reading buffers or global variables from any node in a remote group while a node in that group is performing an overlapped oper...

Page 245: ...ecute scriptName name script new dataqueue next scriptName name Removing stale values from the reading buffer The node that acquires the data stores the data for the reading buffer To optimize data access all nodes can cache data from the node that stores the reading buffer data Running Lua code remotely can return stale values from the reading buffer to the cached data If the values in the readin...

Page 246: ...B or 708B to control a remote device through the LAN port Using TSP Net methods you can transfer string data to and from a remote device transfer and format data into Lua variables and clear input buffers TSP Net is only accessible using ICL commands from a remote command interface and is not available from the front panel You can use TSP Net to communicate with any Ethernet enabled device However...

Page 247: ...ote device is TSP enabled and enables TSP prompts and error handling If the Model 707B or 708B is not able to make a connection to the remote device it generates a timeout error Use tspnet timeout to set the timeout value The default timeout value is 20 seconds NOTE Set tspnet tsp abortonconnect to 1 to abort any script currently running on a remote TSP device 4 Use tspnet write or tspnet execute ...

Page 248: ...ut 5 Establish connection to another device with IP address 192 168 1 51 at port 1394 id_instr tspnet connect 192 168 1 51 1394 rst r n Print the device ID from connect string print ID is id_instr Set termination character to CRLF You must do this on a per connection basis after connection has been made tspnet termination id_instr tspnet TERM_CRLF Send the command string to the connected device ts...

Page 249: ...buffer not found within device Digital I O Triggering TSP Link connections have three TSP synchronization lines that are available to each device on the TSP Link network You can use any one of the TSP synchronization lines to perform hardware triggering between devices on the TSP Link network Refer to Hardware trigger modes on page 3 12 for more details These advantages make using TSP Link to cont...

Page 250: ... 230 tspnet execute on page 7 230 tspnet idn on page 7 232 tspnet idn on page 7 232 tspnet read on page 7 232 tspnet readavailable on page 7 233 tspnet reset on page 7 234 tspnet termination on page 7 235 tspnet timeout on page 7 236 tspnet write on page 7 240 Instrument Control Library TSP Enabled device control The following Instrument Control Library ICL commands provide TSP enabled device cont...

Page 251: ...ead id n print string format from computer s tspnet read id n print string format from computer s tspnet read id n print string format from computer s tspnet read id n end function test_tspnet tspnet reset Connect to a computer via telnet telnetConnect 192 0 2 1 my_username my_password Read the prompt back from the computer print string format from computer s tspnet read id n Change directory and ...

Page 252: ...s 707B and 708B Switching Matrix Reference Manual Section 6 Instrument programming 707B 901 01 Rev A August 2010 6 61 print string format from computer s tspnet read id s tspnet disconnect id end test_tspnet ...

Page 253: ......

Page 254: ...nd placeholder characters N M X Y to the instrument They are used in this documentation for notational convenience only The placeholder characters used in this documentation N is typically used with triggers M is typically used with trigger blender functions to indicate the stimulus X is typically used to indicate the slot Y is typically used to indicate a limit number The function to assert an ou...

Page 255: ...are equivalent digio writebit 3 0 digio writebit 3 0 Function parameters All functions are required to have a set of parentheses immediately following the function You can specify the function parameters by placing them between the parentheses Note that the parentheses are required even when there are no parameters specified The following function specifies all overlapped commands in the nodes in ...

Page 256: ... display eventlog errorqueue format gpib lan scan slot status timer trigger tsplink NOTE Do not create variable names that are the same as names of logical instruments Doing so will result in the loss of use of the logical instrument and its associated ICLs For example if you send the command digio 5 you cannot access the digio ICL commands until you cycle the power to the instrument Time and date...

Page 257: ...ows an example of an instrument control command description Figure 87 Example instrument control library description Each instrument control command listing is divided into five major categories of information about the command Command name and standard parameters table Usage Details Example Also see The content of each of these categories is described in the following topics Command name and stan...

Page 258: ... characteristics of an instrument feature or operation by defining a value For example a characteristic of a TSP enabled instrument is the model number localnode model another characteristic is the number of errors in the error queue errorqueue count For many attributes the defined value is a number or predefined constant Attributes can be read only R read write RW or write only W and can be used ...

Page 259: ...nts the default value or constant for the command If you read a value a number is returned The returned numbers are defined in the Usage or Details sections of the command description Command usage The Usage section of the instrument control command listing shows how to properly structure the command Each line in the Usage section is a separate variation of the command usage all possible command u...

Page 260: ...Start text display gettext embellished row columnStart columnEnd 3 Parameter value options Displayed in order from left to right as they are presented in the Usage example Command details This section lists additional information you need to know to successfully use the instrument control command Figure 90 Details section of command listing Example section The Example section of the instrument con...

Page 261: ...ence beeper beep This function generates an audible tone Type TSP Link accessible Affected by Where saved Default value Function Yes Usage beeper beep duration frequency duration The amount of time to play the tone in seconds the allowable range is 0 1 s to 100 s frequency The frequency of the tone in Hertz Hz Details The beeper will not sound if it is disabled It can be disabled or enabled with b...

Page 262: ...sabling the beeper also disables front panel key clicks Example beeper enable beeper ON beeper beep 2 2400 Enables the beeper and generates a two second 2400 Hz tone Also see beeper beep bit bitand This function performs a bitwise logical AND operation on two numbers Type TSP Link accessible Affected by Where saved Default value Function No Usage result bit bitand value1 value2 result Result of th...

Page 263: ... two numbers Type TSP Link accessible Affected by Where saved Default value Function No Usage result bit bitor value1 value2 result Result of the logical OR operation value1 Operand for the logical OR operation value2 Operand for the logical OR operation Details Any fractional parts of value1 and value2 are truncated to make them integers The returned result is also an integer Example testResult b...

Page 264: ...s of value1 and value2 are truncated to make them integers The returned result is also an integer Example testResult bit bitxor 10 9 print testResult Performs a logical XOR operation on decimal 10 binary 1010 with decimal 9 binary 1001 which returns a value of decimal 3 binary 0011 Output 3 0000000e 00 Also see bit bitand on page 7 9 bit bitor on page 7 10 Logical operators on page 6 22 bit clear ...

Page 265: ... operators on page 6 22 bit get This function retrieves the weighted value of a bit at a specified index position Type TSP Link accessible Affected by Where saved Default value Function No Usage result bit get value index result Result of the bit manipulation value Specified number index One based bit position within value to get 1 to 32 Details This function returns the value of the bit in value ...

Page 266: ...n value to get 1 to 32 width The number of bits to include in the field 1 to 32 Details A field of bits is a contiguous group of bits This function retrieves a field of bits from value starting at index The index position is the least significant bit of the retrieved field The number of bits to return is specified by width The least significant bit value is at index position 1 the most significant...

Page 267: ...eturns result which is value with the indexed bit set The index must be between 1 and 32 The least significant bit value is at index position 1 the most significant bit is at index position 32 Any fractional part of value is truncated to make it an integer Example myResult bit set 8 3 print myResult The binary equivalent of decimal 8 is 1000 If the bit at index position 3 is set to 1 the returned ...

Page 268: ...t of value The width bits starting at index are set to fieldValue The least significant bit value is at index position 1 the most significant bit is at index position 32 Before setting the field of bits any fractional parts of value and fieldValue are truncated to form integers If fieldValue is wider than width the most significant bits of the fieldValue that exceed the width are truncated For exa...

Page 269: ...ils This function returns result which is the result of the tested bit The least significant bit value is at index position 1 the most significant bit is at index position 32 If the indexed bit for value is 0 result is false If the bit of value at index is 1 the returned value is true If index is bigger than the number of bits in value the result is false Example myResult bit test 10 4 print myRes...

Page 270: ...urns result which is the result of toggling the bit index in value Any fractional part of value is truncated to make it an integer The returned decimal value is also an integer The least significant bit value is at index position 1 the most significant bit is at index position 32 The indexed bit for value is toggled from 0 to 1 or 1 to 0 Example myResult bit toggle 10 3 print myResult The binary e...

Page 271: ... or 1 for Model 708B Channel ranges or individual channels This function allows all items contained in the channelList parameter to be closed removes the forbidden to close attribute that can be applied to a channel using channel setforbidden Command processing will stop as soon as an error is detected If an error is found the channels are not cleared from being forbidden to close Example channel ...

Page 272: ...tion include Close the specified items in channelList Incur the settling time and any user specified delay An error is generated if The parameter string contains slotX where X is 1 to 6 or allslots A forbidden item is specified Specified channel does not support being closed Once an error is detected the command stops processing and no channels are closed Example channel open allslots channel patt...

Page 273: ... switch channels close When switch channels are both opened and closed this command executes not less than the addition of both the open and close settle times of the indicated switch channels When the connection rule is set to channel MAKE_BEFORE_BREAK the instrument ensures that all switch channels close before any switch channels open This behavior should be applied with caution because it will...

Page 274: ...ternal protection is provided Example channel connectrule channel BREAK_BEFORE_MAKE Sets the connect rule in the instrument to channel BREAK_BEFORE_MAKE Also see channel connectsequential on page 7 21 channel exclusiveclose on page 7 24 channel exclusiveslotclose on page 7 25 scan background on page 7 144 scan execute on page 7 147 channel connectsequential This attribute controls whether or not c...

Page 275: ...xample if you close three channels and each takes 4 ms to closej assuming no additional user delay times with sequential on it will take 12 ms With sequential off it may be 4 8 or 12 ms depending on whether or not the card can close multiple channels at once The order in which channels are opened or closed is not guaranteed with sequential off The sequential setting affects all channels in the ins...

Page 276: ... letters to numbers A 1 B 2 and so on column Specifies the column number to use Details The arguments are dependent upon the card type in the specified slot This command can only create valid channel descriptors if an illegal argument is sent for the type of card in the specified slot an error is generated Example 1 cs channel createspecifier 1 1 1 print cs Creates a channel descriptor for Row 1 c...

Page 277: ...de Opens previously closed channels if they are no longer specified for closure and then closes the channels in channelList Incur settling and user specified delay times depending on the connection rules If the channelList parameter is an empty string or a string of spaces all channels that are closed are opened Therefore when channels are closed sending channel exclusiveclose is equivalent to cha...

Page 278: ...nnel exclusiveslotclose This function exclusively closes the specified channels and channel patterns on the defined slot Type TSP Link accessible Affected by Where saved Default value Function Yes Usage channel exclusiveslotclose channelList channelList A string that lists the channels and channel patterns to exclusively close on the card in an associated slot Details This command allows you to bu...

Page 279: ...for Model 707B or 1 for Model 708B or allslots A forbidden item is specified Once an error is detected the command stops processing Example channel open allslots channel close 1A01 2A01 3A01 4A01 5A01 6A01 channel exclusiveslotclose 3A03 print channel getclose allslots Open all channels on all slots Close row A column 1 channels on all slots Open row A column 1 on slot 3 and close row A column 3 o...

Page 280: ... slotX where X equals 1 to 6 for Model 707B or 1 for Model 708B Channel ranges individual channels or channel patterns An error message is generated if an empty parameter string is specified or the scope of the channel list specified contains no valid channels for example a channel list equaling slotX or allslots If nothing is closed within the specified scope a nil response is returned Example 1 ...

Page 281: ...use channel pattern getimage with the pattern name to see the channel order and the channels to which the close counts pertain When the channelList parameter for this function is slotX the response first lists the channels starting from lowest to highest from slot 1 to slot 6 Because each slot is processed completely before going to the next all slot 1 channels are listed before slot 2 channels Th...

Page 282: ... equals 1 to 6 for Model 707B or 1 for Model 708B or allslots A command after closing the state of channels incurs the delay time indicated in the response for a channel before it completes However the internal settling time must elapse before the user delay is incurred Therefore the sequence is 1 Command is processed 2 Channel closes 3 Settling time is incurred 4 User delay is incurred 5 Command ...

Page 283: ...meter that are forbidden to close Type TSP Link accessible Affected by Where saved Default value Function Yes System reset Channel reset Create configuration script Permitted to close Usage forbiddenList channel getforbidden channelList forbiddenList Comma delimited string listing channels that are forbidden to close in the channel list channelList A string listing the channels and channel pattern...

Page 284: ...hannel reset Create configuration script slot row column identifier Usage label channel getlabel channelList label A string listing the comma delimited labels for items in channelList channelList A string listing the channels to query for the label associated with them Details The channelList parameter can contain more than one channel If it does a comma delimits the labels for the channels The re...

Page 285: ...sts the comma delimited labels for the items in channelList channelList A string that lists the channels to query for the labels associated with them Details The parameter channelList can contain more than one channel Use a comma to delimit the labels for the channels The return string label lists the labels in the same order that the channels are specified You cannot specify a channel pattern The...

Page 286: ...d with them Details The parameter channelList can contain more than one channel If it does use a comma to delimit the labels for the channel rows The return string label lists the labels in the same order that the channels are specified The channelList parameter can contain slotX where X equals 1 to 6 for Model 707B or 1 for Model 708B or allslots It can also contain a label but it cannot contain ...

Page 287: ...as occurred since the last reset command or power cycle Unlatched indicators mean that the condition has occurred when the channel getstate command was issued Although the channel getstate command returns a string representing a number this can be easily changed to a number and then compared to one of the provided Lua constants The only state information is an indicator of relay state channel IND_...

Page 288: ... channel type is defined by the physical hardware of the card on which the channel exists The only valid channel type for the Models 707B and 708B is channel TYPE_SWITCH or 1 Example print channel gettype 1A01 Queries the channel type of Row 1 Column 1 in Slot 1 Also see None channel open This function opens the specified channels and channel patterns Type TSP Link accessible Affected by Where sav...

Page 289: ... 2 channel open slot3 slot5 Opens all channels on Slots 3 and 5 Example 3 channel open allslots Opens all channels on all slots Also see channel close on page 7 19 channel exclusiveclose on page 7 24 channel close on page 7 19 channel exclusiveclose on page 7 24 channel exclusiveslotclose on page 7 25 channel getclose on page 7 27 channel getdelay on page 7 29 channel pattern getimage on page 7 38...

Page 290: ...tterns in the runtime environment The entries that are returned are listed in random order Example channel pattern setimage 1A01 1A02 patternA channel pattern setimage 1B01 1B02 patternB channel pattern setimage 1C01 1C02 patternC for name in channel pattern catalog do print name channel pattern getimage name channel pattern delete name end This example prints the names and items associated with a...

Page 291: ...annel pattern setimage on page 7 39 channel pattern snapshot on page 7 41 channel pattern getimage This function queries a channel pattern for associated channels Type TSP Link accessible Affected by Where saved Default value Function Yes System reset Channel reset Create configuration script Not applicable Usage channelList channel pattern getimage name channelList A string specifying a list of c...

Page 292: ... the specified name Type TSP Link accessible Affected by Where saved Default value Function Yes System reset Channel reset Create configuration script Not applicable Usage channel pattern setimage channelList name channelList A string listing the channels and channel patterns to use when creating the new channel pattern name A string representing the name to associate with the new channel pattern ...

Page 293: ...xamples of valid names Channels Chans chans Path1 Path20 path_3 Examples of invalid names 1path invalid because it starts with a number my chans invalid because it contains a space My chans invalid because it contains a comma Path1 10 invalid because it contains a colon An error is generated if The name parameter already exists as a label Any channel is forbidden to close Insufficient memory exist...

Page 294: ...lete on page 7 38 channel pattern getimage on page 7 38 channel pattern snapshot on page 7 41 channel pattern snapshot This function creates a channel pattern Type TSP Link accessible Affected by Where saved Default value Function Yes System reset Channel reset Create configuration script Not applicable Usage channel pattern snapshot name name A string representing the name to associate with the p...

Page 295: ...igcript command is executed Use the created script to restore them NOTE Channel patterns are lost when power is cycled Channel patterns are stored when the createsconfigcript command is executed Use the created script to restore them See channel pattern setimage on page 7 39 for valid name examples Example channel pattern snapshot voltagePath Creates a pattern named voltagePath that contains the p...

Page 296: ...If the channel is forbidden to close it is cleared from being forbidden to close If the channels are used in channel patterns the channel patterns that contain the channels are deleted Using this function to reset a channel involved in scanning invalidates the existing scan list The list has to be recreated before scanning again The rest of the settings are unaffected To reset the entire system to...

Page 297: ...the delay is 10 μs However check the documentation for your card to verify To see if the delay value was modified after setting use the channel getdelay command to query Channel patterns get their delay from the channels that comprise the pattern Therefore specify the delay for a pattern through the channels A pattern incurs the longest delay of all channels comprising that pattern An error messag...

Page 298: ... affected and may include allslots or slotX where X equals 1 to 6 for Model 707B or 1 for Model 708B Channel ranges or individual channels This function prevents all items contained in the channel list parameter from closing applies the forbidden to close attribute to channels specified To remove the forbidden to close attribute use channel clearforbidden If a channel that is being set to forbidde...

Page 299: ...one channel from patternA and patternB then print the catalog again Only patternC should remain Assuming no existing channel patterns the output is patternC 1C01 1C02 patternA 1A01 1A02 patternB 1B01 1B02 patternC 1C01 1C02 Also see channel clearforbidden on page 7 18 channel getforbidden on page 7 30 channel setlabel This function sets the label associated with a channel Type TSP Link accessible ...

Page 300: ...tern The label does not persist through a power cycle Example 1 channel setlabel 1A01 start channel close start print channel getclose allslots Sets the label for channel row 1 and column 01 on slot 1 to start Output 1A01 Example 2 channel setlabel 1A01 Clears the label for channel row 1 and column 01 slot 1 back to 1A01 Example 3 channel setlabel 1A01 Also clears the label for channel row 1 and c...

Page 301: ...e full label is displayed NOTE Since a column label is common to all channels in that column you only need to assign the column label to one channel Example 1 channel setlabelrow 1B01 SMU2 channel setlabelcolumn 1B02 DUT2 channel close SMU2 DUT2 print channel getclose allslots Sets the label for the slot 1 row 2 to SMU2 and slot 1 column 2 to DUT2 Use the labels to close a channel Output 1B02 Exam...

Page 302: ...w and column label parameters must be unique In addition they cannot be the same as the name of a channel pattern You can only set labels for slots and channels that are installed in the instrument After defining a row label you can use it to specify a channel instead of the default channel designation On the crosspoint display the first four characters of the label are displayed On the bottom dis...

Page 303: ...eateconfigscript This function captures the present settings of the instrument Type TSP Link accessible Affected by Where saved Default value Function Yes Usage createconfigscript name name The name of the script that will be created Details If name is set to autoexec the autoexec script in the instrument will be replaced by the new configuration script If the name is set to the name of an existin...

Page 304: ...ata queue is not full The dataqueue add function returns false If the timeout expires before space is available in the data queue If the data queue is full and a timeout value is not specified If the value is a table a duplicate of the table and any subtables is made The duplicate table does not contain any references to the original table or to any subtables Example dataqueue clear dataqueue add ...

Page 305: ...ITY while dataqueue count MaxCount do dataqueue add 1 end print There are dataqueue count items in the data queue Add items to the data queue until it is at capacity Output There are 128 items in the data queue Also see dataqueue add on page 7 51 dataqueue clear on page 7 52 dataqueue count on page 7 53 dataqueue next on page 7 54 dataqueue clear This function clears the data queue Type TSP Link a...

Page 306: ...e contains the number of items in the data queue Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Power off dataqueue add dataqueue clear dataqueue next Not saved Not applicable Usage count dataqueue count count The number of items in the data queue Details The count gets updated as entries are added and read from the data queue It is also updated when the dataqueue i...

Page 307: ...e timeout expires the return value is nil The entries in the data queue are removed in first in first out FIFO order If the value is a table a duplicate of the original table and any subtables is made The duplicate table does not contain any references to the original table or to any subtables Example dataqueue clear for i 1 10 do dataqueue add i end print There are dataqueue count items in the da...

Page 308: ...mmands for at least the specified number of seconds and fractional seconds However the processing time may cause the system to delay 5 μs to 10 μs typical more than the requested delay Example 1 beeper beep 0 5 2400 delay 0 250 beeper beep 0 5 2400 Emit a double beep at 2400 Hz The sequence is 0 5 s on 0 25 s off 0 5 s on Example 2 dataqueue clear dataqueue add 35 timer reset delay 0 5 dt timer me...

Page 309: ...igio writeport on page 7 65 digio readport This function reads the digital I O port Type TSP Link accessible Affected by Where saved Default value Function Yes Usage data digio readport data The present value of the input lines on the digital I O port Details The binary equivalent of the returned value indicates the value of the input lines on the I O port The least significant bit 0 of the binary...

Page 310: ...sewidth determines how long the trigger is asserted Example digio trigger 2 assert Asserts a trigger on digital I O line 2 Also see digio trigger N pulsewidth on page 7 60 digio trigger N clear This function clears a trigger event on a digital I O line Type TSP Link accessible Affected by Where saved Default value Function Yes Usage digio trigger N clear N Digital I O trigger line 1 to 14 Details ...

Page 311: ... have another trigger object respond to trigger events generated by the trigger line set the other object s stimulus attribute to the value of this constant Example 1 digio trigger 5 stimulus digio trigger 3 EVENT_ID Uses a trigger event on digital I O trigger line 3 to be the stimulus for digital I O trigger Line 5 Example 2 scan trigger arm stimulus digio trigger 3 EVENT_ID Uses a trigger event ...

Page 312: ...s the falling edge input triggers and automatically latches and drives the trigger line low Asserting the output trigger releases the latched line digio TRIG_SYNCHRONOUS or 5 Detects the falling edge input triggers and automatically latches and drives the trigger line low Asserts a TTL low pulse as an output trigger digio TRIG_SYNCHRONOUSM or 6 Detects rising edge triggers as input Asserts a TTL l...

Page 313: ... line 1 to 14 Details If this is true an event was ignored because the event detector was already in the detected state when the event occurred This is an indication of the state of the event detector built into the line itself It does not indicate if an overrun occurred in any other part of the trigger model or in any other detector that is monitoring the event Example overrun digio trigger 1 ove...

Page 314: ...lso see digio trigger N assert on page 7 57 digio trigger N reset on page 7 62 digio trigger N release on page 7 61 digio trigger N release This function releases an indefinite length or latched trigger Type TSP Link accessible Affected by Where saved Default value Function Yes Usage digio trigger N release N Digital I O trigger line 1 to 14 Details Releases a trigger that was asserted with an ind...

Page 315: ...gger N pulsewidth on page 7 60 digio trigger N stimulus on page 7 62 digio trigger N stimulus This attribute selects the event that causes a trigger to be asserted on the digital output line Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes System reset Digital I O trigger reset Create configuration script 0 Usage triggerStimulus digio trigger N stimulus digio trigger...

Page 316: ... the TSP Link trigger line lan trigger N EVENT_ID A LAN trigger event has occurred scan trigger EVENT_SCAN_READY Scan Ready Event scan trigger EVENT_SCAN_START Scan Start Event scan trigger EVENT_CHANNEL_READY Channel Ready Event scan trigger EVENT_SCAN_COMP Scan Complete Event scan trigger EVENT_IDLE Idle Event NOTE Use the name of the trigger event ID to set the stimulus value rather than the nu...

Page 317: ...time digio trigger N wait or digio trigger N clear was called this function returns a value immediately After waiting for a trigger with this function the event detector is automatically reset and re armed This is true regardless of the number of events detected Example triggered digio trigger 4 wait 3 print triggered Waits up to three seconds for a trigger to be detected on trigger Line 4 then re...

Page 318: ... page 7 58 digio writeport on page 7 65 digio writeprotect on page 7 66 digio writeport This function writes to all digital I O lines Type TSP Link accessible Affected by Where saved Default value Function Yes Usage digio writeport data data Value to write to the port 0 to 16383 Details The binary representation of data indicates the output pattern to be written to the I O port For example a data ...

Page 319: ...Affected by Where saved Default value Attribute RW Yes System reset Create configuration script 0 Usage mask digio writeprotect digio writeprotect mask mask Sets the value that specifies the bit pattern for write protect Details Bits that are set to one cause the corresponding line to be write protected The binary equivalent of mask indicates the mask to be set for the I O port For example a mask ...

Page 320: ...ailable Also see display setcursor on page 7 81 display settext on page 7 82 display getannunciators This function reads the annunciators indicators that are presently turned on Type TSP Link accessible Affected by Where saved Default value Function Yes Usage annunciators display getannunciators annunciators The bitmasked value showing which indicators are turned on Details This function returns a...

Page 321: ...Annunciators display getannunciators print myAnnunciators rem bit bitand myAnnunciators 1024 if rem 0 then print REM is on else print REM is off end Output 1 2800000e 03 REM is on REM indicator is turned on Also see bit bitand on page 7 9 display getcursor This function reads the present position of the cursor on the front panel display Type TSP Link accessible Affected by Where saved Default valu...

Page 322: ... column 3 with an invisible cursor 1 000000000e 00 3 000000000e 00 0 000000000e 00 Also see display gettext on page 7 70 display screen on page 7 80 display setcursor on page 7 81 display settext on page 7 82 display getlastkey This function retrieves the key code for the last pressed key Type TSP Link accessible Affected by Where saved Default value Function Yes Usage keyCode display getlastkey k...

Page 323: ...lay WHEEL_ENTER 79 display KEY_OPENALL 107 display WHEEL_LEFT 80 display KEY_CONFIG 114 display WHEEL_RIGHT NOTE When using this function use built in constants such as display KEY_STEP rather than the numeric value of 86 This will allow for better forward compatibility with firmware revisions Example key display getlastkey print key On the front panel press the MENU key and then send the code to ...

Page 324: ...ow 1 the valid column numbers are 1 to 20 for row 2 the valid column numbers are 1 to 32 if nothing is selected 1 is used columnEnd Selects the last column from which to read text for row 1 the valid column numbers are 1 to 20 for row 2 the valid column numbers are 1 to 32 the default is 20 for row 1 and 32 for row 2 Details Sending the command without any parameters returns both lines of the disp...

Page 325: ...s example shows how to retrieve the display text in multiple ways The output is ABCDEFGHIJKLMNOPQRST Nabcdefghijklmnopqrstuvwxyz123456 RABCDEFGHIJ DKLMNOPQRST N Rabcdefghijklm Bnopqrstuvwxyz F123456 abcdefghijklmnopqrstuvwxyz123456 Rijklm Bnopqrstuvwxyz F123456 ij Example 2 display clear display settext User Screen text display gettext print text This returns all text in both lines of the display ...

Page 326: ...e a decimal point appear in the value 0 00 default is the value shown when the value is first displayed minimum and maximum can be used to limit the values that can be entered When is selected for format the minimum limit must be more than or equal to zero When limits are used the operator cannot enter values above or below these limits After the instrument is turned on the first time you use a di...

Page 327: ...t is run from the User menu memory Determines if code is saved to nonvolatile memory 0 or display DONT_SAVE Does not save the code to nonvolatile memory 1 or display SAVE Saves the code to nonvolatile memory default Details After adding code to the load menu you can run it from the front panel by pressing the LOAD key then selecting User to select from the available code to load After loading the ...

Page 328: ...volatile memory Now assume you want to add a test named Test to the USER TESTS menu You want the test to run the function named DUT1 and sound the beeper This example adds Test to the menu defines the code and then saves the displayName and code in nonvolatile memory When Test is run from the front panel USER TESTS menu the function named DUT1 executes and the beeper beeps for two seconds Now assu...

Page 329: ...he loop displayName and code will take on the values in the User menu The list that is returned is in random order Example for myNames listCode in display loadmenu catalog do print myNames listCode end Output Test DUT1 beeper beep 2 500 Part1 testpart Part1 5 0 Test9 Test9 Also see display loadmenu add on page 7 74 display loadmenu delete on page 7 76 display loadmenu delete This function removes ...

Page 330: ...SP Link accessible Affected by Where saved Default value Attribute RW Yes Power cycle Not saved display UNLOCK Usage lockout display locallockout display locallockout lockout lockout display UNLOCK or 0 Unlocks EXIT key display LOCK or 1 Locks out EXIT key Details Set display locallockout to display LOCK to prevent the user from interrupting remote operation by pressing the EXIT LOCAL key Set this...

Page 331: ...n nil The script can be aborted by calling the exit function when nil is returned Example selection display menu Menu Test1 Test2 Test3 print selection Displays a menu with three menu items If the second menu item is selected selection is given the value Test2 Output Test2 Also see None display prompt This function prompts the user to enter a parameter from the front panel of the instrument Type T...

Page 332: ...e minimum limit must be more than or equal to zero When limits are used the operator cannot enter values above or below these limits After the instrument is turned on the first time you use a display command to write to the display the message USER SCREEN is cleared After the first write you need to use display clear to clear the message The input value is limited to 1e37 After sending this comman...

Page 333: ...PLAY key on the front panel The text for the display screen is set by display settext Read this attribute to determine which of the available display screens was last selected NOTE This does not support the CLOSED CHANNELS option that is available from the DISPLAY key Example display screen display USER Selects the user display Also see display settext on page 7 82 display sendkey This function se...

Page 334: ...lay WHEEL_LEFT 80 display KEY_CONFIG 114 display WHEEL_RIGHT NOTE When using this function send built in constants such as display KEY_STEP rather than the numeric value of 86 This will allow for better forward compatibility with firmware revisions Example display sendkey display KEY_RUN Simulates pressing the RUN key Also see Front panel keys on page 2 18 display setcursor This function sets the ...

Page 335: ... to Column 20 for Row 1 or 32 for Row 2 An out of range parameter for style sets it to 0 invisible A blinking cursor is only visible when it is positioned over displayed text It cannot be seen when positioned over a space character Example display clear display setcursor 1 8 display settext Hello display setcursor 2 14 display settext World This example displays the message Hello World on the inst...

Page 336: ... display message Top line text does not wrap to the bottom line of the display automatically Any text that does not fit on the current line is truncated If the text is truncated the cursor is left at the end of the line The text remains on the display until replaced or cleared The following character codes can be also be included in the text string Display character codes Character Code Descriptio...

Page 337: ...ffected by Where saved Default value Function Yes Usage keyCode display waitkey keyCode See Details for more information Details After you send this function script execution pauses until a front panel action for example pressing a key or the navigation wheel or turning the navigation wheel After the action the keyCode value for that action is returned If the EXIT LOCAL key is pressed while this f...

Page 338: ...4 display WHEEL_RIGHT NOTE When using this function send built in constants such as display KEY_STEP rather than the numeric value of 86 This will allow for better forward compatibility with firmware revisions Example key display waitkey print key Pause script execution until the operator presses a key or the navigation wheel or rotates the navigation wheel If the output is 8 600000000e 01 It indi...

Page 339: ... are four entries in the error queue 4 0000000e 00 Also see errorqueue clear on page 7 85 errorqueue next on page 7 86 errorqueue next This function reads the oldest entry from the error queue and removes it from the queue Type TSP Link accessible Affected by Where saved Default value Function Yes Usage errorCode message severity errorNode errorqueue next errorCode The error code number for the en...

Page 340: ...ated Example errorcode message errorqueue next print errorcode message Reads the oldest entry in the error queue The output below indicates that the queue is empty Output 0 0000000e 00 Queue Is Empty Also see errorqueue clear on page 7 85 errorqueue count on page 7 86 Error and status messages on page 8 1 Status model on page C 1 eventlog all This function returns all entries from the event log as...

Page 341: ...92037159 052777000 0 0x0 Also see eventlog clear on page 7 88 eventlog count on page 7 89 eventlog enable on page 7 90 eventlog next on page 7 90 eventlog overwritemethod on page 7 91 eventlog clear This function removes all entries from the event log Type TSP Link accessible Affected by Where saved Default value Function Yes Usage eventlog clear Also see eventlog all on page 7 87 eventlog count o...

Page 342: ...e Attribute R Yes System reset Clearing event log Reading event log Not applicable Not applicable Usage N eventlog count N The number of events in the event log Example print eventlog count Display the present number of events contained the Model 707B or 708B event log Output looks similar to 3 0000000e000 Also see eventlog all on page 7 87 eventlog clear on page 7 88 eventlog enable on page 7 90 ...

Page 343: ...entlog DISABLE or 0 no new events are added to the event log You can however read and remove existing events When the event log is enabled new events are logged Example print eventlog enable eventlog enable eventlog DISABLE print eventlog enable Displays the present status of the Model 707B or 708B event log Output 1 0000000e00 0 0000000e00 Also see eventlog all on page 7 87 eventlog clear on page...

Page 344: ... Oct 2009 LAN6 192 168 1 102 LXI 0 1192037135 no time 0 0x0 Example 3 print eventlog next Output 17 28 31 563 10 Oct 2009 LAN4 192 168 1 102 LXI 0 1192037136 no time 0 0x0 Example 4 print eventlog next Output nil Also see eventlog all on page 7 87 eventlog clear on page 7 88 eventlog count on page 7 89 eventlog enable on page 7 90 eventlog overwritemethod on page 7 91 eventlog overwritemethod This...

Page 345: ...carded when a new entry is added Example eventlog overwritemethod 0 When the log is full the event log will ignore new entries Also see eventlog all on page 7 87 eventlog clear on page 7 88 eventlog count on page 7 89 eventlog enable on page 7 90 eventlog next on page 7 90 exit This function stops a script that is presently running Type TSP Link accessible Affected by Where saved Default value Fun...

Page 346: ...s for numeric data printed with the print printbuffer and printnumber functions The format ascii precision attribute is only used with the ASCII format Note that the precision is the number of significant digits printed There is always one digit to the left of the decimal point be sure to include this digit when setting the precision Example format asciiprecision 10 x 2 54 printnumber x format asc...

Page 347: ...mat SWAPPED and format LITTLEENDIAN select the same byte order Selecting which to use is a matter of preference Select the format SWAPPED or format LITTLEENDIAN byte order when sending data to a computer with a Microsoft Windows operating system NOTE Binary formats are not intended to be human readable Example x 1 23 format data format REAL32 format byteorder format LITTLEENDIAN printnumber x form...

Page 348: ...rmat REAL format REAL32 and format REAL64 can be selected with the format byteorder attribute The IEEE Std 754 binary formats use four bytes each for single precision values and eight bytes each for double precision values When data is written with any of the binary formats the response message starts with 0 and ends with a new line When data is written with the ASCII format elements are separated...

Page 349: ...The local timezone of the instrument Details See settimezone for additional details on the time zone format and a description of the fields timeZone can be in either of the following formats If one argument was used with settimezone the format used is GMThh mm ss If four arguments were used with settimezone the format used is GMThh mm ssGMThh mm ss Mmm w dw hh mm ss Mmm w dw hh mm ss Example timez...

Page 350: ...se messages generated after processing this command are sent with the new settings If command messages are being queued sent before this command has executed the new settings may take effect in the middle of a subsequent command message so care should be exercised when setting this attribute from the GPIB interface You should allow ample time for the command to be processed before attempting to co...

Page 351: ...AN initialization will continue to run in the background Even though the LAN configuration settings may not have changed since the LAN was last connected new settings may take effect due to the dynamic nature of DHCP or DLLA configuration Re initialization takes effect even if the configuration has not changed since the last time the instrument connected to the LAN Example lan applysettings Re ini...

Page 352: ...d The IP address obtained from the DHCP server takes priority for all DNS lookups Example dnsaddress 164 109 48 173 lan config dns address 1 dnsaddress Write a DNS address of 164 109 48 173 as address 1 Set the DNS address to dnsaddress Also see lan config dns domain on page 7 99 lan config dns dynamic on page 7 100 lan config dns hostname on page 7 101 lan config dns verify on page 7 101 lan rest...

Page 353: ... accessible Affected by Where saved Default value Attribute RW Yes LAN restore defaults Nonvolatile memory lan ENABLE Usage state lan config dns dynamic lan config dns dynamic state state The dynamic DNS registration state It may be one of the following values lan ENABLE or 1 Enabled lan DISABLE or 0 Disabled Details Dynamic DNS registration works with DHCP to register the host name with the DNS s...

Page 354: ...me specified in this attribute with the DNS server The format for hostname is K model number serial number where model number and serial number are replaced with the actual model number and serial number of the instrument for example K 707B 1234567 Note that hyphens separate the characters of hostname The length of the fully qualified host name combined length of the domain and host name with sepa...

Page 355: ...e describes the LAN default gateway address Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes LAN restore defaults Nonvolatile memory 0 0 0 0 Usage gatewayAddress lan config gateway lan config gateway gatewayAddress gatewayAddress LAN default gateway address Must be a string specifying the default gateway s IP address in dotted decimal notation Details This attribute ...

Page 356: ...Models 707B and 708B Switching Matrix Reference Manual Section 7 Command reference 707B 901 01 Rev A August 2010 7 103 Also see lan status gateway on page 7 110 lan restoredefaults on page 7 107 ...

Page 357: ...tual setting currently in effect Use the lan status attributes to determine the current operating state of the LAN Example ipaddress lan config ipaddress Returns the presently set LAN IP address Also see lan restoredefaults on page 7 107 lan status ipaddress on page 7 110 lan config method This attribute describes the LAN settings configuration method Type TSP Link accessible Affected by Where sav...

Page 358: ...ttribute describes the LAN subnet mask Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes LAN restore defaults Nonvolatile memory 255 255 255 0 Usage mask lan config subnetmask lan config subnetmask mask mask LAN subnet mask value string specifying the subnet mask in dotted decimal notation Details This attribute specifies the LAN subnet mask to use when the manual con...

Page 359: ...inbound LXI packets will be ignored unless they have this domain number Example print lan lxidomain Displays the LXI domain Also see lan restoredefaults on page 7 107 lan nagle This attribute describes the use of the LAN Nagle algorithm Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes LAN restore defaults Nonvolatile memory lan ENABLE Usage state lan nagle lan nagle ...

Page 360: ...is function resets LAN settings to default values Type TSP Link accessible Affected by Where saved Default value Function Yes Usage lan restoredefaults Details The settings that are restored are shown in the following table Settings that are restored on default ICL attribute Default setting lan config dns address N 0 0 0 0 lan config dns domain lan config dns dynamic lan ENABLE lan config dns host...

Page 361: ...stem can use up to three addresses Unused or disabled entries are returned as 0 0 0 0 when read The dnsAddress returned is a string specifying the IP address of the DNS server in dotted decimal notation You can only specify two addresses manually However the instrument uses up to three DNS server addresses If two are specified only the one given by a DHCP server is used If no entries are specified...

Page 362: ...specific computer or host on the LAN The FQDN consists of two parts the host name and the domain name If the DNS host name for an instrument is not found this attribute stores the IP address in dotted decimal notation Example print lan status dns name Returns the dynamic DNS host name Also see lan config dns address N on page 7 98 lan config dns hostname on page 7 101 lan status duplex This attrib...

Page 363: ...way in dotted decimal notation Example print lan status gateway Returns the gateway address such as 10 60 8 1 Also see lan config gateway on page 7 102 lan status ipaddress This attribute reads the LAN IP address currently in use Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Not applicable Not applicable Not applicable Usage ipAddress lan status ipaddress ipAddress...

Page 364: ...hat separate the address octets see Example Example print lan status macaddress Returns the MAC address of the instrument for example 00 60 1A 00 00 57 Also see None lan status port dst This attribute reads the LAN dead socket termination port number Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Not applicable Not applicable Not applicable Usage port lan status por...

Page 365: ...CP port number used to connect the instrument and to control the instrument over a raw socket communication interface Example print lan status port rawsocket Returns the Model 707B or 708B raw socket port number such as 5 025000000e 03 Also see None lan status port telnet This attribute gets the LAN Telnet connection port number Type TSP Link accessible Affected by Where saved Default value Attrib...

Page 366: ...Not applicable Usage port lan status port vxi11 port LAN VXI 11 port number Details This attribute stores the TCP port number used to connect to the instrument over a VXI 11 interface Example print lan status port vxi11 Returns the VXI 11 number such as 1 024000000e 03 Also see None lan status speed This attribute reads the LAN speed Type TSP Link accessible Affected by Where saved Default value A...

Page 367: ...ed Default value Attribute R Yes Not applicable Not applicable Not applicable Usage mask lan status subnetmask mask A string specifying the subnet mask in dotted decimal notation Example print lan status subnetmask Returns the subnet mask of the instrument that is presently in use such as 255 255 255 0 Also see None lan trigger N assert This function simulates the occurrence of the trigger and gen...

Page 368: ...an trigger N overrun on page 7 121 lan trigger N stimulus on page 7 123 lan trigger N wait on page 7 125 lan trigger N clear This function clears the event detector for a trigger Type TSP Link accessible Affected by Where saved Default value Function Yes Usage lan trigger N clear N The trigger packet over the LAN to clear 1 to 8 Details A trigger s event detector remembers if an event has been det...

Page 369: ...ails Prepares the event generator to send event messages For TCP connections this opens the TCP connection The event generator automatically disconnects when either the lan trigger N protocol or lan trigger N ipaddress attributes for this event are changed Example lan trigger 1 protocol lan MULTICAST lan trigger 1 connect lan trigger 1 assert Set the protocol for LAN trigger 1 to be multicast when...

Page 370: ...nt number 1 to 8 Details Set to true when the LAN trigger is connected and ready to send trigger events following a successful lan trigger N connect command If the LAN trigger is not ready to send trigger events this value is set to false Set to false when either lan trigger N protocol or lan trigger N ipaddress attributes are changed or the remote connection closes the connection Example lan trig...

Page 371: ... event are changed Also see lan trigger N ipaddress on page 7 119 lan trigger N protocol on page 7 122 lan trigger N EVENT_ID This constant is the event identifier used to route the LAN trigger to other subsystems using stimulus properties Type TSP Link accessible Affected by Where saved Default value Constant Yes Usage lan trigger N EVENT_ID N The LAN event number 1 to 8 Details Set the stimulus ...

Page 372: ... 8 Details Sets the IP address for outgoing trigger events Set to 0 0 0 0 for multicast After changing this setting the lan trigger N connect command must be called before outgoing messages can be sent Example lan trigger 3 protocol lan TCP lan trigger 3 ipaddress 192 168 1 100 lan trigger 3 connect Also see lan trigger N connect on page 7 116 lan trigger N mode This attribute sets the trigger ope...

Page 373: ... positive state lan TRIG_RISINGA 3 Rising edge positive state positive state lan TRIG_RISINGM 4 Rising edge positive state positive state lan TRIG_SYNCHRONOUS 5 Falling edge negative state positive state lan TRIG_SYNCHRONOUSA 6 Falling edge negative state positive state lan TRIG_SYNCHRONOUSM 7 Rising edge positive state negative state Details lan TRIG_RISING and lan TRIG_RISINGA are the same lan T...

Page 374: ...use the event detector was already in the detected state when the event occurred This is an indication of the state of the event detector built into the synchronization line itself It does not indicate if an overrun occurred in any other part of the trigger model or in any other construct that is monitoring the event It also is not an indication of an output trigger overrun Output trigger overrun ...

Page 375: ...he designated protocol for sending outgoing messages After changing this setting lan trigger N connect must be called before outgoing event messages can be sent When the lan MULTICAST protocol is selected the ipAddress attribute is ignored and event messages are sent to the multicast address 224 0 23 159 Example print lan trigger 1 protocol Get LAN protocol to use for sending trigger messages for ...

Page 376: ...lus This attribute specifies events that cause this trigger to assert Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes System reset LAN trigger N reset Create configuration script 0 Usage triggerStimulus lan trigger N stimulus lan trigger N stimulus triggerStimulus triggerStimulus The LAN event identifier used to trigger the event N A number specifying the trigger pa...

Page 377: ...has occurred scan trigger EVENT_SCAN_READY Scan Ready Event scan trigger EVENT_SCAN_START Scan Start Event scan trigger EVENT_CHANNEL_READY Channel Ready Event scan trigger EVENT_SCAN_COMP Scan Complete Event scan trigger EVENT_IDLE Idle Event NOTE Use the EVENT_ID constant to set the stimulus attribute rather than using a numerical value for the EVENT_ID constant Doing this will make your code co...

Page 378: ...lear 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 114 lan trigger N clear on page 7 115 lan trigger N...

Page 379: ... Reads the maximum number of timers that are available for the presently active instrument Also see None localnode description This attribute stores a user defined description of the instrument Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Nonvolatile memory Instrument specific see Details Usage localnode description description description localnode description d...

Page 380: ...function may only be called when the group number of the node is different than the node of the master This function will not wait for the script to finish execution This function cannot be used on the local node It is provided for the sole purpose of executing scripts on a node from a remote master node The localnode prefix to the function listing describes how remote commands are shared between ...

Page 381: ...It is provided for the sole purpose of accessing global variables on a node from a remote master node The localnode prefix to the function listing describes how remote commands are shared between nodes rather than this command being a localnode command Example print node 5 getglobal test_val Retrieves and outputs the value of the global variable named test_val from Node 5 Also see Introduction to ...

Page 382: ...nt from a web page or other remote command interface The instrument continues to use the old password for all interactions until the command to change it executes When changing the password give the instrument time to execute the command before attempting to use the new password You cannot retrieve a lost password from any command interface The password can be reset by resetting the LAN from the f...

Page 383: ...prompting mode behind the scenes If you disable prompting use of the Test Script Builder will hang because it will be waiting for the prompt that lets it know that the command is done executing DO NOT disable prompting with the use of the Test Script Builder When used in an expanded system TSP Link localnode prompts is sent to the remote master node only Use node N prompts where N is the node numb...

Page 384: ...ails If you want to reset a specific instrument or a subordinate node use the node X reset command A local node reset includes a channel reset allslots and a scan reset In addition Other settings are restored back to factory default settings Existing channel patterns are deleted All channels are opened Example localnode reset Resets the local node Also see channel reset on page 7 43 reset on page ...

Page 385: ...e 7 132 localnode serialno This attribute stores the instrument s serial number Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Not applicable Not applicable Not applicable Usage serialno localnode serialno serialno The serial number of the instrument Details This read only attribute indicates the instrument serial number Example display clear display settext localno...

Page 386: ... the function listing describes how remote commands are shared between nodes rather than this command being a localnode command Example node 3 setglobal x 5 Sets the global variable x on Node 3 to the value of 5 Also see localnode getglobal on page 7 128 localnode showerrors This attribute sets whether or not the instrument automatically sends generated errors Type TSP Link accessible Affected by ...

Page 387: ... value Function No Usage getter makegetter table attributeName getter The return value table Read only table where the attribute is located attributeName The string name of the attribute Details This function is useful for aliasing attributes to improve execution speed Calling the function created with makegetter executes faster than accessing the attribute directly Creating a getter function is o...

Page 388: ... execute faster than accessing the attribute directly Creating a setter function is only useful if it is going to be called several times Otherwise the overhead of creating the setter function outweighs the overhead of accessing the attribute directly setRule makesetter channel connectrule r setrule channel BREAK_BEFORE_MAKE Creates a setter function called setRule When setRule is called it config...

Page 389: ...y in the overall instrument as well as the memory available for storing user scripts and channel patterns The response to this function is a single string that returns the overall instrument memory available script memory available and channel pattern memory available as comma delimited percentages Example Available memory memoryAvailable memory available print memoryAvailable Reads and returns th...

Page 390: ... store channel patterns Details Use this function to view the used memory in the overall instrument as well as the memory used for storing user scripts and channel patterns The response to this function is a single string that shows the overall instrument memory used as well as the script memory used and channel pattern memory used as comma delimited percentages Example MemUsed memory used print M...

Page 391: ...re saved Default value Function No Usage print value1 print value1 value2 print value1 valueN value1 The first argument to return value2 The second argument to return valueN The last argument to return Details TSP enabled instruments do not have inherent query commands Like any other scripting environment the print command and other related print commands generate output The print command creates ...

Page 392: ... yet completed at least to the desired index this function returns data as it becomes available When there are outstanding overlapped commands to acquire data n refers to the index that the last entry in the table will have after all the measurements have completed If you do not specify a subtable in a reading buffer default subtables are automatically used At least one table or subtable must be s...

Page 393: ...given numbers using the data format specified by format data format asciiprecision and other associated attributes At least one number must be given Example format asciiprecision 10 x 2 54 printnumber x format asciiprecision 3 printnumber x 2 54321 3 1 Output 2 540000000e 00 2 54e 00 2 54e 00 3 10e 00 Also see format asciiprecision on page 7 93 format byteorder on page 7 93 format data on page 7 9...

Page 394: ...reset true function is only permitted if the reset command sent from the controlling node If the node is not the controller sending this command generates an error Example reset true If sent from the controlling node the entire system is reset if not sent from the controlling node an error is generated Also see localnode reset on page 7 131 scan abort This function aborts a running background scan...

Page 395: ...e channels in channelList adds multiple steps to the scan If an error is encountered as channels are added to the list subsequent channels in that channel list will not be added Example 1 scan create for column 1 5 do scan add channel createspecifier 1 1 colum n end Replaces the active scan list with an empty scan list Loops through columns 1 to 5 Adds five channels to the scan list using the chan...

Page 396: ... create on page 7 146 Scanning and triggering on page 3 1 scan addimagestep This function allows you to include multiple channels in a single scan step Type TSP Link accessible Affected by Where saved Default value Function Yes Usage scan addimagestep channelList channelList String specifying a list of channels Details This function adds a list of channels to be closed simultaneously in a single s...

Page 397: ...at include multiple channels Output Init OPEN 1 STEP 1D01 CLOSE 1D01 2 STEP 1A01 1B01 1C03 OPEN 1D01 CLOSE 1A01 1B01 1C03 3 STEP 1F03 OPEN 1A01 1B01 1C03 CLOSE 1F03 4 STEP 1A03 1B03 1C03 OPEN 1F03 CLOSE 1A03 1B03 1C03 5 STEP 1A05 1B05 1C03 OPEN 1A03 1B03 CLOSE 1A05 1B05 6 STEP 1A07 1B07 1C03 OPEN 1A05 1B05 CLOSE 1A07 1B07 7 STEP 1A09 1B09 1C03 OPEN 1A07 1B07 CLOSE 1A09 1B09 Also see scan add on pa...

Page 398: ...round you must use the scan state function to check the status of the scan Example scan background Runs a scan in the background Also see scan add on page 7 142 scan create on page 7 146 scan execute on page 7 147 scan list on page 7 148 scan state on page 7 152 scan bypass This attribute indicates whether the first channel of the scan waits for the channel stimulus event to be satisfied before cl...

Page 399: ...es the existing scan list and creates a new list of channels and channel patterns to scan Type TSP Link accessible Affected by Where saved Default value Function Yes Usage scan create channelList channelList String specifying channels to add Details The existing scan list is lost after calling this function The items in channelList are scanned in the order listed If a forbidden channel is included...

Page 400: ... scan immediately in the foreground with a configured scan list Type TSP Link accessible Affected by Where saved Default value Function Yes Usage scanState scanCount stepCount scan execute scanState The result of scanning scan EMPTY or 0 scan BUILDING or 1 scan RUNNING or 2 scan ABORTED or 3 scan FAILED or 4 scan FAILED_INIT or 5 scan SUCCESS or 6 scanCount The current number of scans that have co...

Page 401: ...st Usage scanList scan list scanList This parameter is string listing the existing scan step information Details This function lists the existing scan list When changing a channel or scan attribute for an existing scan list item the scan list will be regenerated based on this change If unable to rebuild the list an error will be generated and the scan list will be lost To avoid unintentional chang...

Page 402: ...1A07 1B03 then initiate the scan list to be output Outputs the existing scan list Output Init OPEN 1 STEP 1A07 CLOSE 1A07 2 STEP 1A08 OPEN 1A07 CLOSE 1A08 3 STEP 1A09 OPEN 1A08 CLOSE 1A09 4 STEP 1A10 OPEN 1A09 CLOSE 1A10 5 STEP 1A11 OPEN 1A10 CLOSE 1A11 6 STEP 1A12 OPEN 1A11 CLOSE 1A12 7 STEP 1B01 OPEN 1A12 CLOSE 1B01 8 STEP 1B02 OPEN 1B01 CLOSE 1B02 9 STEP 1B03 OPEN 1B02 CLOSE 1B03 Also see scan ...

Page 403: ...gently see Details Details When this attribute is set to scan MODE_OPEN_ALL all channels on all slots are opened before a scan starts When this attribute is set to scan MODE_OPEN_SELECTIVE an intelligent open is performed All channels involved in scanning are opened Closed channels not involved in scanning remain closed during the scan Example scan mode scan MODE_OPEN_SELECTIVE Sets the scan mode ...

Page 404: ...n page 7 140 scan bypass on page 7 145 scan mode on page 7 150 scan scancount on page 7 151 scan trigger arm stimulus on page 7 154 scan trigger channel stimulus on page 7 157 scan scancount This attribute sets the scan count in the trigger model Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes System reset Scan reset Create configuration script 1 Usage scanCount sca...

Page 405: ...scan portion of the trigger model This number does not increment until the scan begins Therefore if the instrument is waiting for an input to trigger a scan start the scan count represents the previous number of scan iterations If no scan has yet to begin the scan count is zero 0 stepCount is the number of times the scan has completed a pass through the channel action portion of the trigger model ...

Page 406: ... steps in the active scan list The value of this attribute is initially determined when the scan is created Adding steps with the scan create scan addimagestep and scan add functions updates this attribute s value Example print scan stepcount Responds with the present step count Output assuming there are five steps in the scan list 5 0000000ee 00 Also see scan add on page 7 142 scan create on page...

Page 407: ... trigger arm set Details This function sets the arm event detector of the trigger model to the detected state Example scan trigger arm set Sets the arm event detector to the detected state Also see scan trigger arm clear on page 7 153 scan trigger arm stimulus on page 7 154 Trigger model on page 3 1 scan trigger arm stimulus This attribute determines which event starts the scan Type TSP Link acces...

Page 408: ...or either based on the configuration of the line on the tsplink trigger line lan trigger N EVENT_ID Event identifier use to route the LAN trigger to other subsystems using stimulus properties scan trigger EVENT_SCAN_READY Scan Ready Event scan trigger EVENT_SCAN_START Scan Start Event scan trigger EVENT_CHANNEL_READY Channel Ready Event scan trigger EVENT_SCAN_COMP Scan Complete Event scan trigger...

Page 409: ...nnel event detector Also see scan trigger channel set on page 7 156 scan trigger channel stimulus on page 7 157 Trigger model on page 3 1 scan trigger channel set This function sets the channel event detector to the detected state Type TSP Link accessible Affected by Where saved Default value Function Yes Usage scan trigger channel set Details This function sets the channel event detector of the t...

Page 410: ...either based on the configuration of the line on the digital input line display trigger EVENT_ID The trigger key on the front panel is pressed trigger EVENT_ID A trg message on the active command interface if GPIB is the active command interface a GET message will also generate this event trigger blender N EVENT_ID A combination of configured events has occurred trigger timer N EVENT_ID A delay ex...

Page 411: ...tart Event Also see scan trigger channel clear on page 7 156 scan trigger channel set on page 7 156 Trigger model on page 3 1 scan trigger clear This function clears the trigger model Type TSP Link accessible Affected by Where saved Default value Function Yes Usage scan trigger clear Details This function sets the arm and channel event detectors of the trigger model to the undetected state Example...

Page 412: ...laced by the commands loadscript and loadandrunscript when they are used without a name Example 1 script anonymous list Displays the content of the anonymous script Example 2 print script anonymous source Retrieves the source of the anonymous script Also see Anonymous scripts on page 6 4 scriptVar autorun on page 7 163 scriptVar list on page 7 164 scriptVar name on page 7 164 scriptVar run on page...

Page 413: ... the name that is added to the script user scripts table If name is not given an empty string will be used and the script will be unnamed If the name already exists in script user scripts the name attribute of the existing script is set to an empty string before it is replaced by the new script Also if a name is not given an empty string is used for the name Note that name is the value that is use...

Page 414: ...newautorun This function is identical to the script new function but it creates a script with the autorun attribute set to yes Type TSP Link accessible Affected by Where saved Default value Function No Usage scriptVar script newautorun code scriptVar script newautorun code name scriptVar The name of the variable that will reference the script code A string containing the body of the script name Th...

Page 415: ...me of the script to be restored Details This command copies the script from nonvolatile memory back into the runtime environment and it creates a global variable with the same name as the name of the script Example script restore test9 Restores a script named test9 from nonvolatile memory Also see script delete on page 7 159 script run This function runs the anonymous script Type TSP Link accessib...

Page 416: ...one scriptVar autorun This attribute sets a script to autorun Type TSP Link accessible Affected by Where saved Default value Attribute RW No Not applicable See Details See Details Usage scriptVar autorun state state scriptVar autorun scriptVar The name of the variable that references the script state Whether or not the script runs automatically when powered on yes Script runs automatically no Scri...

Page 417: ...efault value Function No Usage scriptVar list scriptVar The name of variable that references the script Details This function generates output in the form of a sequence of response messages one message for each line of the script It also generates output of the script control messages loadscript or loadandrunscript and endscript Example beep list Generates output for the content of the script name...

Page 418: ...pt the script can be accessed through those variables When all variables that reference an unnamed script are removed the script will be removed from the run time environment If the new name is the same as a name that is already used for another script the name of the other script is set to an empty string and that script becomes unnamed NOTE Changing the name of a script does not change the name ...

Page 419: ... scriptVar The name of variable that references the script Example test8 run Runs the script referenced by the variable test8 Also see None scriptVar save This function saves the script to nonvolatile memory Type TSP Link accessible Affected by Where saved Default value Function No Usage scriptVar save scriptVar The name of variable that references the script Example test8 save Saves the script re...

Page 420: ...he source code Example print test1 source Gets source code for a script named test1 Also see scriptVar list on page 7 164 settime This function sets the real time clock sets current time of the system Type TSP Link accessible Affected by Where saved Default value Function Yes Usage result settime time result settime hour minute second result A string representing the current time of day time The t...

Page 421: ...ssed as arguments without using os time Set the time zone before reading the time using os time or before generating a UTC time from a local time specification Example systemTime os time year 2010 month 3 day 31 hour 14 min 25 settime systemTime print settime print settime 10 10 10 Sets the date and time to Mar 31 2010 at 2 25 pm Output Wed Mar 31 14 25 05 2010 Wed Mar 31 10 10 10 2010 Also see ge...

Page 422: ...ss that indicate when daylight savings time begins and ends respectively MM is a number between 1 and 12 that represents the month w is a number between 1 and 5 that represents the week within the month dw is a number between 0 and 6 that represents the day of the week where 0 is Sunday The rest of the fields represent the time of day that the change takes effect hh represents hours mm represents ...

Page 423: ... channels on the card Type TSP Link accessible Affected by Where saved Default value Attribute R Yes Not applicable Not applicable Not applicable Usage fourPole slot X poles four fourPole The return value X Slot number 1 to 6 Details This attribute only exists if a card is installed and if the card supports four pole settings for the channels on the card If not the value is nil If supported the va...

Page 424: ...ported the value is 1 Example print slot 3 poles one Query to see if Slot 3 supports one pole settings for the channels on the card Output if card supports one pole 1 000000000e 00 Output if card does not support one pole nil Also see slot X poles four on page 7 170 slot X poles two on page 7 171 slot X poles two This attribute indicates if a two pole setting is supported for the channels on the c...

Page 425: ...r 0 for no pseudocard selection 7072 for the Model 7072 8x12 Semiconductor Matrix Card 70721 for the Model 7072 HV 8x12 High Voltage Semiconductor Matrix Card 7173 for the Model 7173 50 8x12 High Frequency 2 Pole 4x12 Matrix Card 7174 for the Model 7174A 8x12 Low Current High Speed Matrix Card X Slot number 1 to 6 Details This attribute only exists for a slot if that slot has no card installed in ...

Page 426: ...ved Default value Attribute R Yes Not applicable Not saved Not applicable Usage statusByte status condition statusByte The byte condition register s status returned as a decimal A zero 0 indicates no bits set Other decimal values indicate various bit settings Details This read only attribute s value is returned as a decimal value The binary equivalent of the value indicates which register bits are...

Page 427: ...curred Bit 5 decimal value 32 B6 Request Service RQS Master Summary Status MSS Depending on how it is used Bit B6 of the status byte register is either the Request for Service RQS bit or the Master Summary Status MSS bit status RQS When using the GPIB or VXI 11 serial poll sequence of the 707B to obtain the status byte serial poll byte B6 is the RQS bit Set bit indicates that the Request Service R...

Page 428: ...tem reset does not The binary equivalent of the value indicates which register bits are set In the binary equivalent the least significant bit is bit B0 and the most significant bit is bit B7 For example if a value of 1 29000e 02 which is 129 is read as the value of the node enable register the binary equivalent is 10000001 This value indicates that bit B0 and bit B7 are set B7 B6 B5 B4 B3 B2 B1 B...

Page 429: ... set Bit 6 decimal value 64 B7 status OPERATION_SUMMARY status OSB Set summary bit indicates that an enabled operation event has occurred Bit 7 decimal value 128 In addition to the above values nodeEnableRegister can be set to the decimal equivalent of the bit to set To set more than one bit of the register set nodeEnableRegister to the sum of their decimal weights For example to set bits B0 and B...

Page 430: ...t Value Description B0 status MEASUREMENT_SUMMARY_BIT status MSB Set summary bit indicates that an enabled measurement event has occurred Bit 0 decimal value 1 B1 Not used Not applicable B2 status ERROR_AVAILABLE status EAV Set summary bit indicates that an error or status message is present in the Error Queue Bit 2 decimal value 4 B3 status QUESTIONABLE_SUMMARY_BIT status QSB Set summary bit indi...

Page 431: ... 15 status operation These attributes manage the status model s operation register set Type TSP Link accessible Affected by Where saved Default value Attribute condition R Yes Not applicable Not saved Not applicable enable RW Yes Status reset Not saved 0 event R Yes Status reset Not saved 0 ntr RW Yes Status reset Not saved 0 ptr RW Yes Status reset Not saved 22528 All bits set Usage operationRegi...

Page 432: ... set status operation enable status MSB Bit Value Description B0 B10 Not used Not applicable B11 status PROMPTS status PRMPTS Set bit indicates that command prompts are enabled Bit 11 decimal value 2 048 B12 status USER Set bit indicates that an enabled bit in the status operation user register is set Bit 12 decimal value 4 096 B13 Not used Not applicable B14 status PROGRAM_RUNNING status PROG Set...

Page 433: ...set Not saved 0 enable RW Yes Status reset Not saved 0 event R Yes Status reset Not saved 0 ntr RW Yes Status reset Not saved 0 ptr RW Yes Status reset Not saved 32767 All bits set Usage operationRegister status operation user condition operationRegister status operation user enable operationRegister status operation user event operationRegister status operation user ntr operationRegister status o...

Page 434: ...IT0 Bit 0 decimal value 1 B1 status operation user BIT1 Bit 1 decimal value 2 B2 status operation user BIT2 Bit 2 decimal value 4 B3 status operation user BIT3 Bit 3 decimal value 8 B4 status operation user BIT4 Bit 4 decimal value 16 B5 status operation user BIT5 Bit 5 decimal value 32 B6 status operation user BIT6 Bit 6 decimal value 64 B7 status operation user BIT7 Bit 7 decimal value 128 B8 st...

Page 435: ...able These attributes manage the status model s questionable register set Type TSP Link accessible Affected by Where saved Default value Attribute condition R Yes Not applicable Not saved Not applicable enable RW Yes Status reset Not saved 0 event R Yes Status reset Not saved 0 ntr RW Yes Status reset Not saved 0 ptr RW Yes Status reset Not saved 32256 All bits set Usage quesRegister status questi...

Page 436: ...THR Bit Value Description B0 to B8 Not used Not available B9 status questionable S1THR status questionable SLOT1_THERMAL Bit 9 decimal value 512 B10 status questionable S2THR status questionable SLOT2_THERMAL Bit 10 decimal value 1 024 B11 status questionable S3THR status questionable SLOT3_THERMAL Bit 11 decimal value 2 048 B12 status questionable S4THR status questionable SLOT4_THERMAL Bit 12 de...

Page 437: ...er The request SRQ enable register s status in decimal form A zero 0 indicates no bits set also send 0 to clear all bits Other decimal values indicate various bit settings Details Although the status logical instrument reset affects these attributes a system reset does not The binary equivalent of the value indicates which register bits are set In the binary equivalent the least significant bit is...

Page 438: ... the Output Queue Bit 4 decimal value 16 B5 status EVENT_SUMMARY_BIT status ESB Set summary bit indicates that an enabled standard event has occurred Bit 5 decimal value 32 B6 Not used Not applicable B7 status OPERATION_SUMMARY status OSB Set summary bit indicates that an enabled operation event has occurred Bit 7 decimal value 128 In addition to the above values requestSRQEnableRegister can be se...

Page 439: ...cant bit Least significant bit 1 0 0 0 0 0 0 1 The returned value can indicate one or more status events occured The following table contains descriptions of the bits Bit Value Description B0 status MEASUREMENT_SUMMARY_BIT status MSB Set summary bit indicates that an enabled measurement event has occurred Bit 0 decimal value 1 B1 status SYSTEM_SUMMARY_BIT status SSB Set summary bit indicates that ...

Page 440: ...ter status request_event print requestEventRegister Reads the status request event register Sample output 1 29000e 02 Converting this output 129 to its binary equivalent yields 1000 0001 Therefore this output indicates that the set bits of the status request event register are presently B0 MSB and B7 OSB Also see status condition on page 7 173 status system on page 7 190 Status byte and service re...

Page 441: ...e standard event register s status in decimal form A zero 0 indicates no bits set also send 0 to clear all bits Other decimal values indicate various bit settings Details Although the status logical instrument reset affects these attributes a system reset does not These attributes are used to read or write to the standard event status registers They are set using a constant or a decimal value but ...

Page 442: ...alue 16 B5 status standard COMMAND_ERROR status standard CME Set bit indicates that a command error has occurred Command errors include IEEE 488 2 syntax error Instrument received a message that does not follow the defined syntax of the IEEE 488 2 standard Semantic error Instrument received a command that was misspelled or received an optional IEEE 488 2 command that is not implemented GET error T...

Page 443: ...saved Default value Attribute condition R Yes Not applicable Not saved Not applicable enable RW Yes Status reset Not saved 0 event R Yes Status reset Not saved 0 ntr RW Yes Status reset Not saved 0 ptr RW Yes Status reset Not saved 32767 All bits set Usage enableRegister status system condition enableRegister status system enable enableRegister status system event enableRegister status system ntr ...

Page 444: ...le bit to B0 of the system summary status register set status system enable status system enable EXT Bit Value Description B0 status system EXTENSION_BIT status system EXT Bit 0 decimal value 1 B1 status system NODE1 Bit 1 decimal value 2 B2 status system NODE2 Bit 2 decimal value 4 B3 status system NODE3 Bit 3 decimal value 8 B4 status system NODE4 Bit 4 decimal value 16 B5 status system NODE5 Bi...

Page 445: ...status model s TSP Link system summary register for nodes 15 through 28 Type TSP Link accessible Affected by Where saved Default value Attribute condition R Yes Not applicable Not saved Not applicable enable RW Yes Status reset Not saved 0 event R Yes Status reset Not saved 0 ntr RW Yes Status reset Not saved 0 ptr RW Yes Status reset Not saved 32767 All bits set Usage enableRegister status system...

Page 446: ...of the system summary status register set 2 set status system2 enable status system2 EXT Bit Value Description B0 status system2 EXTENSION_BIT status system2 EXT Bit 0 decimal value 1 B1 status system2 NODE15 Bit 1 decimal value 2 B2 status system2 NODE16 Bit 2 decimal value 4 B3 status system2 NODE17 Bit 3 decimal value 8 B4 status system2 NODE18 Bit 4 decimal value 16 B5 status system2 NODE19 Bi...

Page 447: ...utes manage the status model s TSP Link system summary register for nodes 29 through 42 Type TSP Link accessible Affected by Where saved Default value Attribute condition R Yes Not applicable Not saved Not applicable enable RW Yes Status reset Not saved 0 event R Yes Status reset Not saved 0 ntr RW Yes Status reset Not saved 0 ptr RW Yes Status reset Not saved 32767 All bits set Usage enableRegist...

Page 448: ... system summary status register set 3 set status system3 enable status system3 EXT Bit Value Description B0 status system3 EXTENSION_BIT status system3 EXT Bit 0 decimal value 1 B1 status system3 NODE29 Bit 1 decimal value 2 B2 status system3 NODE30 Bit 2 decimal value 4 B3 status system3 NODE31 Bit 3 decimal value 8 B4 status system3 NODE32 Bit 4 decimal value 16 B5 status system3 NODE33 Bit 5 de...

Page 449: ...utes manage the status model s TSP Link system summary register for nodes 43 through 56 Type TSP Link accessible Affected by Where saved Default value Attribute condition R Yes Not applicable Not saved Not applicable enable RW Yes Status reset Not saved 0 event R Yes Status reset Not saved 0 ntr RW Yes Status reset Not saved 0 ptr RW Yes Status reset Not saved 32767 All bits set Usage enableRegist...

Page 450: ...he system summary status register set 4 set status system4 enable status system4 enable EXT Bit Value Description B0 status system4 EXTENSION_BIT status system4 EXT Bit 0 decimal value 1 B1 status system4 NODE43 Bit 1 decimal value 2 B2 status system4 NODE44 Bit 2 decimal value 4 B3 status system4 NODE45 Bit 3 decimal value 8 B4 status system4 NODE46 Bit 4 decimal value 16 B5 status system4 NODE47...

Page 451: ...e attributes manage the status model s TSP Link system summary register for nodes 57 through 64 Type TSP Link accessible Affected by Where saved Default value Attribute condition R Yes Not applicable Not saved Not applicable enable RW Yes Status reset Not saved 0 event R Yes Status reset Not saved 0 ntr RW Yes Status reset Not saved 0 ptr RW Yes Status reset Not saved 510 Usage enableRegister stat...

Page 452: ...ter can be set to the following described values for example to set the enable bit to B1 of the system summary status register set 5 set status system5 enable status system5 NODE57 Bit Value Description B0 Not used Not applicable B1 status system5 NODE57 Bit 1 decimal value 2 B2 status system5 NODE58 Bit 2 decimal value 4 B3 status system5 NODE59 Bit 3 decimal value 8 B4 status system5 NODE60 Bit ...

Page 453: ...rns the elapsed time in seconds 1 μs resolution Details The returned resolution for time depends on how long it has been since the timer was reset It starts with 1 μs resolution and starts to lose resolution after about 2 8 minutes Example 1 timer reset time timer measure t print time Resets the timer and measures the time since the reset Output 1 469077e 01 The output will vary The above output i...

Page 454: ...asures the time since the reset Output 1 469077e 01 The above output indicates that timer measure t was executed 14 69077 seconds after timer reset Also see timer measure t on page 7 200 trigger blender N clear This function clears the blender event detector and resets blender N Type TSP Link accessible Affected by Where saved Default value Function Yes Usage trigger blender N clear N The blender ...

Page 455: ...er events from this trigger blender Also see None trigger blender N orenable This attribute selects whether the blender operates in OR mode or AND mode Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes System reset Trigger blender N reset Create configuration script false AND mode Usage orenable trigger blender N orenable trigger blender N orenable orenable orenable T...

Page 456: ...ctor that is built into the event blender itself This attribute does not indicate if an overrun occurred in any other part of the trigger model or in any other trigger object that is monitoring the event It also is not an indication of an action overrun Example print trigger blender 1 overrun If an event was ignored the output is true If the event was not ignored the output is false Also see trigg...

Page 457: ...r event The eventID parameter may be one of the existing trigger event IDs shown in the following table Trigger event IDs Trigger event ID Description digio trigger N EVENT_ID An edge either rising falling or either based on the configuration of the line on the digital input line display trigger EVENT_ID The trigger key on the front panel is pressed trigger EVENT_ID A trg message on the active com...

Page 458: ...ine 3 or 5 Set the trigger blender 1 event to start a scan Also see trigger blender N reset on page 7 203 trigger blender N wait This function waits for a blender trigger event to occur Type TSP Link accessible Affected by Where saved Default value Function Yes Usage triggered trigger blender N wait timeout triggered Trigger detection indication for blender N The trigger blender 1 or 2 on which to...

Page 459: ... the trigger event has not happend then false is returning after the timeout expires Also see trigger blender N clear on page 7 201 trigger clear This function clears the command interface trigger event detector Type TSP Link accessible Affected by Where saved Default value Function No Usage trigger clear Details The trigger event detector indicates if an event has been detected since the last tri...

Page 460: ...ails This function sets the timer event detector to the undetected state and resets the overrun indicator Also see trigger timer N count on page 7 207 trigger timer N count This attribute sets the number of events to generate each time the timer is triggered Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes System reset Trigger timer N reset Create configuration scrip...

Page 461: ... System reset Trigger timer N reset Create configuration script 10e 6 Usage interval trigger timer N delay trigger timer N delay interval interval Delay interval in seconds N Trigger timer number 1 to 4 Details Each time the timer is triggered it uses this delay period Assigning a value to this attribute is equivalent to trigger timer N delaylist interval This creates a delay list of one value Rea...

Page 462: ... from the array After all elements in the array have been used the delays restart at the beginning of the list Example trigger timer 3 delaylist 50e 6 100e 6 150e 6 DelayList trigger timer 3 delaylist for x 1 table getn DelayList do print DelayList x end Set a delay list on trigger timer 3 with three delays 50 µs 100 µs and 150 µs Read the delay list on trigger timer 3 Output assuming the list was...

Page 463: ...eset Trigger timer N reset Not applicable false Usage overrun trigger timer N overrun overrun Trigger overrun state N Trigger timer value 1 to 4 Details This attribute indicates if an event was ignored because the event detector was already in the detected state when the event occurred This is an indication of the state of the event detector built into the timer itself It does not indicate if an o...

Page 464: ...rigger timer number 1 to 4 Details When enabled triggers are passed through immediately and initiate the delay When disabled a trigger only initiates a delay Also see trigger timer N reset on page 7 211 trigger timer N reset This function resets some of the trigger timer settings to their factory defaults Type TSP Link accessible Affected by Where saved Default value Function Yes Usage trigger tim...

Page 465: ...er may be one of the trigger event IDs shown in the following table Trigger event IDs Trigger event ID Description digio trigger N EVENT_ID An edge either rising falling or either based on the configuration of the line on the digital input line display trigger EVENT_ID The trigger key on the front panel is pressed trigger EVENT_ID A trg message on the active command interface If GPIB is the active...

Page 466: ...by Where saved Default value Function Yes Usage triggered trigger timer N wait timeout triggered Trigger detection indication N Trigger timer number 1 to 4 timeout Maximum amount of time in seconds to wait for the trigger Details If one or more trigger events were detected since the last time trigger timer N wait or trigger timer N clear was called this function returns immediately After waiting f...

Page 467: ...11 device_trigger method is invoked VXI 11 only A TRG message is received If one or more of these trigger events were previously detected this function returns immediately After waiting for a trigger with this function the event detector is automatically reset and rearmed This is true regardless of the number of events detected Example triggered trigger wait 10 print triggered Waits up to 10 secon...

Page 468: ...eNumber tsplink master masterNodeNumber The node number of the master node Also see None tsplink node This attribute defines the node number Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes Not applicable Nonvolatile memory 2 Usage nodeNumber tsplink node tsplink node nodeNumber nodeNumber Set node to a number 1 to 64 Details This attribute sets the TSP Link node num...

Page 469: ...le data tsplink readbit 3 print data Assume Line 3 is set high and it is then read Output 1 000000e 00 Also see tsplink readport on page 7 216 tsplink writebit on page 7 226 tsplink readport This function reads the TSP Link synchronization lines as a digital I O port Type TSP Link accessible Affected by Where saved Default value Function Yes Usage data tsplink readport data Numeric value returned ...

Page 470: ...em expectedNodes The number of nodes expected on the system between 1 and 64 Details This function erases all knowledge of other nodes connected on the TSP Link and regenerates the system configuration This function must be called at least once before any remote nodes can be accessed If the node number for any instrument is changed the TSP Link must be initialized again If expectedNodes is not giv...

Page 471: ...e Example state tsplink state print state Read the state of the TSP Link If it is online the output is online Also see tsplink node on page 7 215 tsplink reset on page 7 217 tsplink trigger N assert This function simulates the occurrence of the trigger and generates the corresponding event ID Type TSP Link accessible Affected by Where saved Default value Function Yes Usage tsplink trigger N assert...

Page 472: ... been detected since the last tsplink trigger N wait call This function clears a trigger event detector discards the previous history of the trigger line and clears the tsplink trigger N overrun attribute Example tsplink trigger 2 clear Clears trigger event on synchronization Line 2 Also see tsplink trigger N mode on page 7 220 tsplink trigger N overrun on page 7 221 tsplink trigger N release on p...

Page 473: ...ne The setting for mode can be one of the following values Mode values Mode Number value Description tsplink TRIG_BYPASS 0 Allows direct control of the line as a digital I O line tsplink TRIG_FALLING 1 Detects falling edge triggers as input Asserts a TTL low pulse for output tsplink TRIG_RISING 2 If the programmed state of the line is high the tsplink TRIG_RISING mode behaves similar to tsplink TR...

Page 474: ...e mode stores the trigger mode as a numeric value when the attribute is read To control the line state use the tsplink TRIG_BYPASS mode with the tsplink writebit and the tsplink writeport commands Example tsplink trigger 3 mode tsplink TRIG_RISINGM Sets the trigger mode for the synchronization Line 3 to tsplink TRIG_RISINGM Also see digio writebit on page 7 64 digio writeport on page 7 65 tsplink ...

Page 475: ...igger N mode on page 7 220 tsplink trigger N release on page 7 223 tsplink trigger N reset on page 7 223 tsplink trigger N stimulus on page 7 224 tsplink trigger N wait on page 7 225 tsplink trigger N pulsewidth This attribute the length of time that the trigger line is asserted for output triggers Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes System reset TSP Lin...

Page 476: ... trigger Line 3 Also see tsplink trigger N assert on page 7 218 tsplink trigger N clear on page 7 219 tsplink trigger N mode on page 7 220 tsplink trigger N overrun on page 7 221 tsplink trigger N pulsewidth on page 7 222 tsplink trigger N stimulus on page 7 224 tsplink trigger N wait on page 7 225 tsplink trigger N reset This function resets some of the TSP Link trigger settings to their factory ...

Page 477: ...ript control Use tsplink trigger N assert instead The eventID parameter may be one of the existing trigger event IDs shown in the following table Trigger event IDs Trigger event ID Description digio trigger N EVENT_ID An edge either rising falling or either based on the configuration of the line on the digital input line display trigger EVENT_ID The trigger key on the front panel is pressed trigge...

Page 478: ...e timeout period False A trigger is not detected during the timeout period N The trigger line 1 to 3 timeout The timeout value in seconds Details This function waits up to the timeout value for an input trigger If one or more trigger events were detected since the last time tsplink trigger N wait or tsplink trigger N clear was called this function returns immediately After waiting for a trigger wi...

Page 479: ... The reset function does not affect the present states of the digital I O lines Example tsplink writebit 3 0 Sets synchronization Line 3 low 0 Also see tsplink readbit on page 7 216 tsplink readport on page 7 216 tsplink writeport on page 7 226 tsplink writeport This function writes to all TSP Link synchronization lines Type TSP Link accessible Affected by Where saved Default value Function Yes Us...

Page 480: ...the write protect mask that protects bits from changes by the tsplink writebit and tsplink writeport functions Type TSP Link accessible Affected by Where saved Default value Attribute RW Yes System reset Create configuration script 0 Usage mask tsplink writeprotect tsplink writeprotect mask mask Specifies the value of the bit pattern for write protect bits set to 1 to write protect the correspondi...

Page 481: ...eturned from tspnet connect Details This function clears any pending output data from the device No data is returned to the caller and no data is processed Example tspnet write mydevice print hello print tspnet readavailable mydevice tspnet clear mydevice print tspnet readavailable mydevice Write data to device print how much is available Output 6 0000000e 000 Clear data and print how much data is...

Page 482: ...ny extra processing prompt handling error handling or sending of commands Additionally the tspnet tsp commands cannot be used on devices that are not TSP enabled If neither a portNumber nor an initString is provided the remote device is assumed to be a Keithley Instruments TSP enbled device Depending on the state of tspnet tsp abortonconnect the Model 707B or 708B sends an abort command to the rem...

Page 483: ...spnet disconnect connectionID connectionID The connection ID returned from tspnet connect Details This function disconnects the two devices by closing the connection The connectionID is the session handle returned by tspnet connect For TSP enabled devices this aborts any remotely running commands or scripts Example testID tspnet connect 192 0 2 0 Use the connection tspnet disconnect testID Create ...

Page 484: ...ctionID The configured termination sequence is added to commandString when it is sent to the device tspnet termination When formatString is specified the command waits for a return string from the device The Model 707B or 708B decodes the output string according to the format specified in formatString and returns this output string as arguments from the function When this command is sent to a TSP ...

Page 485: ...e 7 229 tspnet disconnect on page 7 230 tspnet read This function reads data from a remote device Type TSP Link accessible Affected by Where saved Default value Function Yes Usage results tspnet read connectionID results tspnet read connectionID formatString value1 tspnet read connectionID value1 tspnet read connectionID formatString value1 value2 tspnet read connectionID formatString value1 value...

Page 486: ...ces any errors received from the remote device into its own error queue The Model 707B or 708B prefaces errors from the remote device with Remote Error and follows this with the error number and error description Example tspnet write myID idn r n print write read returns tspnet read myID Send the idn r n message to the device connected as myID Display the response that is read from myID based on t...

Page 487: ...nds that will create data Wait for data to be available Also see tspnet connect on page 7 229 tspnet disconnect on page 7 230 tspnet reset This function disconnects all TSP Net sessions Type TSP Link accessible Affected by Where saved Default value Function Yes Usage tspnet reset Details This command disconnects all devices connected through TSP Net For TSP enabled devices this causes any commands...

Page 488: ...quence Details This function sets and gets the termination character sequence that is used to indicate the end of a line for a TSP Net connection Using the termSequence parameter sets the termination sequence The present termination sequence is always returned There are four possible combinations all of which are made up of line feeds LF or 0x10 and carriage returns CR or 0x13 For TSP enabled devi...

Page 489: ... tspnet connect tspnet execute and tspnet read commands will wait for a response The time is specified in seconds The timeout may contain fractional seconds but is only accurate to the nearest 10 ms Example tspnet timeout 2 0 Sets the timeout duration to two seconds Also see tspnet connect on page 7 229 tspnet execute on page 7 230 tspnet read on page 7 232 tspnet tsp abort This function stops rem...

Page 490: ...an abort message when it attempts to connect using tspnet connect to a TSP enabled instrument When you send the abort command on an interface it causes any other active interface on that instrument to close If you do not issue an abort command or if tspnet tsp abortonconnect is set to 0 and another interface is active connecting to a TSP device results in a connection However the instrument will n...

Page 491: ...synchronous table to copy startIndex Integer start value endIndex Integer end value Details This function reads the data from a reading buffer on a remote instrument and returns an array of numbers or a string representing the data startIndex and endIndex specify the portion of the reading buffer to read If no index is specified the entire buffer is copied This command is limited to transferring 5...

Page 492: ... runs it It automatically adds the appropriate loadscript and endscript commands around the script captures any errors and reads back any prompts No additional substitutions are done on the text The script is automatically loaded compiled and run Any output from previous commands is discarded This command does not wait for the script to complete To load only and run at a later time make sure the s...

Page 493: ...e inputString must contain any necessary new lines termination or other syntax elements needed to complete properly Example tspnet write myID runscript r n Commands the remote instrument to run script named myID Also see tspnet connect on page 7 229 tspnet disconnect on page 7 230 tspnet read on page 7 232 userstring add This function adds a user defined string to nonvolatile memory Type TSP Link ...

Page 494: ... name of the string the key of the key value pair Details The catalog provides access for userstring pairs allowing you to manipulate all the key value pairs in nonvolatile memory The entries are enumerated in no particular order Example 1 for name in userstring catalog do userstring delete name end Deletes all user strings in nonvolatile memory Example 2 for name in userstring catalog do print na...

Page 495: ...rstring delete product userstring delete contact Deletes the user defined strings associated with the assetnumber product and contact names Also see userstring add on page 7 240 userstring catalog on page 7 241 userstring get on page 7 242 userstring get This function retrieves a user defined string from nonvolatile memory Type TSP Link accessible Affected by Where saved Default value Function Yes...

Page 496: ... commands implemented However other TSP enabled products like the Series 2600A SourceMeter Instruments have overlapped commands Therefore when the Model 707B or 708B is a TSP master to a subordinate device with overlapped commands use this function to wait until all overlapped operations are completed A group number may only be specified from the master node If no group is specified the local grou...

Page 497: ......

Page 498: ... messages This section includes information on error levels and how to read errors Error summary Error and status messages are assigned a level of severity as listed in the table below Severity level descriptions Number Level Description 0 Informational Indicates that there are no entries in the queue 10 Informational Indicates a status message or minor error 20 Recoverable Indicates possible inva...

Page 499: ... message severity and node for that error errorCode message severity errorNode errorqueue next print errorcode message severity errorNode The following table lists the commands associated with the error queue ICL commands associated with the error queue Command Description errorqueue clear on page 7 85 Clear error queue of all errors errorqueue count on page 7 86 Number of messages in the error qu...

Page 500: ...g guide 707B 901 01 Rev A August 2010 8 3 Figure 93 Device Manager dialog box showing USB Test and Measurement Device 3 Right click the device 4 Select Properties 5 Select the Driver tab 6 Click Driver Details 7 Verify that the device driver is the winusb sys driver from Microsoft ...

Page 501: ...nstalled click OK 9 On the Driver tab click Update Driver 10 Browse for the driver select the C windows inf folder and you should see the winusb inf file Select this and make sure the driver is now in use 11 If this does not work uninstall VISA unplug the instrument and follow the steps to reinstall VISA in the section Modifying repairing or removing Keithley I O Layer software on page 2 64 ...

Page 502: ...eout errors If your GPIB controller is recognized by the operating system but you get a timeout error when you try to communicate with the instrument check the following 1 Confirm that the GPIB address you assigned to the instrument is unique and between the range of 0 to 30 It should not be 0 or 21 because they are common controller addresses 2 Check cabling connection GPIB cables are heavy and c...

Page 503: ... network administration utility that you can use to test whether a particular host can be reached across an Internet Protocol IP network It also measures the round trip time for packets sent from the local host to a destination computer including the local host s own interfaces To run Ping 1 From the Windows Start menu type cmd in the Run box or Search box The Command window is displayed 2 At the ...

Page 504: ...nt specific web pages the web page prompts you to install it To do this your computer must have access to the Internet so it can access the web browser plug in Sun Java Runtime Environment Version 6 or higher Installation files are available at the Java download site http www java com en download manual jsp When you connect to the instrument web page for the first time several things can happen If...

Page 505: ...nu option on the front panel that will put all the LAN settings back to known defaults If you cannot communicate with your instrument perform this reset The instrument is returned to DHCP and Auto IP enabled If you set your computer to match you should be able to use a discovery tool to determine the IP address and communicate with the instrument again Also check the LAN status indicator to verify...

Page 506: ...ment WireShark WireShark is an open source LAN packet sniffer You can run it to spy on all the packets going across a network It allows you to filter what you spy on so that you can narrow the content down to just what you are interested in For example you could check just web page packets http or all packets being sent by a device on a certain IP address See the WireShark documentation for inform...

Page 507: ...AY TEST LED PATTERNS The text ALPH NUMERIC COL LEDS is displayed 2 Press the navigation wheel to display first test The name of the test is displayed on the bottom display 3 After each test press the navigation wheel to move to the next test 4 On the last tests STEP COL GRIP LED WHEEL TO DIAL use the navigation wheel to check the matrix LEDs and the slot LEDs 5 When you have viewed the patterns pr...

Page 508: ... revision The serial number is on the rear panel of the instrument You can also use the front panel MENU option to display the serial number and firmware version To display serial number or firmware revision on the front panel 1 If the Model 707B or 708B is in remote mode press the EXIT LOCAL key once to place the instrument in local mode 2 Press the MENU key 3 Use the navigation wheel to scroll t...

Page 509: ...ds print slot X idn Where X slot number from 1 to 6 for Model 707B or 1 for Model 708B Example To get a list of all switching cards installed in the slots of a Model 707B send the following command over the remote command interface for x 1 6 do print slot x idn end The response will be similar to the following 7174 8x12 Fast Low I Matrix 01 00a Module Serial Number 7072 8x12 Semi Matrix 01 00a Mod...

Page 510: ...n interfaces on page 4 4 Why can t I close a channel The channel might be set to be forbidden to close To check the forbidden state of a channel from the front panel 1 Display a channel you might need to press DISPLAY 2 Use the navigation wheel to select the channel you want to check 3 Press CONFIG then press CHAN 4 Select FORBID 5 Press ENTER 6 Yes and No are displayed The current selection blink...

Page 511: ... getforbidden on page 7 30 channel setforbidden on page 7 45 How do I know if an error has occurred on my instrument If you are using TSB Embedded error messages are displayed in the Instrument Output box when they occur If you are using another remote interface you might need to use commands to retrieve the error messages You can use the commands errorqueue count on page 7 86 and errorqueue next ...

Page 512: ...l MENU option to display the serial number and firmware version To display serial number or firmware revision on the front panel 1 If the Model 707B or 708B is in remote mode press the EXIT LOCAL key once to place the instrument in local mode 2 Press the MENU key 3 Use the navigation wheel to scroll to the UNIT INFO menu 4 Press the ENTER key On the UNIT INFORMATION menu scroll to the SERIAL or FI...

Page 513: ......

Page 514: ...te information from the website you can access The Knowledge Center which contains the following handbooks The Low Level Measurements Handbook Precision DC Current Voltage and Resistance Measurements Switching Handbook A Guide to Signal Switching in Automated Test Systems Application notes Updated drivers Information on related products including Switch cards including the Models 7072 7072 HV 7173...

Page 515: ......

Page 516: ...on message is displayed Select the appropriate option 6 Locate the file 7 Click Open A progress dialog box is displayed When the upgrade begins the front panel display will also display the progress During the upgrade you will see messages that indicate that the connection has been lost This is normal 8 To complete the upgrade the instrument power must be cycled If not done automatically at the en...

Page 517: ...If the fan is not operating contact Keithley Instruments See Contacting support on page 8 11 Fuse replacement The fuses on the Model 707B or 708B are located on the rear panel of the instrument as shown below Replacement fuses are listed in the following table Replacement fuses Model Rating Keithley Instruments part number 707B 250V dual 2 0A slow blow Two FU 106 2 0 708B 250V 1 0A slow blow One F...

Page 518: ...se continues to blow a circuit malfunction exists and must be corrected See Contacting support on page 8 11 Figure 96 707B fuse location LAN TSP Link R LINE FUSE SLOWBLOW LINE RATING 2 0A 250V 100 240VAC 50 60Hz 210VA MAX Power connection Fuse module CAUTION REFER TO SAFETY INSTRUCTIONS IN MANUAL BEFORE CONNECTING TO EXTERNAL HAZARDOUS VOLTAGES 42V Figure 97 708B fuse module location MADE IN U S A...

Page 519: ......

Page 520: ...ne of two options when enabling Model 707A or 708A DDC compatibility mode 70xA VERSION This option most closely matches Model 707A or 708A operation Use this version if you are transferring applications directly from a Model 707A or 708A with few changes 70xB VERSION This options provides enhanced operation including error checking and more robust settling time operation Use this version if you ar...

Page 521: ...ors When using code from an older switch model be aware that timing problems could be introduced into the system Digital interface When you are using Model 707A or 708A compatibility mode the digital I O is fixed as follows Digital input Digital I O lines 1 to 6 Digital output Digital I O lines 7 to 12 External trigger Digital I O line 13 Matrix ready Digital I O line 14 Refer to Digital I O port ...

Page 522: ...anel key Only Model 707A This command has no effect and does not issue an error message when used In Insert blank setup None Jn Self test There is no self test for the Models 707B and 708B Kn EOI and hold off Actual ready and matrix ready signals may have different timing characteristics The Ready signal on the Model 707B or 708B includes the relay settle time The Models 707A and 708A could hold o...

Page 523: ...e physical interface specifications see digital input output difference For U8 the test relay is not supported and always reads 15 Vabcdefgh Make before break None Wabcdefgh Break before make None cmd X Execute None Yn Change line terminate None Zm n Copy setup None space Model and version Sending a space only in a message causes the unit to return the model and version number idn Unit identificat...

Page 524: ...egisters and queues you can view and control various instrument events Commands included in your test program can determine if a service request SRQ event has occurred and the cause of the event The heart of the status model is the Status Byte Register All status model registers and queues eventually flow into the Status Byte Register As a programmer you are in full control of all enable registers...

Page 525: ...y register Status register sets Typically a status register set contains the following registers Condition condition a read only register that constantly updates to reflect the present operating conditions of the instrument Enable register enable a read write register that allows a summary bit to be set when an enabled event occurs Event register event a read only register that sets a bit to 1 whe...

Page 526: ...d is sent the response message is placed in the output queue When data is placed in the output queue the Message Available MAV bit in the status byte register is set A response message is cleared from the output queue when it is read The output queue is considered cleared when it is empty An empty output queue clears the MAV bit in the status byte register A message is read from the output queue b...

Page 527: ...e Bit A single bit indicating one or more enabled events occured Performs a logical AND of input bits with the result feeding the Summary Message Bit Bit not used returns a value of 0 when read System Node enable status node_enable 0 6 5 3 4 2 1 7 To node X in a system summary register system through system 5 The X refers to the user assigned TSP link node number Expanded system TSP link This regi...

Page 528: ... Bit EXT Node 15 NODE15 Node 28 NODE29 Node 27 NODE27 Node 26 NODE26 Node 25 NODE25 Node 24 NODE24 Node 23 NODE23 Node 22 NODE22 Node 21 NODE21 Node 20 NODE 20 Node 19 NODE19 Node 18 NODE18 Node 17 NODE17 Node 16 NODE16 Node 57 NODE57 Node 64 NODE64 Node 63 NODE63 Node 62 NODE62 Node 61 NODE61 Node 60 NODE60 Node 59 NODE59 Node 58 NODE58 Extension Bit EXT Node 43 NODE43 Node 56 NODE56 Node 55 NODE...

Page 529: ...tatus system3 on page 7 194 status system4 on page 7 196 and status system5 on page 7 198 For example any of the following commands will set the EXT enable bit status system enable status system EXT status system enable status system EXTENSION_BIT status system enable 1 When reading a register a numeric value is returned The binary equivalent of this value indicates which bits in the register are ...

Page 530: ...e Error queue is considered cleared when it is empty 4 An empty Error queue clears the EAV bit in the Status Byte Register The commands to control the Error queue are listed below When you read a single message in the Error queue the oldest message is read and then removed from the queue On power up the Error queue is initially empty If there are problems detected during power on entries will be p...

Page 531: ...or details see Programming enable and transition registers on page C 13 For example any of the following statements will set the thermal aspect enable bit of a card in slot 1 status questionable enable status questionable S1THR status questionable enable status questionable SLOT1_THERMAL status questionable enable 512 The following command will request the questionable enable register value in num...

Page 532: ...ent register See the Event Summary Bit in the Status Byte register overview 0 6 5 3 4 2 1 7 Event Summary Bit status standard event status standard enable Legend Summary Message Bit A single bit indicating one or more enabled events occured Performs a logical AND of input bits with the result feeding the Summary Message Bit Bit not used returns a value of 0 when read status standard OPC status sta...

Page 533: ...error The instrument received a Group Execute Trigger GET inside a program message Bit B6 User Request URQ Set bit indicates that the LOCAL key on the instrument front panel was pressed Bit B7 Power ON PON Set bit indicates that the instrument has been turned off and turned back on since the last time this register has been read Master summary status bit MSS bit register The master summary status ...

Page 534: ...not used returns a value of 0 when read Summary bit from the applicable register status PROMPTS User bit status USER status INSTRUMENT_SUMMARY status PROGRAM_RUNNING The bits used in this register set are described as follows Bits B1 B10 Not used Bit B11 Remote Summary REM Set bit indicates that an enabled in the Operation Status Remote Summary Register is set Bit B12 User USER Set bit indicates t...

Page 535: ...ND of input bits with the result feeding the Summary Message Bit Bit not used returns a value of 0 when read The bits used in this register set are described as follows Bits B0 B14 status operation user BIT0 through status operation user BIT14 Bits B15 Not used Status function summary The following functions and attributes control and read the various registers Additional information is included i...

Page 536: ...r will be set Other bits will be set appropriately based on the system s power on configuration All enable registers enable will be set to 0 All negative transition registers ntr will be set to 0 All used positive transition registers ptr bits will be set to 1 The two queues will be empty Programming and reading registers Programming enable and transition registers The only registers that can be p...

Page 537: ...bove figure For example to set bits B0 B4 B7 and B10 a decimal value of 1169 would be used for the mask parameter 1169 1 16 128 1024 Reading registers Any register in the status structure can be read either by sending the common command query where applicable or by including the script command for that register in either the print or print tostring command The print command returns a numeric value...

Page 538: ...est This register is programmed by the user and is used to enable or disable the setting of Bit B6 RQS MSS by the Status Summary Message bits B0 B1 B2 B3 B4 B5 and B7 of the Status Byte Register As shown in Status byte register on page C 16 a logical AND operation is performed on the summary bits with the corresponding enable bits of the Service Request Enable Register When a logical AND operation...

Page 539: ...et the ESB bit in the Status Byte Register Status byte and service request SRQ Figure 105 Status byte and service request SRQ Service Request Enable Register Status Summary Message Read by Serial Poll Read by STB or print status condition OSB Operation Summary Bit RQS Request for Service MSS Master Summary Status Mav Message Available ESB Event Summary Bit EAV Error Available QSB Questionable Summ...

Page 540: ...g and SRQ on page C 17 for details on using the serial poll sequence When using the STB common command or status condition Status byte and service request commands on page C 18 to read the status byte B6 is the MSS bit Bit B7 Operation Summary OSB Set summary bit indicates that an enabled operation event has occurred Serial polling and SRQ Any enabled event summary bit that goes from 0 to 1 will s...

Page 541: ...ds The commands to program and read the Status Byte register and Service Request Enable register are listed in Status byte and service request commands on page C 18 Note that the table includes both common commands and their script command equivalents For details on programming and reading registers see Programming enable and transition registers on page C 13 and Reading registers on page C 14 To ...

Page 542: ...are summarized in the Status register sets which are summarized in the Status Byte register overview on page C 4 For example either of the following will set the system node QSB enable bit status node_enable status QSB status node_enable 8 TSP Link system status The TSP Link is an expansion interface that allows the instruments to communicate with each other The test system can be expanded to incl...

Page 543: ...e SRQ 6 When your program performs the next serial poll of the Master Node it will detect the interlock event and can branch to a routine to service the request NOTE The System Summary Registers are shared by all nodes in the TSP Link system When a bit in a system register of Node 15 sets the same bit in the master node system register also sets The following commands sent from the master node ena...

Page 544: ...ble S1THR status system2 enable status system enable status request_enable status system event status system2 event Questionable enable Questionable event 1 2 B9 B9 QSB EXT System node enable Status Byte condition Subordinate Node 15 status registers System2 summary event System2 enable Shared system summary registers Available to all TSP Link nodes Master Node Status byte and service request SRQ ...

Page 545: ......

Page 546: ... beeper 5 4 7 9 beeper functions and attributes beeper enable 7 9 bit See index Boolean value 7 16 field 7 13 index 7 11 7 12 7 13 7 14 7 15 7 16 toggle 7 17 weighted value bit 7 12 bit functions 7 9 7 10 7 11 7 12 7 13 7 14 7 15 7 16 7 17 7 67 bit bitand 7 9 bit bitor 7 10 bit bitxor 7 11 bit clear 7 11 bit get 7 12 bit getfield 7 13 bit set 7 14 bit setfield 7 15 bit test 7 16 bit toggle 7 17 bi...

Page 547: ... gettype 7 35 channel open 7 35 channel pattern catalog 7 37 channel pattern delete 7 38 channel pattern getimage 7 38 channel pattern setimage 7 39 channel pattern snapshot 7 41 channel reset 7 43 channel setdelay 7 44 channel setforbidden 7 45 channel setlabel 7 46 channel setlabelcolumn 7 47 channel setlabelrow 7 49 channel patterns 2 99 clear 7 67 7 228 bit clear See bit clear close close chan...

Page 548: ...wait 7 64 digio writebit 7 64 digio writeprotect 7 66 digiowriteport 7 65 Digital I O lines 2 8 port 2 7 Digital I O port 5V output 2 8 Bit weighting 2 9 Display DISPLAY key 2 18 Model 707B front panel 2 12 Model 708B front panel 2 12 display functions and attributes display clear 7 67 display getannunciators 7 67 display getcursor 7 68 display getlastkey 7 69 display gettext 7 70 display inputval...

Page 549: ...pt 6 57 variable assignment 5 3 exit functions exit 7 92 F falling edge trigger mode 3 14 foreground scan execution 3 7 format attributes format asciiprecision 7 93 format byteorder 7 93 format data 7 94 front panel display 2 15 2 18 2 20 keys 2 18 2 19 Model 707B front panel 2 12 Model 708B front panel 2 12 scanning 3 6 functions 6 19 G get 7 12 7 13 7 27 7 28 7 29 7 30 7 31 7 32 7 33 7 34 7 35 7...

Page 550: ... 108 lan status dns name 7 109 lan status duplex 7 109 lan status gateway 7 110 lan status ipaddress 7 110 lan status macaddress 7 111 lan status port dst 7 111 lan status port rawsocket 7 112 lan status port telnet 7 112 lan status port vxi11 7 113 lan status speed 7 113 lan status subnetmask 7 114 lan trigger N assert 7 114 lan trigger N clear 7 115 lan trigger N connect 7 116 lan trigger N conn...

Page 551: ...10 loop control 6 25 M Make Before Break 2 89 makegetter functions makegetter 7 134 makesetter 7 135 master node 7 140 master node overview 6 50 master trigger mode rising edge 3 15 3 18 math library functions 6 33 matrix card notation 2 88 Memory functions memory available 7 135 memory used 7 137 modules identify installed 2 93 multiple units connecting 6 45 6 46 6 49 N named scripts overview 6 4...

Page 552: ... C 14 Serial polling and SRQ C 17 Service request enable C 15 relay closure count 2 93 Reset digio trigger N reset 7 62 lan reset 7 107 localnode reset 7 131 reset 7 140 scan reset 7 150 status reset 7 187 timer reset 7 201 rising edge acceptor trigger mode 3 15 master trigger mode 3 15 trigger mode 3 15 RJ 45 Ethernet connector 2 4 run time environment script restoring 6 41 S safety precautions 1...

Page 553: ...pt new 7 160 script restore 7 162 script run 7 166 script user catalog 7 163 scriptVar autorun 7 163 scriptVariable list 7 164 scriptVariable name 7 164 scriptVariable save 7 166 scriptVariable source 7 167 scripts autoexec 6 8 autorun scripts 6 7 deleting 6 43 error effects 8 2 examples 6 57 function using 6 21 interactive 6 3 name attribute 7 164 named 6 4 6 7 parallel test running 6 52 restorin...

Page 554: ...system 7 190 status system2 7 192 status system3 7 194 status system4 7 196 status system5 7 198 status model C 1 Clearing registers and queues C 13 Programming registers and queues C 13 Queues C 3 Status byte and SRQ C 2 C 15 Status register sets C 2 TSP Link system C 19 status register sets C 2 step counts 3 4 string library functions 6 31 style 7 68 7 81 substring 6 31 synchronous acceptor trig...

Page 555: ... 3 19 either edge 3 16 falling edge 3 14 rising edge acceptor 3 15 rising edge master 3 15 synchronous 3 20 synchronous acceptor 3 19 synchronous master 3 18 trigger model components 3 3 described 3 1 TSP advanced features 6 45 installing software 6 35 tsplink function and attributes tsplink group 7 214 tsplink master 7 215 tsplink node 7 215 tsplink readbit 7 216 tsplink readport 7 216 tsplink re...

Page 556: ... idn 7 232 tspnet read 7 232 tspnet readavailable 7 233 tspnet reset 7 234 tspnet termination 7 235 tspnet timeout 7 236 tspnet tsp abort 7 236 tspnet tsp abortonconnect 7 237 tspnet tsp rbtablecopy 7 238 tspnet tsp runscript 7 239 tspnet write 7 240 U unnamed scripts 6 7 user scripts creating alternative 6 4 modifying 6 10 running 6 6 userstring functions 6 50 userstring add 7 240 userstring cata...

Page 557: ......

Page 558: ...DIES PROVIDED HEREIN ARE BUYER S SOLE AND EXCLUSIVE REMEDIES NEITHER KEITHLEY INSTRUMENTS INC NOR ANY OF ITS EMPLOYEES SHALL BE LIABLE FOR ANY DIRECT INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF ITS INSTRUMENTS AND SOFTWARE EVEN IF KEITHLEY INSTRUMENTS INC HAS BEEN ADVISED IN ADVANCE OF THE POSSIBILITY OF SUCH DAMAGES SUCH EXCLUDED DAMAGES SHALL INCLUDE BUT ARE NO...

Page 559: ... of Keithley Instruments Inc All other trademarks and trade names are the property of their respective companies A G R E A T E R M E A S U R E O F C O N F I D E N C E Keithley Instruments Inc Corporate Headquarters 28775 Aurora Road Cleveland Ohio 44139 440 248 0400 Fax 440 248 6168 1 888 KEITHLEY www keithley com ...

Reviews: