Skip to content

Commit df537fa

Browse files
committed
Update 4200A Examples
Remove IP addresses, remove duplicate file and update instrcomms links in readmes
1 parent e5a6be1 commit df537fa

File tree

12 files changed

+12
-58
lines changed

12 files changed

+12
-58
lines changed

Instrument_Examples/Model_4200A/KXCI_Examples/CVIV/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Requirements
88
* KXCI terminal setup: String Terminator = None, Reading Delimiter= String Terminator, Set to ethernet mode
99
* KXCI Configuration (set within KCON): TH, String Terminator = None, Reading Terminator = String Terminator
1010
* Python: Version 3.6 or later
11-
* Dependencies: **[instrcomms.py](https://github.com/tektronix/keithley/blob/main/Instrument_Examples/General/Instrument_Communication_Resouces/instrcomms.py)**, time, pyVISA
11+
* Dependencies: **[instrcomms.py](../../../General/Instrument_Communication_Resouces/instrcomms.py)**, time, pyVISA
1212
* Optional dependencies (Need for the code to run, but can be modified to run with it. All lines are marked where these can be removed) plotly.express, pandas
1313

1414
## Directory

Instrument_Examples/Model_4200A/KXCI_Examples/CVU/System Mode/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Requirements
88
* KXCI terminal setup: String Terminator = None, Reading Delimiter= String Terminator, Set to ethernet mode
99
* KXCI Configuration (set within KCON): TH, String Terminator = None, Reading Terminator = String Terminator
1010
* Python: Version 3.6 or later
11-
* Dependencies: **[instrcomms.py](https://github.com/tektronix/keithley/blob/main/Instrument_Examples/General/Instrument_Communication_Resouces/instrcomms.py)**, time, pyVISA
11+
* Dependencies: **[instrcomms.py](../../../../General/Instrument_Communication_Resouces/instrcomms.py)**, time, pyVISA
1212
* Optional dependencies (Need for the code to run, but can be modified to run with it. All lines are marked where these can be removed) plotly.express, pandas
1313

1414
## Directory

Instrument_Examples/Model_4200A/KXCI_Examples/CVU/User Mode/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Requirements
88
* KXCI terminal setup: String Terminator = None, Reading Delimiter= String Terminator, Set to ethernet mode
99
* KXCI Configuration (set within KCON): TH, String Terminator = None, Reading Terminator = String Terminator
1010
* Python: Version 3.6 or later
11-
* Dependencies: **[instrcomms.py](https://github.com/tektronix/keithley/blob/main/Instrument_Examples/General/Instrument_Communication_Resouces/instrcomms.py)**, pyVISA
11+
* Dependencies: **[instrcomms.py](../../../../General/Instrument_Communication_Resouces/instrcomms.py)**, pyVISA
1212

1313
## Directory
1414

Instrument_Examples/Model_4200A/KXCI_Examples/PMU/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ All of the code was written in python, and requires python 3.6 to run, and it wa
44

55
The KXCI terminal setup is as follows: String Terminator = None, Reading Delimiter= String Terminator, Set to ethernet mode.
66

7-
Required dependencies: Instrcomms, time, and pyvisa
7+
Required dependencies: **[instrcomms](../../../General/Instrument_Communication_Resouces/instrcomms.py)**, time, and pyvisa
88
Optional dependencies (Need for the code to run, but can be modified to run with it. All lines are marked where these can be removed)
99
plotly.express, pandas, plotly.graph_objects (used in 4 chan sync test, 4 chan sync test segarb, pmu segarb b, pmu segarb complete, pulse vds-id prelim test LLEC), plotly_subplot (used in pmu segarb b)
1010

11-
Instrcomms can be found at the following link: https://github.com/tektronix/keithley/blob/main/Instrument_Examples/General/Instrument_Communication_Resouces/instrcomms.py
12-
1311
The KXCI configuration, as set within KCON, used to create these scripts was: ETH, String Terminator = None, Reading Terminator = String Terminator. If these settings are not configured the same, the scripts may fail.
1412

1513
-35V to 35V without plotting:

Instrument_Examples/Model_4200A/KXCI_Examples/PMU/pmu segarb b without plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from instrcomms import Communications
1010
import time
1111

12-
INST_RESOURCE_STR = "TCPIP0::134.63.74.151::1225::SOCKET" # instrument resource string, obtained from NI MAX
12+
INST_RESOURCE_STR = "TCPIP0::192.0.2.0::1225::SOCKET" # instrument resource string, obtained from NI MAX
1313

1414
my4200 = Communications(INST_RESOURCE_STR) # opens the resource manager in PyVISA with the corresponding instrument resource string
1515
my4200.connect() # opens connections to the 4200A-SCS

Instrument_Examples/Model_4200A/KXCI_Examples/PMU/pmu_scope_annotated.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import time
88
from instrcomms import Communications
99

10-
INST_RESOURCE_STR = "TCPIP0::134.63.74.187::1225::SOCKET" #establish ethernet connection with the 4200A - change address based your IP address
10+
INST_RESOURCE_STR = "TCPIP0::192.0.2.0::1225::SOCKET" #establish ethernet connection with the 4200A - change address based your IP address
1111
pmuWave = Communications(INST_RESOURCE_STR)
1212
pmuWave.connect()
1313
pmuWave._instrument_object.write_termination = "\0"
@@ -22,4 +22,4 @@
2222
pmuWave.query("PO1, 1, 0") #set output in normal mode
2323
pmuWave.query("PG1, 0, 5") #Trigger mode, 5 pulse burst
2424
pmuWave.query("PO1, 0, 0") #set output off
25-
##send as a single wave on the MSO before executing the code
25+
##send as a single wave on the MSO before executing the code

Instrument_Examples/Model_4200A/KXCI_Examples/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
These examples are for external control of the 4200A with the KXCI application running on it and using a PC. For more information on how to set up and use KXCI for remote control of the 4200A, see the application note **[Controlling the Keithley 4200A-SCS Parameter Analyzer Using the External Control Interface (KXCI) and Python 3](https://www.tek.com/en/documents/application-note/controlling-the-4200a-scs-parameter-analyzer-using-kxci-and-python-3)**
44

5+
## Dependencies
6+
Many of these examples require our instrumentation communication utility file to be included in your folder: **[instrcomms.py](../../General/Instrument_Communication_Resouces/instrcomms.py)**
7+
58
## Directory
69

710
* **[CVU Examples](./CVU/)**

Instrument_Examples/Model_4200A/KXCI_Examples/SMU/System Mode/Linear sweep copy.py

Lines changed: 0 additions & 47 deletions
This file was deleted.

Instrument_Examples/Model_4200A/KXCI_Examples/SMU/System Mode/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Requirements
88
* KXCI terminal setup: String Terminator = None, Reading Delimiter= String Terminator, Set to ethernet mode
99
* KXCI Configuration (set within KCON): TH, String Terminator = None, Reading Terminator = String Terminator
1010
* Python: Version 3.6 or later
11-
* Dependencies: **[instrcomms.py](https://github.com/tektronix/keithley/blob/main/Instrument_Examples/General/Instrument_Communication_Resouces/instrcomms.py)**, time, pyVISA
11+
* Dependencies: **[instrcomms.py](../../../../General/Instrument_Communication_Resouces/instrcomms.py)**, time, pyVISA
1212
* Optional dependencies (Need for the code to run, but can be modified to run with it. All lines are marked where these can be removed) plotly.express, pandas
1313

1414
## Directory

0 commit comments

Comments
 (0)