Skip to content

Commit 75215c8

Browse files
committed
fix: change examples to reflect default IP
1 parent bc9f157 commit 75215c8

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Example usage
3232
3333
with ScpiClient() as client:
3434
# open a UDP socket
35-
client.open_udp("192.168.1.70")
35+
client.open_udp("192.168.1.100")
3636
3737
# get general device information
3838
id = client.get_device_id()

absscpi/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ class ScpiClient:
144144
.. code-block:: python
145145
146146
with ScpiClient() as client:
147-
client.open_udp("192.168.1.70")
147+
client.open_udp("192.168.1.100")
148148
client.set_cell_voltage(0, 2.3)
149149
client.enable_cell(0, True)
150150
# give the cell time to settle

examples/ip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def set_ip_demo(port: str, dev_id: int, ip: str, netmask: str):
5252
'get', help="query the ABS's IP address")
5353

5454
parser_set = subparsers.add_parser('set', help="set the ABS's IP address")
55-
parser_set.add_argument('ip', help='IPv4 address, e.g., 192.168.1.70')
55+
parser_set.add_argument('ip', help='IPv4 address, e.g., 192.168.1.100')
5656
parser_set.add_argument(
5757
'netmask', nargs='?', default='255.255.255.0',
5858
help='optional subnet mask, e.g., 255.255.255.0')

0 commit comments

Comments
 (0)